﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.OracleClient;
using System.Text;
namespace INTEX.DataBase.Tools
{
    public partial class INTEXDBC
    {
        #region====Get Column=========
        /*
select '+"'||t.column_name||'=:'||t.column_name||',"' as  "UPDATE ABFOLGE SET" from user_tab_columns t
        where t.table_name='ABFOLGE' ORDER BY COLUMN_ID
GO
select ' or1.Parameters.Add("'||t.column_name||'", OracleType.NVarChar).Value = dwData["'||t.column_name||'"].ToString();' from user_tab_columns t
          where t.table_name='WTPASS' ORDER BY COLUMN_ID
GO
        */
        #endregion
        #region======A==============
        public void UpdateABARTE(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE ABARTE SET "
                    + "ABEMANDANT=:ABEMANDANT,"
                    + "ABEAUFKRS=:ABEAUFKRS,"
                    + "ABEAUFLFD=:ABEAUFLFD,"
                    + "ABEAUFPOS=:ABEAUFPOS,"
                    + "ABEAFOLGE=:ABEAFOLGE,"
                    + "ABEAEVOR=:ABEAEVOR,"
                    + "ABEMODNR=:ABEMODNR,"
                    + "ABEEINSTNR=:ABEEINSTNR,"
                    + "ABEWERTX=:ABEWERTX,"
                    + "ABEWERTN=:ABEWERTN,"
                    + "ABEPROGNR=:ABEPROGNR,"
                    + "ABEEINAUS=:ABEEINAUS,"
                    + "ABEREZEPTKZ=:ABEREZEPTKZ,"
                    + "ABEREZEPTNR=:ABEREZEPTNR,"
                    + "ABEREZEPTST=:ABEREZEPTST,"
                    + "ABEWERKZ=:ABEWERKZ,"
                    + "ABEFAKTOR=:ABEFAKTOR,"
                    + "ABESTAKZ=:ABESTAKZ,"
                    + "ABEMODEIN=:ABEMODEIN,"
                    + "ABEIWERTX=:ABEIWERTX,"
                    + "ABEIWERTN=:ABEIWERTN,"
                    + "ABENEUBEN=:ABENEUBEN,"
                    + "ABENEUDAT=:ABENEUDAT,"
                    + "ABEPFLKZ=:ABEPFLKZ,"
                    + "ABEDRUCKKZ=:ABEDRUCKKZ,"
                    + "ABERUEKZ=:ABERUEKZ,"
                    + "ABEREZPOS=:ABEREZPOS,"
                    + "ABEMETHODE=:ABEMETHODE,"
                    + "ABEMWERT=:ABEMWERT,"
                    + "ABEMESCHL=:ABEMESCHL,"
                    + "ABEFILLER=:ABEFILLER "
                    + " WHERE  "
                    + "  ABEMANDANT=:ABEMANDANT AND ABEAUFKRS=:ABEAUFKRS AND ABEAUFLFD=:ABEAUFLFD AND ABEAUFPOS=:ABEAUFPOS AND ABEAFOLGE=:ABEAFOLGE"
                    + "  AND ABEAEVOR=:ABEAEVOR AND ABEMODNR=:ABEMODNR AND ABEEINSTNR=:ABEEINSTNR";
            or1.Parameters.Add("ABEMANDANT", OracleType.NVarChar).Value = dwData["ABEMANDANT"].ToString();
            or1.Parameters.Add("ABEAUFKRS", OracleType.NVarChar).Value = dwData["ABEAUFKRS"].ToString();
            or1.Parameters.Add("ABEAUFLFD", OracleType.NVarChar).Value = dwData["ABEAUFLFD"].ToString();
            or1.Parameters.Add("ABEAUFPOS", OracleType.NVarChar).Value = dwData["ABEAUFPOS"].ToString();
            or1.Parameters.Add("ABEAFOLGE", OracleType.NVarChar).Value = dwData["ABEAFOLGE"].ToString();
            or1.Parameters.Add("ABEAEVOR", OracleType.NVarChar).Value = dwData["ABEAEVOR"].ToString();
            or1.Parameters.Add("ABEMODNR", OracleType.NVarChar).Value = dwData["ABEMODNR"].ToString();
            or1.Parameters.Add("ABEEINSTNR", OracleType.NVarChar).Value = dwData["ABEEINSTNR"].ToString();
            or1.Parameters.Add("ABEWERTX", OracleType.NVarChar).Value = dwData["ABEWERTX"].ToString();
            or1.Parameters.Add("ABEWERTN", OracleType.NVarChar).Value = dwData["ABEWERTN"].ToString();
            or1.Parameters.Add("ABEPROGNR", OracleType.NVarChar).Value = dwData["ABEPROGNR"].ToString();
            or1.Parameters.Add("ABEEINAUS", OracleType.NVarChar).Value = dwData["ABEEINAUS"].ToString();
            or1.Parameters.Add("ABEREZEPTKZ", OracleType.NVarChar).Value = dwData["ABEREZEPTKZ"].ToString();
            or1.Parameters.Add("ABEREZEPTNR", OracleType.NVarChar).Value = dwData["ABEREZEPTNR"].ToString();
            or1.Parameters.Add("ABEREZEPTST", OracleType.NVarChar).Value = dwData["ABEREZEPTST"].ToString();
            or1.Parameters.Add("ABEWERKZ", OracleType.NVarChar).Value = dwData["ABEWERKZ"].ToString();
            or1.Parameters.Add("ABEFAKTOR", OracleType.NVarChar).Value = dwData["ABEFAKTOR"].ToString();
            or1.Parameters.Add("ABESTAKZ", OracleType.NVarChar).Value = dwData["ABESTAKZ"].ToString();
            or1.Parameters.Add("ABEMODEIN", OracleType.NVarChar).Value = dwData["ABEMODEIN"].ToString();
            or1.Parameters.Add("ABEIWERTX", OracleType.NVarChar).Value = dwData["ABEIWERTX"].ToString();
            or1.Parameters.Add("ABEIWERTN", OracleType.NVarChar).Value = dwData["ABEIWERTN"].ToString();
            or1.Parameters.Add("ABENEUBEN", OracleType.NVarChar).Value = dwData["ABENEUBEN"].ToString();
            or1.Parameters.Add("ABENEUDAT", OracleType.NVarChar).Value = dwData["ABENEUDAT"].ToString();
            or1.Parameters.Add("ABEPFLKZ", OracleType.NVarChar).Value = dwData["ABEPFLKZ"].ToString();
            or1.Parameters.Add("ABEDRUCKKZ", OracleType.NVarChar).Value = dwData["ABEDRUCKKZ"].ToString();
            or1.Parameters.Add("ABERUEKZ", OracleType.NVarChar).Value = dwData["ABERUEKZ"].ToString();
            or1.Parameters.Add("ABEREZPOS", OracleType.NVarChar).Value = dwData["ABEREZPOS"].ToString();
            or1.Parameters.Add("ABEMETHODE", OracleType.NVarChar).Value = dwData["ABEMETHODE"].ToString();
            or1.Parameters.Add("ABEMWERT", OracleType.NVarChar).Value = dwData["ABEMWERT"].ToString();
            or1.Parameters.Add("ABEMESCHL", OracleType.NVarChar).Value = dwData["ABEMESCHL"].ToString();
            or1.Parameters.Add("ABEFILLER", OracleType.NVarChar).Value = dwData["ABEFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateABAUFM(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE ABAUFM SET "
                + "ABAMANDANT=:ABAMANDANT,"
                + "ABAAUFTYP=:ABAAUFTYP,"
                + "ABAAUFKRS=:ABAAUFKRS,"
                + "ABAAUFLFD=:ABAAUFLFD,"
                + "ABAAUFPOS=:ABAAUFPOS,"
                + "ABAAPOS=:ABAAPOS,"
                + "ABAERLKZ=:ABAERLKZ,"
                + "ABARESMG=:ABARESMG,"
                + "ABASANZSTK=:ABASANZSTK,"
                + "ABASSTKLG=:ABASSTKLG,"
                + "ABASSTKLGV=:ABASSTKLGV,"
                + "ABASSTKLGB=:ABASSTKLGB,"
                + "ABASSTKGEW=:ABASSTKGEW,"
                + "ABASSTKGEWV=:ABASSTKGEWV,"
                + "ABASSTKGEWB=:ABASSTKGEWB,"
                + "ABASSTKBRT=:ABASSTKBRT,"
                + "ABASSTKBRTV=:ABASSTKBRTV,"
                + "ABASSTKBRTB=:ABASSTKBRTB,"
                + "ABAIANZSTK=:ABAIANZSTK,"
                + "ABAIZENSUR1=:ABAIZENSUR1,"
                + "ABAIZENSURKZ1=:ABAIZENSURKZ1,"
                + "ABAIZENSUR2=:ABAIZENSUR2,"
                + "ABAIZENSURKZ2=:ABAIZENSURKZ2,"
                + "ABAIGESLGZS1=:ABAIGESLGZS1,"
                + "ABAIGESLGZS2=:ABAIGESLGZS2,"
                + "ABASTDPOS=:ABASTDPOS,"
                + "ABASFERTKZ=:ABASFERTKZ,"
                + "ABAUEBKZ=:ABAUEBKZ,"
                + "ABAUMAILKZ=:ABAUMAILKZ,"
                + "ABASGESLG=:ABASGESLG,"
                + "ABASGESGEW=:ABASGESGEW,"
                + "ABASME=:ABASME,"
                + "ABAFRMG=:ABAFRMG,"
                + "ABARSTSLG=:ABARSTSLG,"
                + "ABARSTSGEW=:ABARSTSGEW,"
                + "ABAMINUSLG=:ABAMINUSLG,"
                + "ABAMINUSGEW=:ABAMINUSGEW,"
                + "ABALEAPOS=:ABALEAPOS,"
                + "ABAPOOL=:ABAPOOL,"
                + "ABARESFLAG=:ABARESFLAG,"
                + "ABAVKAUFTYP=:ABAVKAUFTYP,"
                + "ABAVKAUFKRS=:ABAVKAUFKRS,"
                + "ABAVKAUFLFD=:ABAVKAUFLFD,"
                + "ABAVKAUFPOS=:ABAVKAUFPOS,"
                + "ABAVKUPOS=:ABAVKUPOS,"
                + "ABAVB=:ABAVB,"
                + "ABAVG=:ABAVG,"
                + "ABAZUPRIO=:ABAZUPRIO,"
                + "ABASTKNEUTR=:ABASTKNEUTR,"
                + "ABARESPROG=:ABARESPROG,"
                + "ABARESBEN=:ABARESBEN,"
                + "ABARESDAT=:ABARESDAT,"
                + "ABARESZEIT=:ABARESZEIT,"
                + "ABARVSACHB=:ABARVSACHB,"
                + "ABARKUNDNR=:ABARKUNDNR,"
                + "ABARBISDAT=:ABARBISDAT,"
                + "ABAVLVB=:ABAVLVB,"
                + "ABAVLVG=:ABAVLVG,"
                + "ABAVLSACHB=:ABAVLSACHB,"
                + "ABAVLGEGEN=:ABAVLGEGEN,"
                + "ABAPRKUNDNR=:ABAPRKUNDNR,"
                + "ABAPRAUFKRS=:ABAPRAUFKRS,"
                + "ABAPRAUFLFD=:ABAPRAUFLFD,"
                + "ABAPRAUFPOS=:ABAPRAUFPOS,"
                + "ABAGENEHM=:ABAGENEHM,"
                + "ABAGSACHB=:ABAGSACHB,"
                + "ABALIEFNR=:ABALIEFNR,"
                + "ABAVSACHB=:ABAVSACHB,"
                + "ABAVSTKNR=:ABAVSTKNR,"
                + "ABAVERSWEG=:ABAVERSWEG,"
                + "ABAMVERSDAT=:ABAMVERSDAT,"
                + "ABAWVDAT=:ABAWVDAT,"
                + "ABGENDAT=:ABGENDAT,"
                + "ABAGENNR=:ABAGENNR,"
                + "ABAGENNAME=:ABAGENNAME,"
                + "ABAGENWEG=:ABAGENWEG,"
                + "ABAZUSTK=:ABAZUSTK,"
                + "ABAZULG=:ABAZULG,"
                + "ABAOPTKZ=:ABAOPTKZ,"
                + "ABAMAFZST=:ABAMAFZST,"
                + "ABAPART1=:ABAPART1,"
                + "ABAPARTST1=:ABAPARTST1,"
                + "ABAPART2=:ABAPART2,"
                + "ABAPARTST2=:ABAPARTST2,"
                + "ABAPART3=:ABAPART3,"
                + "ABAPARTST3=:ABAPARTST3,"
                + "ABAPART4=:ABAPART4,"
                + "ABAPARTST4=:ABAPARTST4,"
                + "ABAPART5=:ABAPART5,"
                + "ABAPARTST5=:ABAPARTST5,"
                + "ABAPART6=:ABAPART6,"
                + "ABAPARTST6=:ABAPARTST6,"
                + "ABAPART7=:ABAPART7,"
                + "ABAPARTST7=:ABAPARTST7,"
                + "ABAPART8=:ABAPART8,"
                + "ABAPARTST8=:ABAPARTST8,"
                + "ABAPART9=:ABAPART9,"
                + "ABAPARTST9=:ABAPARTST9,"
                + "ABAPART10=:ABAPART10,"
                + "ABAPARTST10=:ABAPARTST10,"
                + "ABASZENSUR=:ABASZENSUR,"
                + "ABASZENSURKZ=:ABASZENSURKZ,"
                + "ABAKUTLSTK=:ABAKUTLSTK,"
                + "ABABAHNKZ=:ABABAHNKZ,"
                + "ABAWDUPOS=:ABAWDUPOS,"
                + "ABABAHNEN=:ABABAHNEN,"
                + "ABATEILKZ=:ABATEILKZ,"
                + "ABAKUNDNRU=:ABAKUNDNRU,"
                + "ABAWERKU=:ABAWERKU,"
                + "ABAABTU=:ABAABTU,"
                + "ABAARTU=:ABAARTU,"
                + "ABAVARU=:ABAVARU,"
                + "ABADESSU=:ABADESSU,"
                + "ABACOLORITU=:ABACOLORITU,"
                + "ABAFARBEU=:ABAFARBEU,"
                + "ABABESCHU=:ABABESCHU,"
                + "ABAFARBBEZU=:ABAFARBBEZU,"
                + "ABAANZ1=:ABAANZ1,"
                + "ABALAENGE1=:ABALAENGE1,"
                + "ABABREITE1=:ABABREITE1,"
                + "ABAANZ2=:ABAANZ2,"
                + "ABALAENGE2=:ABALAENGE2,"
                + "ABABREITE2=:ABABREITE2,"
                + "ABAANZ3=:ABAANZ3,"
                + "ABALAENGE3=:ABALAENGE3,"
                + "ABABREITE3=:ABABREITE3,"
                + "ABAANZ4=:ABAANZ4,"
                + "ABALAENGE4=:ABALAENGE4,"
                + "ABABREITE4=:ABABREITE4,"
                + "ABAANZ5=:ABAANZ5,"
                + "ABALAENGE5=:ABALAENGE5,"
                + "ABABREITE5=:ABABREITE5,"
                + "ABAVERSDAT=:ABAVERSDAT,"
                + "ABAVATYP=:ABAVATYP,"
                + "ABAANZORG=:ABAANZORG,"
                + "ABAANZKOP=:ABAANZKOP,"
                + "ABAVERSART=:ABAVERSART,"
                + "ABASPED=:ABASPED,"
                + "ABALIEFKD=:ABALIEFKD,"
                + "ABAVERSKD=:ABAVERSKD,"
                + "ABAADRSLL=:ABAADRSLL,"
                + "ABAVAKZ=:ABAVAKZ,"
                + "ABALIEFKOMP=:ABALIEFKOMP,"
                + "ABATEILNR=:ABATEILNR,"
                + "ABAVDPKZ=:ABAVDPKZ,"
                + "ABATPMA=:ABATPMA,"
                + "ABABOXMAX=:ABABOXMAX,"
                + "ABABOXANZ=:ABABOXANZ,"
                + "ABALGEBNR=:ABALGEBNR,"
                + "ABANKGEB=:ABANKGEB,"
                + "ABAIFEUCHTE=:ABAIFEUCHTE,"
                + "ABAKUNDNR=:ABAKUNDNR,"
                + "ABASTKNR=:ABASTKNR,"
                + "ABAPARTIE=:ABAPARTIE,"
                + "ABAPARTIEKZ=:ABAPARTIEKZ,"
                + "ABAKDPARTIE=:ABAKDPARTIE,"
                + "ABAKDAUFTNR=:ABAKDAUFTNR,"
                + "ABAKDAUFDAT=:ABAKDAUFDAT,"
                + "ABAMAART=:ABAMAART,"
                + "ABASTKLFDNR=:ABASTKLFDNR,"
                + "ABAAUFMSL=:ABAAUFMSL,"
                + "ABAZUSAM=:ABAZUSAM,"
                + "ABAPACKTYP=:ABAPACKTYP,"
                + "ABATAX=:ABATAX,"
                + "ABAHUELSE=:ABAHUELSE,"
                + "ABAWOBST=:ABAWOBST,"
                + "ABAWICKL=:ABAWICKL,"
                + "ABAFDRES=:ABAFDRES,"
                + "ABAKF=:ABAKF,"
                + "ABANRVERG=:ABANRVERG,"
                + "ABASTKNRKRS=:ABASTKNRKRS,"
                + "ABASUFFART=:ABASUFFART,"
                + "ABATRENNZ=:ABATRENNZ,"
                + "ABALAENGEU=:ABALAENGEU,"
                + "ABALAENGES=:ABALAENGES,"
                + "ABASCHRITW=:ABASCHRITW,"
                + "ABAFUELLZ=:ABAFUELLZ,"
                + "ABAASSCHNIT=:ABAASSCHNIT,"
                + "ABAETITYP=:ABAETITYP,"
                + "ABAANZRET=:ABAANZRET,"
                + "ABAKDETKZ=:ABAKDETKZ,"
                + "ABADOPPEL=:ABADOPPEL,"
                + "ABALOAN=:ABALOAN,"
                + "ABALBAN=:ABALBAN,"
                + "ABALPAN=:ABALPAN,"
                + "ABAAUFBKZAN=:ABAAUFBKZAN,"
                + "ABALOA2=:ABALOA2,"
                + "ABALBA2=:ABALBA2,"
                + "ABALPA2=:ABALPA2,"
                + "ABAABKZA2=:ABAABKZA2,"
                + "ABAPKL=:ABAPKL,"
                + "ABABEM1=:ABABEM1,"
                + "ABABEM2=:ABABEM2,"
                + "ABAMRKM1=:ABAMRKM1,"
                + "ABAMRKM2=:ABAMRKM2,"
                + "ABAMRKM3=:ABAMRKM3,"
                + "ABAKZNTO=:ABAKZNTO,"
                + "ABAFESP=:ABAFESP,"
                + "ABADIAUFKRS=:ABADIAUFKRS,"
                + "ABADIAUFLFD=:ABADIAUFLFD,"
                + "ABADIAUFPOS=:ABADIAUFPOS,"
                + "ABADILG=:ABADILG,"
                + "ABADIGEW=:ABADIGEW,"
                + "ABADISTK=:ABADISTK,"
                + "ABADISLG=:ABADISLG,"
                + "ABADISGEW=:ABADISGEW,"
                + "ABABA=:ABABA,"
                + "ABAASGESLG=:ABAASGESLG,"
                + "ABAASGESGEW=:ABAASGESGEW,"
                + "ABAPNRKRS=:ABAPNRKRS,"
                + "ABAPLFDNR=:ABAPLFDNR,"
                + "ABAGKREGEL=:ABAGKREGEL,"
                + "ABAPROVOR=:ABAPROVOR,"
                + "ABAPRSFE=:ABAPRSFE,"
                + "ABAWSCHTXT=:ABAWSCHTXT,"
                + "ABAVORSGEL=:ABAVORSGEL,"
                + "ABASELVL=:ABASELVL,"
                + "ABASELVR=:ABASELVR,"
                + "ABAKOLL=:ABAKOLL,"
                + "ABAVKART=:ABAVKART,"
                + "ABAVKFARBE=:ABAVKFARBE,"
                + "ABAGBEDKZ=:ABAGBEDKZ,"
                + "ABADL=:ABADL,"
                + "ABAKDPARTKZ=:ABAKDPARTKZ,"
                + "ABAFILLER=:ABAFILLER,"
                + "ABAAENDZL=:ABAAENDZL,"
                + "ABAAENDBEN=:ABAAENDBEN,"
                + "ABAAENDDAT=:ABAAENDDAT,"
                + "ABANEUBEN=:ABANEUBEN,"
                + "ABANEUDAT=:ABANEUDAT"
                + " WHERE  "
                + "  ABAMANDANT=:ABAMANDANT AND ABAAUFTYP=:ABAAUFTYP  AND ABAAUFKRS=:ABAAUFKRS AND ABAAUFLFD=:ABAAUFLFD AND ABAAUFPOS=:ABAAUFPOS AND ABAAPOS=:ABAAPOS ";

            or1.Parameters.Add("ABAMANDANT", OracleType.NVarChar).Value = dwData["ABAMANDANT"].ToString();
            or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = dwData["ABAAUFTYP"].ToString();
            or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
            or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
            or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
            or1.Parameters.Add("ABAAPOS", OracleType.NVarChar).Value = dwData["ABAAPOS"].ToString();
            or1.Parameters.Add("ABAERLKZ", OracleType.NVarChar).Value = dwData["ABAERLKZ"].ToString();
            or1.Parameters.Add("ABARESMG", OracleType.NVarChar).Value = dwData["ABARESMG"].ToString();
            or1.Parameters.Add("ABASANZSTK", OracleType.NVarChar).Value = dwData["ABASANZSTK"].ToString();
            or1.Parameters.Add("ABASSTKLG", OracleType.NVarChar).Value = dwData["ABASSTKLG"].ToString();
            or1.Parameters.Add("ABASSTKLGV", OracleType.NVarChar).Value = dwData["ABASSTKLGV"].ToString();
            or1.Parameters.Add("ABASSTKLGB", OracleType.NVarChar).Value = dwData["ABASSTKLGB"].ToString();
            or1.Parameters.Add("ABASSTKGEW", OracleType.NVarChar).Value = dwData["ABASSTKGEW"].ToString();
            or1.Parameters.Add("ABASSTKGEWV", OracleType.NVarChar).Value = dwData["ABASSTKGEWV"].ToString();
            or1.Parameters.Add("ABASSTKGEWB", OracleType.NVarChar).Value = dwData["ABASSTKGEWB"].ToString();
            or1.Parameters.Add("ABASSTKBRT", OracleType.NVarChar).Value = dwData["ABASSTKBRT"].ToString();
            or1.Parameters.Add("ABASSTKBRTV", OracleType.NVarChar).Value = dwData["ABASSTKBRTV"].ToString();
            or1.Parameters.Add("ABASSTKBRTB", OracleType.NVarChar).Value = dwData["ABASSTKBRTB"].ToString();
            or1.Parameters.Add("ABAIANZSTK", OracleType.NVarChar).Value = dwData["ABAIANZSTK"].ToString();
            or1.Parameters.Add("ABAIZENSUR1", OracleType.NVarChar).Value = dwData["ABAIZENSUR1"].ToString();
            or1.Parameters.Add("ABAIZENSURKZ1", OracleType.NVarChar).Value = dwData["ABAIZENSURKZ1"].ToString();
            or1.Parameters.Add("ABAIZENSUR2", OracleType.NVarChar).Value = dwData["ABAIZENSUR2"].ToString();
            or1.Parameters.Add("ABAIZENSURKZ2", OracleType.NVarChar).Value = dwData["ABAIZENSURKZ2"].ToString();
            or1.Parameters.Add("ABAIGESLGZS1", OracleType.NVarChar).Value = dwData["ABAIGESLGZS1"].ToString();
            or1.Parameters.Add("ABAIGESLGZS2", OracleType.NVarChar).Value = dwData["ABAIGESLGZS2"].ToString();
            or1.Parameters.Add("ABASTDPOS", OracleType.NVarChar).Value = dwData["ABASTDPOS"].ToString();
            or1.Parameters.Add("ABASFERTKZ", OracleType.NVarChar).Value = dwData["ABASFERTKZ"].ToString();
            or1.Parameters.Add("ABAUEBKZ", OracleType.NVarChar).Value = dwData["ABAUEBKZ"].ToString();
            or1.Parameters.Add("ABAUMAILKZ", OracleType.NVarChar).Value = dwData["ABAUMAILKZ"].ToString();
            or1.Parameters.Add("ABASGESLG", OracleType.NVarChar).Value = dwData["ABASGESLG"].ToString();
            or1.Parameters.Add("ABASGESGEW", OracleType.NVarChar).Value = dwData["ABASGESGEW"].ToString();
            or1.Parameters.Add("ABASME", OracleType.NVarChar).Value = dwData["ABASME"].ToString();
            or1.Parameters.Add("ABAFRMG", OracleType.NVarChar).Value = dwData["ABAFRMG"].ToString();
            or1.Parameters.Add("ABARSTSLG", OracleType.NVarChar).Value = dwData["ABARSTSLG"].ToString();
            or1.Parameters.Add("ABARSTSGEW", OracleType.NVarChar).Value = dwData["ABARSTSGEW"].ToString();
            or1.Parameters.Add("ABAMINUSLG", OracleType.NVarChar).Value = dwData["ABAMINUSLG"].ToString();
            or1.Parameters.Add("ABAMINUSGEW", OracleType.NVarChar).Value = dwData["ABAMINUSGEW"].ToString();
            or1.Parameters.Add("ABALEAPOS", OracleType.NVarChar).Value = dwData["ABALEAPOS"].ToString();
            or1.Parameters.Add("ABAPOOL", OracleType.NVarChar).Value = dwData["ABAPOOL"].ToString();
            or1.Parameters.Add("ABARESFLAG", OracleType.NVarChar).Value = dwData["ABARESFLAG"].ToString();
            or1.Parameters.Add("ABAVKAUFTYP", OracleType.NVarChar).Value = dwData["ABAVKAUFTYP"].ToString();
            or1.Parameters.Add("ABAVKAUFKRS", OracleType.NVarChar).Value = dwData["ABAVKAUFKRS"].ToString();
            or1.Parameters.Add("ABAVKAUFLFD", OracleType.NVarChar).Value = dwData["ABAVKAUFLFD"].ToString();
            or1.Parameters.Add("ABAVKAUFPOS", OracleType.NVarChar).Value = dwData["ABAVKAUFPOS"].ToString();
            or1.Parameters.Add("ABAVKUPOS", OracleType.NVarChar).Value = dwData["ABAVKUPOS"].ToString();
            or1.Parameters.Add("ABAVB", OracleType.NVarChar).Value = dwData["ABAVB"].ToString();
            or1.Parameters.Add("ABAVG", OracleType.NVarChar).Value = dwData["ABAVG"].ToString();
            or1.Parameters.Add("ABAZUPRIO", OracleType.NVarChar).Value = dwData["ABAZUPRIO"].ToString();
            or1.Parameters.Add("ABASTKNEUTR", OracleType.NVarChar).Value = dwData["ABASTKNEUTR"].ToString();
            or1.Parameters.Add("ABARESPROG", OracleType.NVarChar).Value = dwData["ABARESPROG"].ToString();
            or1.Parameters.Add("ABARESBEN", OracleType.NVarChar).Value = dwData["ABARESBEN"].ToString();
            or1.Parameters.Add("ABARESDAT", OracleType.NVarChar).Value = dwData["ABARESDAT"].ToString();
            or1.Parameters.Add("ABARESZEIT", OracleType.NVarChar).Value = dwData["ABARESZEIT"].ToString();
            or1.Parameters.Add("ABARVSACHB", OracleType.NVarChar).Value = dwData["ABARVSACHB"].ToString();
            or1.Parameters.Add("ABARKUNDNR", OracleType.NVarChar).Value = dwData["ABARKUNDNR"].ToString();
            or1.Parameters.Add("ABARBISDAT", OracleType.NVarChar).Value = dwData["ABARBISDAT"].ToString();
            or1.Parameters.Add("ABAVLVB", OracleType.NVarChar).Value = dwData["ABAVLVB"].ToString();
            or1.Parameters.Add("ABAVLVG", OracleType.NVarChar).Value = dwData["ABAVLVG"].ToString();
            or1.Parameters.Add("ABAVLSACHB", OracleType.NVarChar).Value = dwData["ABAVLSACHB"].ToString();
            or1.Parameters.Add("ABAVLGEGEN", OracleType.NVarChar).Value = dwData["ABAVLGEGEN"].ToString();
            or1.Parameters.Add("ABAPRKUNDNR", OracleType.NVarChar).Value = dwData["ABAPRKUNDNR"].ToString();
            or1.Parameters.Add("ABAPRAUFKRS", OracleType.NVarChar).Value = dwData["ABAPRAUFKRS"].ToString();
            or1.Parameters.Add("ABAPRAUFLFD", OracleType.NVarChar).Value = dwData["ABAPRAUFLFD"].ToString();
            or1.Parameters.Add("ABAPRAUFPOS", OracleType.NVarChar).Value = dwData["ABAPRAUFPOS"].ToString();
            or1.Parameters.Add("ABAGENEHM", OracleType.NVarChar).Value = dwData["ABAGENEHM"].ToString();
            or1.Parameters.Add("ABAGSACHB", OracleType.NVarChar).Value = dwData["ABAGSACHB"].ToString();
            or1.Parameters.Add("ABALIEFNR", OracleType.NVarChar).Value = dwData["ABALIEFNR"].ToString();
            or1.Parameters.Add("ABAVSACHB", OracleType.NVarChar).Value = dwData["ABAVSACHB"].ToString();
            or1.Parameters.Add("ABAVSTKNR", OracleType.NVarChar).Value = dwData["ABAVSTKNR"].ToString();
            or1.Parameters.Add("ABAVERSWEG", OracleType.NVarChar).Value = dwData["ABAVERSWEG"].ToString();
            or1.Parameters.Add("ABAMVERSDAT", OracleType.NVarChar).Value = dwData["ABAMVERSDAT"].ToString();
            or1.Parameters.Add("ABAWVDAT", OracleType.NVarChar).Value = dwData["ABAWVDAT"].ToString();
            or1.Parameters.Add("ABGENDAT", OracleType.NVarChar).Value = dwData["ABGENDAT"].ToString();
            or1.Parameters.Add("ABAGENNR", OracleType.NVarChar).Value = dwData["ABAGENNR"].ToString();
            or1.Parameters.Add("ABAGENNAME", OracleType.NVarChar).Value = dwData["ABAGENNAME"].ToString();
            or1.Parameters.Add("ABAGENWEG", OracleType.NVarChar).Value = dwData["ABAGENWEG"].ToString();
            or1.Parameters.Add("ABAZUSTK", OracleType.NVarChar).Value = dwData["ABAZUSTK"].ToString();
            or1.Parameters.Add("ABAZULG", OracleType.NVarChar).Value = dwData["ABAZULG"].ToString();
            or1.Parameters.Add("ABAOPTKZ", OracleType.NVarChar).Value = dwData["ABAOPTKZ"].ToString();
            or1.Parameters.Add("ABAMAFZST", OracleType.NVarChar).Value = dwData["ABAMAFZST"].ToString();
            or1.Parameters.Add("ABAPART1", OracleType.NVarChar).Value = dwData["ABAPART1"].ToString();
            or1.Parameters.Add("ABAPARTST1", OracleType.NVarChar).Value = dwData["ABAPARTST1"].ToString();
            or1.Parameters.Add("ABAPART2", OracleType.NVarChar).Value = dwData["ABAPART2"].ToString();
            or1.Parameters.Add("ABAPARTST2", OracleType.NVarChar).Value = dwData["ABAPARTST2"].ToString();
            or1.Parameters.Add("ABAPART3", OracleType.NVarChar).Value = dwData["ABAPART3"].ToString();
            or1.Parameters.Add("ABAPARTST3", OracleType.NVarChar).Value = dwData["ABAPARTST3"].ToString();
            or1.Parameters.Add("ABAPART4", OracleType.NVarChar).Value = dwData["ABAPART4"].ToString();
            or1.Parameters.Add("ABAPARTST4", OracleType.NVarChar).Value = dwData["ABAPARTST4"].ToString();
            or1.Parameters.Add("ABAPART5", OracleType.NVarChar).Value = dwData["ABAPART5"].ToString();
            or1.Parameters.Add("ABAPARTST5", OracleType.NVarChar).Value = dwData["ABAPARTST5"].ToString();
            or1.Parameters.Add("ABAPART6", OracleType.NVarChar).Value = dwData["ABAPART6"].ToString();
            or1.Parameters.Add("ABAPARTST6", OracleType.NVarChar).Value = dwData["ABAPARTST6"].ToString();
            or1.Parameters.Add("ABAPART7", OracleType.NVarChar).Value = dwData["ABAPART7"].ToString();
            or1.Parameters.Add("ABAPARTST7", OracleType.NVarChar).Value = dwData["ABAPARTST7"].ToString();
            or1.Parameters.Add("ABAPART8", OracleType.NVarChar).Value = dwData["ABAPART8"].ToString();
            or1.Parameters.Add("ABAPARTST8", OracleType.NVarChar).Value = dwData["ABAPARTST8"].ToString();
            or1.Parameters.Add("ABAPART9", OracleType.NVarChar).Value = dwData["ABAPART9"].ToString();
            or1.Parameters.Add("ABAPARTST9", OracleType.NVarChar).Value = dwData["ABAPARTST9"].ToString();
            or1.Parameters.Add("ABAPART10", OracleType.NVarChar).Value = dwData["ABAPART10"].ToString();
            or1.Parameters.Add("ABAPARTST10", OracleType.NVarChar).Value = dwData["ABAPARTST10"].ToString();
            or1.Parameters.Add("ABASZENSUR", OracleType.NVarChar).Value = dwData["ABASZENSUR"].ToString();
            or1.Parameters.Add("ABASZENSURKZ", OracleType.NVarChar).Value = dwData["ABASZENSURKZ"].ToString();
            or1.Parameters.Add("ABAKUTLSTK", OracleType.NVarChar).Value = dwData["ABAKUTLSTK"].ToString();
            or1.Parameters.Add("ABABAHNKZ", OracleType.NVarChar).Value = dwData["ABABAHNKZ"].ToString();
            or1.Parameters.Add("ABAWDUPOS", OracleType.NVarChar).Value = dwData["ABAWDUPOS"].ToString();
            or1.Parameters.Add("ABABAHNEN", OracleType.NVarChar).Value = dwData["ABABAHNEN"].ToString();
            or1.Parameters.Add("ABATEILKZ", OracleType.NVarChar).Value = dwData["ABATEILKZ"].ToString();
            or1.Parameters.Add("ABAKUNDNRU", OracleType.NVarChar).Value = dwData["ABAKUNDNRU"].ToString();
            or1.Parameters.Add("ABAWERKU", OracleType.NVarChar).Value = dwData["ABAWERKU"].ToString();
            or1.Parameters.Add("ABAABTU", OracleType.NVarChar).Value = dwData["ABAABTU"].ToString();
            or1.Parameters.Add("ABAARTU", OracleType.NVarChar).Value = dwData["ABAARTU"].ToString();
            or1.Parameters.Add("ABAVARU", OracleType.NVarChar).Value = dwData["ABAVARU"].ToString();
            or1.Parameters.Add("ABADESSU", OracleType.NVarChar).Value = dwData["ABADESSU"].ToString();
            or1.Parameters.Add("ABACOLORITU", OracleType.NVarChar).Value = dwData["ABACOLORITU"].ToString();
            or1.Parameters.Add("ABAFARBEU", OracleType.NVarChar).Value = dwData["ABAFARBEU"].ToString();
            or1.Parameters.Add("ABABESCHU", OracleType.NVarChar).Value = dwData["ABABESCHU"].ToString();
            or1.Parameters.Add("ABAFARBBEZU", OracleType.NVarChar).Value = dwData["ABAFARBBEZU"].ToString();
            or1.Parameters.Add("ABAANZ1", OracleType.NVarChar).Value = dwData["ABAANZ1"].ToString();
            or1.Parameters.Add("ABALAENGE1", OracleType.NVarChar).Value = dwData["ABALAENGE1"].ToString();
            or1.Parameters.Add("ABABREITE1", OracleType.NVarChar).Value = dwData["ABABREITE1"].ToString();
            or1.Parameters.Add("ABAANZ2", OracleType.NVarChar).Value = dwData["ABAANZ2"].ToString();
            or1.Parameters.Add("ABALAENGE2", OracleType.NVarChar).Value = dwData["ABALAENGE2"].ToString();
            or1.Parameters.Add("ABABREITE2", OracleType.NVarChar).Value = dwData["ABABREITE2"].ToString();
            or1.Parameters.Add("ABAANZ3", OracleType.NVarChar).Value = dwData["ABAANZ3"].ToString();
            or1.Parameters.Add("ABALAENGE3", OracleType.NVarChar).Value = dwData["ABALAENGE3"].ToString();
            or1.Parameters.Add("ABABREITE3", OracleType.NVarChar).Value = dwData["ABABREITE3"].ToString();
            or1.Parameters.Add("ABAANZ4", OracleType.NVarChar).Value = dwData["ABAANZ4"].ToString();
            or1.Parameters.Add("ABALAENGE4", OracleType.NVarChar).Value = dwData["ABALAENGE4"].ToString();
            or1.Parameters.Add("ABABREITE4", OracleType.NVarChar).Value = dwData["ABABREITE4"].ToString();
            or1.Parameters.Add("ABAANZ5", OracleType.NVarChar).Value = dwData["ABAANZ5"].ToString();
            or1.Parameters.Add("ABALAENGE5", OracleType.NVarChar).Value = dwData["ABALAENGE5"].ToString();
            or1.Parameters.Add("ABABREITE5", OracleType.NVarChar).Value = dwData["ABABREITE5"].ToString();
            or1.Parameters.Add("ABAVERSDAT", OracleType.NVarChar).Value = dwData["ABAVERSDAT"].ToString();
            or1.Parameters.Add("ABAVATYP", OracleType.NVarChar).Value = dwData["ABAVATYP"].ToString();
            or1.Parameters.Add("ABAANZORG", OracleType.NVarChar).Value = dwData["ABAANZORG"].ToString();
            or1.Parameters.Add("ABAANZKOP", OracleType.NVarChar).Value = dwData["ABAANZKOP"].ToString();
            or1.Parameters.Add("ABAVERSART", OracleType.NVarChar).Value = dwData["ABAVERSART"].ToString();
            or1.Parameters.Add("ABASPED", OracleType.NVarChar).Value = dwData["ABASPED"].ToString();
            or1.Parameters.Add("ABALIEFKD", OracleType.NVarChar).Value = dwData["ABALIEFKD"].ToString();
            or1.Parameters.Add("ABAVERSKD", OracleType.NVarChar).Value = dwData["ABAVERSKD"].ToString();
            or1.Parameters.Add("ABAADRSLL", OracleType.NVarChar).Value = dwData["ABAADRSLL"].ToString();
            or1.Parameters.Add("ABAVAKZ", OracleType.NVarChar).Value = dwData["ABAVAKZ"].ToString();
            or1.Parameters.Add("ABALIEFKOMP", OracleType.NVarChar).Value = dwData["ABALIEFKOMP"].ToString();
            or1.Parameters.Add("ABATEILNR", OracleType.NVarChar).Value = dwData["ABATEILNR"].ToString();
            or1.Parameters.Add("ABAVDPKZ", OracleType.NVarChar).Value = dwData["ABAVDPKZ"].ToString();
            or1.Parameters.Add("ABATPMA", OracleType.NVarChar).Value = dwData["ABATPMA"].ToString();
            or1.Parameters.Add("ABABOXMAX", OracleType.NVarChar).Value = dwData["ABABOXMAX"].ToString();
            or1.Parameters.Add("ABABOXANZ", OracleType.NVarChar).Value = dwData["ABABOXANZ"].ToString();
            or1.Parameters.Add("ABALGEBNR", OracleType.NVarChar).Value = dwData["ABALGEBNR"].ToString();
            or1.Parameters.Add("ABANKGEB", OracleType.NVarChar).Value = dwData["ABANKGEB"].ToString();
            or1.Parameters.Add("ABAIFEUCHTE", OracleType.NVarChar).Value = dwData["ABAIFEUCHTE"].ToString();
            or1.Parameters.Add("ABAKUNDNR", OracleType.NVarChar).Value = dwData["ABAKUNDNR"].ToString();
            or1.Parameters.Add("ABASTKNR", OracleType.NVarChar).Value = dwData["ABASTKNR"].ToString();
            or1.Parameters.Add("ABAPARTIE", OracleType.NVarChar).Value = dwData["ABAPARTIE"].ToString();
            or1.Parameters.Add("ABAPARTIEKZ", OracleType.NVarChar).Value = dwData["ABAPARTIEKZ"].ToString();
            or1.Parameters.Add("ABAKDPARTIE", OracleType.NVarChar).Value = dwData["ABAKDPARTIE"].ToString();
            or1.Parameters.Add("ABAKDAUFTNR", OracleType.NVarChar).Value = dwData["ABAKDAUFTNR"].ToString();
            or1.Parameters.Add("ABAKDAUFDAT", OracleType.NVarChar).Value = dwData["ABAKDAUFDAT"].ToString();
            or1.Parameters.Add("ABAMAART", OracleType.NVarChar).Value = dwData["ABAMAART"].ToString();
            or1.Parameters.Add("ABASTKLFDNR", OracleType.NVarChar).Value = dwData["ABASTKLFDNR"].ToString();
            or1.Parameters.Add("ABAAUFMSL", OracleType.NVarChar).Value = dwData["ABAAUFMSL"].ToString();
            or1.Parameters.Add("ABAZUSAM", OracleType.NVarChar).Value = dwData["ABAZUSAM"].ToString();
            or1.Parameters.Add("ABAPACKTYP", OracleType.NVarChar).Value = dwData["ABAPACKTYP"].ToString();
            or1.Parameters.Add("ABATAX", OracleType.NVarChar).Value = dwData["ABATAX"].ToString();
            or1.Parameters.Add("ABAHUELSE", OracleType.NVarChar).Value = dwData["ABAHUELSE"].ToString();
            or1.Parameters.Add("ABAWOBST", OracleType.NVarChar).Value = dwData["ABAWOBST"].ToString();
            or1.Parameters.Add("ABAWICKL", OracleType.NVarChar).Value = dwData["ABAWICKL"].ToString();
            or1.Parameters.Add("ABAFDRES", OracleType.NVarChar).Value = dwData["ABAFDRES"].ToString();
            or1.Parameters.Add("ABAKF", OracleType.NVarChar).Value = dwData["ABAKF"].ToString();
            or1.Parameters.Add("ABANRVERG", OracleType.NVarChar).Value = dwData["ABANRVERG"].ToString();
            or1.Parameters.Add("ABASTKNRKRS", OracleType.NVarChar).Value = dwData["ABASTKNRKRS"].ToString();
            or1.Parameters.Add("ABASUFFART", OracleType.NVarChar).Value = dwData["ABASUFFART"].ToString();
            or1.Parameters.Add("ABATRENNZ", OracleType.NVarChar).Value = dwData["ABATRENNZ"].ToString();
            or1.Parameters.Add("ABALAENGEU", OracleType.NVarChar).Value = dwData["ABALAENGEU"].ToString();
            or1.Parameters.Add("ABALAENGES", OracleType.NVarChar).Value = dwData["ABALAENGES"].ToString();
            or1.Parameters.Add("ABASCHRITW", OracleType.NVarChar).Value = dwData["ABASCHRITW"].ToString();
            or1.Parameters.Add("ABAFUELLZ", OracleType.NVarChar).Value = dwData["ABAFUELLZ"].ToString();
            or1.Parameters.Add("ABAASSCHNIT", OracleType.NVarChar).Value = dwData["ABAASSCHNIT"].ToString();
            or1.Parameters.Add("ABAETITYP", OracleType.NVarChar).Value = dwData["ABAETITYP"].ToString();
            or1.Parameters.Add("ABAANZRET", OracleType.NVarChar).Value = dwData["ABAANZRET"].ToString();
            or1.Parameters.Add("ABAKDETKZ", OracleType.NVarChar).Value = dwData["ABAKDETKZ"].ToString();
            or1.Parameters.Add("ABADOPPEL", OracleType.NVarChar).Value = dwData["ABADOPPEL"].ToString();
            or1.Parameters.Add("ABALOAN", OracleType.NVarChar).Value = dwData["ABALOAN"].ToString();
            or1.Parameters.Add("ABALBAN", OracleType.NVarChar).Value = dwData["ABALBAN"].ToString();
            or1.Parameters.Add("ABALPAN", OracleType.NVarChar).Value = dwData["ABALPAN"].ToString();
            or1.Parameters.Add("ABAAUFBKZAN", OracleType.NVarChar).Value = dwData["ABAAUFBKZAN"].ToString();
            or1.Parameters.Add("ABALOA2", OracleType.NVarChar).Value = dwData["ABALOA2"].ToString();
            or1.Parameters.Add("ABALBA2", OracleType.NVarChar).Value = dwData["ABALBA2"].ToString();
            or1.Parameters.Add("ABALPA2", OracleType.NVarChar).Value = dwData["ABALPA2"].ToString();
            or1.Parameters.Add("ABAABKZA2", OracleType.NVarChar).Value = dwData["ABAABKZA2"].ToString();
            or1.Parameters.Add("ABAPKL", OracleType.NVarChar).Value = dwData["ABAPKL"].ToString();
            or1.Parameters.Add("ABABEM1", OracleType.NVarChar).Value = dwData["ABABEM1"].ToString();
            or1.Parameters.Add("ABABEM2", OracleType.NVarChar).Value = dwData["ABABEM2"].ToString();
            or1.Parameters.Add("ABAMRKM1", OracleType.NVarChar).Value = dwData["ABAMRKM1"].ToString();
            or1.Parameters.Add("ABAMRKM2", OracleType.NVarChar).Value = dwData["ABAMRKM2"].ToString();
            or1.Parameters.Add("ABAMRKM3", OracleType.NVarChar).Value = dwData["ABAMRKM3"].ToString();
            or1.Parameters.Add("ABAKZNTO", OracleType.NVarChar).Value = dwData["ABAKZNTO"].ToString();
            or1.Parameters.Add("ABAFESP", OracleType.NVarChar).Value = dwData["ABAFESP"].ToString();
            or1.Parameters.Add("ABADIAUFKRS", OracleType.NVarChar).Value = dwData["ABADIAUFKRS"].ToString();
            or1.Parameters.Add("ABADIAUFLFD", OracleType.NVarChar).Value = dwData["ABADIAUFLFD"].ToString();
            or1.Parameters.Add("ABADIAUFPOS", OracleType.NVarChar).Value = dwData["ABADIAUFPOS"].ToString();
            or1.Parameters.Add("ABADILG", OracleType.NVarChar).Value = dwData["ABADILG"].ToString();
            or1.Parameters.Add("ABADIGEW", OracleType.NVarChar).Value = dwData["ABADIGEW"].ToString();
            or1.Parameters.Add("ABADISTK", OracleType.NVarChar).Value = dwData["ABADISTK"].ToString();
            or1.Parameters.Add("ABADISLG", OracleType.NVarChar).Value = dwData["ABADISLG"].ToString();
            or1.Parameters.Add("ABADISGEW", OracleType.NVarChar).Value = dwData["ABADISGEW"].ToString();
            or1.Parameters.Add("ABABA", OracleType.NVarChar).Value = dwData["ABABA"].ToString();
            or1.Parameters.Add("ABAASGESLG", OracleType.NVarChar).Value = dwData["ABAASGESLG"].ToString();
            or1.Parameters.Add("ABAASGESGEW", OracleType.NVarChar).Value = dwData["ABAASGESGEW"].ToString();
            or1.Parameters.Add("ABAPNRKRS", OracleType.NVarChar).Value = dwData["ABAPNRKRS"].ToString();
            or1.Parameters.Add("ABAPLFDNR", OracleType.NVarChar).Value = dwData["ABAPLFDNR"].ToString();
            or1.Parameters.Add("ABAGKREGEL", OracleType.NVarChar).Value = dwData["ABAGKREGEL"].ToString();
            or1.Parameters.Add("ABAPROVOR", OracleType.NVarChar).Value = dwData["ABAPROVOR"].ToString();
            or1.Parameters.Add("ABAPRSFE", OracleType.NVarChar).Value = dwData["ABAPRSFE"].ToString();
            or1.Parameters.Add("ABAWSCHTXT", OracleType.NVarChar).Value = dwData["ABAWSCHTXT"].ToString();
            or1.Parameters.Add("ABAVORSGEL", OracleType.NVarChar).Value = dwData["ABAVORSGEL"].ToString();
            or1.Parameters.Add("ABASELVL", OracleType.NVarChar).Value = dwData["ABASELVL"].ToString();
            or1.Parameters.Add("ABASELVR", OracleType.NVarChar).Value = dwData["ABASELVR"].ToString();
            or1.Parameters.Add("ABAKOLL", OracleType.NVarChar).Value = dwData["ABAKOLL"].ToString();
            or1.Parameters.Add("ABAVKART", OracleType.NVarChar).Value = dwData["ABAVKART"].ToString();
            or1.Parameters.Add("ABAVKFARBE", OracleType.NVarChar).Value = dwData["ABAVKFARBE"].ToString();
            or1.Parameters.Add("ABAGBEDKZ", OracleType.NVarChar).Value = dwData["ABAGBEDKZ"].ToString();
            or1.Parameters.Add("ABADL", OracleType.NVarChar).Value = dwData["ABADL"].ToString();
            or1.Parameters.Add("ABAKDPARTKZ", OracleType.NVarChar).Value = dwData["ABAKDPARTKZ"].ToString();
            or1.Parameters.Add("ABAFILLER", OracleType.NVarChar).Value = dwData["ABAFILLER"].ToString();
            or1.Parameters.Add("ABAAENDZL", OracleType.NVarChar).Value = dwData["ABAAENDZL"].ToString();
            or1.Parameters.Add("ABAAENDBEN", OracleType.NVarChar).Value = dwData["ABAAENDBEN"].ToString();
            or1.Parameters.Add("ABAAENDDAT", OracleType.NVarChar).Value = dwData["ABAAENDDAT"].ToString();
            or1.Parameters.Add("ABANEUBEN", OracleType.NVarChar).Value = dwData["ABANEUBEN"].ToString();
            or1.Parameters.Add("ABANEUDAT", OracleType.NVarChar).Value = dwData["ABANEUDAT"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateABAUFM(DataRow dwData, int option, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE ABAUFM SET "
                        + "ABABEM1=:ABABEM1,"
                        + "ABABEM2=:ABABEM2"
                        + " WHERE  "
                        + "  ABAMANDANT=:ABAMANDANT   AND ABAAUFKRS=:ABAAUFKRS AND ABAAUFLFD=:ABAAUFLFD AND ABAAUFPOS=:ABAAUFPOS AND ABAAPOS=:ABAAPOS ";
                    or1.Parameters.Add("ABAMANDANT", OracleType.NVarChar).Value = dwData["ABAMANDANT"].ToString();
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
                    or1.Parameters.Add("ABAAPOS", OracleType.NVarChar).Value = dwData["ABAAPOS"].ToString();
                    or1.Parameters.Add("ABABEM1", OracleType.NVarChar).Value = dwData["ABABEM1"].ToString();
                    or1.Parameters.Add("ABABEM2", OracleType.NVarChar).Value = dwData["ABABEM2"].ToString();
                    Connect2Proxy(or1);
                    break;
                case 2:
                    or1.CommandText = "UPDATE ABAUFM SET "
                        + "ABABEM1=:ABABEM1,"
                        + "ABABEM2=:ABABEM2"
                        + " WHERE  "
                        + "  ABAMANDANT=:ABAMANDANT   AND ABAAUFKRS=:ABAAUFKRS AND ABAAUFLFD=:ABAAUFLFD AND ABAAUFPOS=:ABAAUFPOS AND ABAAPOS=:ABAAPOS ";
                    or1.Parameters.Add("ABAMANDANT", OracleType.NVarChar).Value = dwData["ABAMANDANT"].ToString();
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
                    or1.Parameters.Add("ABAAPOS", OracleType.NVarChar).Value = dwData["ABAAPOS"].ToString();
                    or1.Parameters.Add("ABABEM1", OracleType.NVarChar).Value = dwData["ABABEM1"].ToString();
                    or1.Parameters.Add("ABABEM2", OracleType.NVarChar).Value = dwData["ABABEM2"].ToString();
                    Connect2Proxy(or1);
                    break;
                default:

                    break;
            }

        }
        public void UpdateICC_ABAUFM(DataRow dwData, int option, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABAAUFTYP=:ABAAUFTYP,"
                        + "ABAAUFKRS=:ABAAUFKRS,"
                        + "ABAAUFLFD=:ABAAUFLFD,"
                        + "ABAAUFPOS=:ABAAUFPOS,"
                        + "ABARESMG=:ABARESMG,"
                        + "ABAQTYRESERVE=:ABAQTYRESERVE,"
                        + "ABAQTYALLOCATE=:ABAQTYALLOCATE,"
                        + "ABAQTYRECEIVED=:ABAQTYRECEIVED"
                        + " WHERE  "
                        + "  ABAID=:ABAID ";
                    or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = dwData["ABAAUFTYP"].ToString();
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
                    or1.Parameters.Add("ABARESMG", OracleType.NVarChar).Value = dwData["ABARESMG"].ToString();
                    or1.Parameters.Add("ABAQTYRESERVE", OracleType.NVarChar).Value = dwData["ABAQTYRESERVE"].ToString();
                    or1.Parameters.Add("ABAQTYALLOCATE", OracleType.NVarChar).Value = dwData["ABAQTYALLOCATE"].ToString();
                    or1.Parameters.Add("ABAQTYRECEIVED", OracleType.NVarChar).Value = dwData["ABAQTYRECEIVED"].ToString();
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    break;
                case 2:
                    or1.CommandText = " UPDATE WASTAMM M SET WABIND='0              ' WHERE TRIM(WABIND) IS NULL";
                    break;
                case 3:
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABAAUFTYP=:ABAAUFTYP,"
                        + "ABAAUFKRS=:ABAAUFKRS,"
                        + "ABAAUFLFD=:ABAAUFLFD,"
                        + "ABAAUFPOS=:ABAAUFPOS,"
                        + "ABARESMG=:ABARESMG,"
                        + "QTYPLAN=:ABARESMG,"
                        + "ABAQTYRESERVE=:ABAQTYRESERVE,"
                        + "ABAQTYALLOCATE=:ABAQTYALLOCATE,"
                        + "ABAQTYRECEIVED=:ABAQTYRECEIVED"
                        + " WHERE  "
                        + "  ABAID=:ABAID ";
                    or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = dwData["ABAAUFTYP"].ToString();
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
                    or1.Parameters.Add("ABARESMG", OracleType.NVarChar).Value = dwData["ABARESMG"].ToString();
                    or1.Parameters.Add("ABAQTYRESERVE", OracleType.NVarChar).Value = dwData["ABAQTYRESERVE"].ToString();
                    or1.Parameters.Add("ABAQTYALLOCATE", OracleType.NVarChar).Value = dwData["ABAQTYALLOCATE"].ToString();
                    or1.Parameters.Add("ABAQTYRECEIVED", OracleType.NVarChar).Value = dwData["ABAQTYRECEIVED"].ToString();
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    break;
                case 5:
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABAAUFTYP=:ABAAUFTYP "
                        + " WHERE  "
                        + "  ABAID=:ABAID ";
                    or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = dwData["ABAAUFTYP"].ToString();
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    break;
                case 10:
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABAAUFTYP=:ABAAUFTYP,"
                        + "ABAAUFKRS=:ABAAUFKRS,"
                        + "ABAAUFLFD=:ABAAUFLFD,"
                        + "ABAAUFPOS=:ABAAUFPOS,"
                        + "ABAQTYRESERVE=:ABAQTYRESERVE,"
                        + "ABAQTYALLOCATE=:ABAQTYALLOCATE,"
                        + "ABAQTYRECEIVED=:ABAQTYRECEIVED"
                        + " WHERE  "
                        + "  ABAID=:ABAID ";
                    or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = dwData["ABAAUFTYP"].ToString();
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = dwData["ABAAUFKRS"].ToString();
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = dwData["ABAAUFLFD"].ToString();
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = dwData["ABAAUFPOS"].ToString();
                    or1.Parameters.Add("ABAQTYRESERVE", OracleType.NVarChar).Value = dwData["ABAQTYRESERVE"].ToString();
                    or1.Parameters.Add("ABAQTYALLOCATE", OracleType.NVarChar).Value = dwData["ABAQTYALLOCATE"].ToString();
                    or1.Parameters.Add("ABAQTYRECEIVED", OracleType.NVarChar).Value = dwData["ABAQTYRECEIVED"].ToString();
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    break;
                case 11:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET (M.ARTDES)=(SELECT FSABEZ FROM FSSTAMM W WHERE ABAART=W.FSART)"
                        + " WHERE EXISTS (SELECT 1 FROM FSSTAMM W WHERE ABAART=W.FSART)";
                    break;
                case 12:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET (M.CDES)=(SELECT FSFABEZ FROM FSFARBEN W WHERE ABAART=W.FSFART AND ABAFARBE=FSFFARBE)"
                        + " WHERE EXISTS (SELECT FSFABEZ FROM FSFARBEN W WHERE ABAART=W.FSFART AND ABAFARBE=FSFFARBE)";
                    break;
                case 13:
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABARESMG=:ABARESMG"
                        + " WHERE  "
                        + "  ABAID=:ABAID ";
                    or1.Parameters.Add("ABARESMG", OracleType.NVarChar).Value = dwData["ABARESMG"].ToString();
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    break;

                case 20:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET (M.WAFGRLFD,M.PRSTD,ARTDES,EXART,EXCOLOR)="
                        + "(SELECT W.WAFGRLFD,TO_NUMBER(W.WABIND),WABEZ,WALOHNA,WAFMUDESS FROM WASTAMM W,WAFARBEN F "
                        + "  WHERE ABAART=W.WAART  AND WAFART=ABAART AND WAFZUSATZ=ABAFARBE)"
                        + " WHERE EXISTS(SELECT 1 FROM WASTAMM W,WAFARBEN WHERE ABAART=W.WAART AND WAFART=ABAART AND WAFZUSATZ=ABAFARBE)";
                    break;
                /*UPDATE ICC_ABAUFM M SET (EXART,EXCOLOR)=(SELECT WALOHNA,WAFMUDESS FROM
WASTAMM,WAFARBEN WHERE WAART=ABAART AND WAFART=ABAART AND WAFZUSATZ=ABAFARBE)
WHERE EXISTS
(SELECT 1 FROM
WASTAMM,WAFARBEN WHERE WAART=ABAART AND WAFART=ABAART AND WAFZUSATZ=ABAFARBE)*/
                case 21:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET (FSSZUSCHN,UM,RATIO)=(SELECT DISTINCT MAX(FSSZUSCHN),"
                        + " MAX(FSSVBME) AS UM,MAX(FSSVERBR*FSSVBFKT * 0.000001 * (1 + FSSVERL * 0.0001)*0.001) FROM FSSTUELI B "
                        + " WHERE B.FSSART=M.ABPART  AND (B.FSSFARBE=M.ABPFARBE OR M.ABPFARBE='          ') AND B.FSSMART=M.ABAART AND (B.FSSMFARBE = M.ABAFARBE OR M.ABAFARBE = '          ') "
                        + " GROUP BY FSSART,FSSMART,ABAFARBE,FSSFARBE)"
                        + "  WHERE EXISTS (SELECT 1 FROM FSSTUELI B WHERE B.FSSART=M.ABPART AND (B.FSSFARBE=M.ABPFARBE OR M.ABPFARBE='          ') AND B.FSSMART=M.ABAART AND (B.FSSMFARBE = M.ABAFARBE OR M.ABAFARBE = '          ') )";
                    break;
                case 22:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET (M.PRSTD)=(SELECT TO_NUMBER(TRIM(W.WABIND)||'0') /10 FROM WASTAMM W WHERE ABAART=W.WAART)"
                        + " WHERE EXISTS(SELECT 1 FROM WASTAMM W WHERE ABAART=W.WAART )";
                    break;
                case 27:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET (M.PRSTD,CDES)=(SELECT TO_NUMBER(TRIM(W.WAFZUABAK)||'0')/1000,WAFBEZ FROM WAFARBEN W WHERE ABAART=W.WAFART  AND ABAFARBE=W.WAFZUSATZ AND WAFZUABAK>0)"
                        + " WHERE EXISTS(SELECT 1 FROM WAFARBEN W WHERE ABAART=W.WAFART AND ABAFARBE=W.WAFZUSATZ AND WAFZUABAK>0)";
                    break;
                case 23:
                    or1.CommandText = "   UPDATE ICC_ABAUFM M SET PREK=("
                        //+ " SELECT CASE EKPMEEH WHEN 'KG ' THEN EKPPRME*0.001*wafgrlfd *0.001 ELSE EKPPRME*0.001 END AS PREK FROM EKPOS EK"
                        + " SELECT  EKPPRME*0.001 AS PREK FROM EKPOS EK"
                        + " WHERE M.ABAAUFKRS=EKPAUFKRS AND M.ABAAUFLFD=EKPAUFLFD AND M.ABAAUFPOS=EKPAUFPOS AND EKPSA='PO')"
                        + " WHERE EXISTS (SELECT 1 FROM EKPOS EK WHERE M.ABAAUFKRS=EKPAUFKRS AND M.ABAAUFLFD=EKPAUFLFD AND M.ABAAUFPOS=EKPAUFPOS AND EKPSA='PO')";
                    break;
                case 24:
                    or1.CommandText = "   UPDATE ICC_ABAUFM M SET (M.PRSTD)="
                        + " (SELECT MAX(FEPREIS1*0.01/FEMINBSLM1) FROM FSEINK W WHERE ABAART=W.FEART AND FEFARBE='          ' AND FEGROE='       ' )"
                        + " WHERE EXISTS(SELECT 1  FROM FSEINK W WHERE ABAART=W.FEART AND FEFARBE='          ' AND FEGROE='       ');";
                    break;
                case 25:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET (M.PRSTD)="
                                    + " (SELECT FEPREIS1*0.01/FEMINBSLM1 FROM FSEINK W WHERE ABAART=W.FEART AND ABAFARBE=FEFARBE AND FEGROE='       ')"
                                    + "  WHERE EXISTS(SELECT 1  FROM FSEINK W WHERE ABAART=W.FEART AND ABAFARBE=FEFARBE AND FEGROE='       ');";
                    break;
                case 26:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET (M.PRSTD)="
                        + "(SELECT FEPREIS1*0.01/FEMINBSLM1 FROM FSEINK W WHERE ABAART=W.FEART AND ABAFARBE=FEFARBE AND ABAGROE=FEGROE)"
                        + " WHERE EXISTS(SELECT 1  FROM FSEINK W WHERE ABAART=W.FEART AND ABAFARBE=FEFARBE AND ABAGROE=FEGROE);";
                    break;


                case 41:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET QTYACT=(SELECT SUM(FBWME)*0.01 AS FBWME FROM FBEW W"
                        + " WHERE FBWMANDANT=M.ABAMANDANT AND FBWAUFTYP='V' AND M.ABAVKAUFKRS=FBWAUFKRS"
                        + " AND ABAVKAUFLFD=FBWAUFLFD AND ABAVKAUFPOS=FBWAUFPOS AND FBWART=ABAART  AND FBWFARBE=ABAFARBE"
                        + " AND ABAGROE=FBWGROE AND FBWFC='AV25    ' AND FBWBS=13) "
                        + " WHERE EXISTS (SELECT 1  FROM FBEW W"
                        + " WHERE FBWMANDANT=M.ABAMANDANT AND FBWAUFTYP='V' AND M.ABAVKAUFKRS=FBWAUFKRS"
                        + " AND ABAVKAUFLFD=FBWAUFLFD AND ABAVKAUFPOS=FBWAUFPOS AND FBWART=ABAART AND FBWFARBE=ABAFARBE"
                        + " AND ABAGROE=FBWGROE AND FBWFC='AV25    ' AND FBWBS=13)";
                    break;
                case 42:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET QTYACT=(SELECT SUM(WBEWMTR)*0.001 FROM WBBEW W"
                        + " WHERE WBEWMANDANT=M.ABAMANDANT AND WBEWAUFTYP='V' AND M.ABAVKAUFKRS=WBEWAUFKRS"
                        + " AND ABAVKAUFLFD=WBEWAUFLFD AND ABAVKAUFPOS=WBEWAUFPOS AND WBEWART=ABAART "
                        + " AND  WBEWFARBE=ABAFARBE AND WBEWBS=36)"
                        + " WHERE EXISTS (SELECT 1 FROM WBBEW W WHERE WBEWMANDANT=M.ABAMANDANT AND WBEWAUFTYP='V' AND M.ABAVKAUFKRS=WBEWAUFKRS"
                        + " AND ABAVKAUFLFD=WBEWAUFLFD AND ABAVKAUFPOS=WBEWAUFPOS AND WBEWART=ABAART "
                        //+" AND WBEWVAR=ABAVAR"
                        + " AND  WBEWFARBE=ABAFARBE AND WBEWBS=36)";
                    break;
                case 51:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET QTYPLAN=ABAQTYRESERVE,QTYSTD=(SELECT P.S*RATIO FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='S      ')"
                        + " WHERE EXISTS  (SELECT 1 FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='S      ')";
                    break;
                case 52:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET QTYPLAN=ABAQTYRESERVE,QTYSTD=(SELECT P.S*RATIO FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='M      ')"
                        + " WHERE EXISTS  (SELECT 1 FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='M      ')";
                    break;
                case 53:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET QTYPLAN=ABAQTYRESERVE,QTYSTD=(SELECT P.S*RATIO FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='L      ')"
                        + " WHERE EXISTS  (SELECT 1 FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='L      ')";
                    break;
                case 54:
                    or1.CommandText = " UPDATE ICC_ABAUFM M SET QTYPLAN=ABAQTYRESERVE,QTYSTD=(SELECT P.S*RATIO FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='XL     ')"
                        + " WHERE EXISTS  (SELECT 1 FROM ICC_ABPOS_MCO P WHERE P.KRS=ABAVKAUFKRS AND P.LFD=ABAVKAUFLFD AND P.FARBE=M.ABPFARBE"
                        + " AND P.ART=M.ABPART AND P.VAR=M.ABPVAR AND P.FARBE=M.ABPFARBE AND M.ABPGROE='XL     ')";
                    break;
                case 99:
                    or1.CommandText = "UPDATE ICC_ABAUFM M SET "
                    + "CONTROL=:CONTROL,"
                    + "QTYACT=:QTYACT,"
                    + "VQTYSTDPRSTD=:VQTYSTDPRSTD,"
                    + "VQTYSTDPREK=:VQTYSTDPREK,"
                    + "VQTYSTDPRPLAN=:VQTYSTDPRPLAN,"

                    + "VQTYPLANPRSTD=:VQTYPLANPRSTD,"
                    + "VQTYPLANPREK=:VQTYPLANPREK,"
                    + "VQTYPLANPRPLAN=:VQTYPLANPRPLAN,"

                    + "VQTYACTPRSTD=:VQTYACTPRSTD,"
                    + "VQTYACTPREK=:VQTYACTPREK,"
                    + "VQTYACTPRPLAN=:VQTYACTPRPLAN"

                        + " WHERE ABAID=:ABAID";
                    or1.Parameters.Add("ABAID", OracleType.NVarChar).Value = dwData["ABAID"].ToString().Trim();
                    or1.Parameters.Add("CONTROL", OracleType.NVarChar).Value = dwData["CONTROL"].ToString();
                    or1.Parameters.Add("QTYACT", OracleType.NVarChar).Value = dwData["QTYACT"].ToString();
                    or1.Parameters.Add("VQTYSTDPRSTD", OracleType.NVarChar).Value = dwData["VQTYSTDPRSTD"].ToString();
                    or1.Parameters.Add("VQTYSTDPREK", OracleType.NVarChar).Value = dwData["VQTYSTDPREK"].ToString();
                    or1.Parameters.Add("VQTYSTDPRPLAN", OracleType.NVarChar).Value = dwData["VQTYSTDPRPLAN"].ToString();

                    or1.Parameters.Add("VQTYPLANPRSTD", OracleType.NVarChar).Value = dwData["VQTYPLANPRSTD"].ToString();
                    or1.Parameters.Add("VQTYPLANPREK", OracleType.NVarChar).Value = dwData["VQTYPLANPREK"].ToString();
                    or1.Parameters.Add("VQTYPLANPRPLAN", OracleType.NVarChar).Value = dwData["VQTYPLANPRPLAN"].ToString();

                    or1.Parameters.Add("VQTYACTPRSTD", OracleType.NVarChar).Value = dwData["VQTYACTPRSTD"].ToString();
                    or1.Parameters.Add("VQTYACTPREK", OracleType.NVarChar).Value = dwData["VQTYACTPREK"].ToString();
                    or1.Parameters.Add("VQTYACTPRPLAN", OracleType.NVarChar).Value = dwData["VQTYACTPRPLAN"].ToString();

                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateICC_ABPOS_MCO(DataRow dwData, int option = 1, string ITXDBVERSION = "50.24")
        {

            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region=======================
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO SET "
                            + "CONTROL=:CONTROL,"
                            + "END=:END,"
                        + "ENDDATE=:ENDDATE,"
                        + "APPDATE=:APPDATE,"
                        + "QTY=:QTY,"
                        + "QTYP=:QTYP,"
                        + "DQTY=:DQTY,"
                        + "MPRICE=:MPRICE,"
                        + "VMQSTDPSTD=:VMQSTDPSTD,"
                        + "VMQSTDPEK=:VMQSTDPEK,"
                        + "VMQSTDPPLAN=:VMQSTDPPLAN,"
                        + "VMQPLANPSTD=:VMQPLANPSTD,"
                        + "VMQPLANPEK=:VMQPLANPEK,"
                        + "VMQPLANPPLAN=:VMQPLANPPLAN,"
                        + "VMQACTPSTD=:VMQACTPSTD,"
                        + "VMQACTPEK=:VMQACTPEK,"
                        + "VMQACTPPLAN=:VMQACTPPLAN,"
                        + "PRODV=:PRODV,"
                        + "ADMINV=:ADMINV,"
                        + "SNDQTY=:SNDQTY"
                        + " WHERE  ABCOID=:ABCOID ";
                    or1.Parameters.Add("ABCOID", OracleType.NVarChar).Value = dwData["ABCOID"].ToString();
                    or1.Parameters.Add("CONTROL", OracleType.NVarChar).Value = dwData["CONTROL"].ToString();
                    or1.Parameters.Add("END", OracleType.NVarChar).Value = dwData["END"].ToString();
                    or1.Parameters.Add("ENDDATE", OracleType.NVarChar).Value = dwData["ENDDATE"].ToString();
                    or1.Parameters.Add("APPDATE", OracleType.NVarChar).Value = dwData["APPDATE"].ToString();
                    or1.Parameters.Add("QTY", OracleType.NVarChar).Value = dwData["QTY"].ToString();
                    or1.Parameters.Add("QTYP", OracleType.NVarChar).Value = dwData["QTYP"].ToString();
                    or1.Parameters.Add("DQTY", OracleType.NVarChar).Value = dwData["DQTY"].ToString();
                    or1.Parameters.Add("MPRICE", OracleType.NVarChar).Value = dwData["MPRICE"].ToString();
                    or1.Parameters.Add("VMQSTDPSTD", OracleType.NVarChar).Value = dwData["VMQSTDPSTD"].ToString();
                    or1.Parameters.Add("VMQSTDPEK", OracleType.NVarChar).Value = dwData["VMQSTDPEK"].ToString();
                    or1.Parameters.Add("VMQSTDPPLAN", OracleType.NVarChar).Value = dwData["VMQSTDPPLAN"].ToString();
                    or1.Parameters.Add("VMQPLANPSTD", OracleType.NVarChar).Value = dwData["VMQPLANPSTD"].ToString();
                    or1.Parameters.Add("VMQPLANPEK", OracleType.NVarChar).Value = dwData["VMQPLANPEK"].ToString();
                    or1.Parameters.Add("VMQPLANPPLAN", OracleType.NVarChar).Value = dwData["VMQPLANPPLAN"].ToString();
                    or1.Parameters.Add("VMQACTPSTD", OracleType.NVarChar).Value = dwData["VMQACTPSTD"].ToString();
                    or1.Parameters.Add("VMQACTPEK", OracleType.NVarChar).Value = dwData["VMQACTPEK"].ToString();
                    or1.Parameters.Add("VMQACTPPLAN", OracleType.NVarChar).Value = dwData["VMQACTPPLAN"].ToString();
                    or1.Parameters.Add("PRODV", OracleType.NVarChar).Value = dwData["PRODV"].ToString();
                    or1.Parameters.Add("ADMINV", OracleType.NVarChar).Value = dwData["ADMINV"].ToString();
                    or1.Parameters.Add("SNDQTY", OracleType.NVarChar).Value = dwData["SNDQTY"].ToString();
                    #endregion
                    break;
                case 2:
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO M SET (SP,S)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01 FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                        + " AND P.ABPGROE='S      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                    + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                    + " AND P.ABPGROE='S      ' )";
                    break;
                case 3:
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO M SET (MP,M)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01 FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                        + " AND P.ABPGROE='M      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                    + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                    + " AND P.ABPGROE='M      ' )";
                    break;
                case 4:
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO M SET (LP,L)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01 FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                        + " AND P.ABPGROE='L      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                    + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                    + " AND P.ABPGROE='L      ' )";
                    break;
                case 5:
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO M SET (XLP,XL)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01 FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                        + " AND P.ABPGROE='XL     ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                    + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE"
                    + " AND P.ABPGROE='XL     ' )";
                    break;
                case 6:
                    or1.CommandText = " UPDATE ICC_ABPOS_MCO SET QTY=S+M+L+XL,QTYP=SP+MP+LP+XLP";
                    break;
                case 7:
                    or1.CommandText = " UPDATE ICC_ABPOS_MCO SET DQTY=QTY-QTYP";
                    break;
                case 8:
                    or1.CommandText = " UPDATE ICC_ABPOS_MCO M SET (MPRICE)="
                        + " (SELECT MAX(ARWERT) FROM ABPR P WHERE M.KRS=P.ARAUFKRS AND M.LFD=P.ARAUFLFD )"
                        + " WHERE EXISTS (SELECT 1 FROM  ABPR P WHERE M.KRS=P.ARAUFKRS AND M.LFD=P.ARAUFLFD )";
                    break;
                case 9999:
                    or1.CommandText = "UPDATE ICC_ABPOS_MCO M SET (ENDDATE,END)="
                        + " (SELECT MAX(ABPERLDAT),MIN(ABPERLKZ) FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE)"
                        + " WHERE EXISTS (SELECT 1 FROM ABPOS P"
                        + " WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ART=P.ABPART AND M.VAR=P.ABPVAR AND M.FARBE=P.ABPFARBE )";
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateICC_ABAUFM(string ptype, string client, string krs, string lfd, string pos)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (ptype)
            {
                case "EK":
                    or1.CommandText = "UPDATE ICC_ABAUFM SET "
                        + "ABAAUFTYP='N',"
                        + "ABAAUFKRS='  ',"
                        + "ABAAUFLFD='      ',"
                        + "ABAAUFPOS='   ',"
                        + "ABAQTYRESERVE=0,"
                        + "ABAQTYALLOCATE=0,"
                        + "ABAQTYRECEIVED=0"
                        + " WHERE  ABAAUFTYP=:ABAAUFTYP AND ABAAUFKRS=:ABAAUFKRS AND ABAAUFLFD=:ABAAUFLFD AND ABAAUFPOS=:ABAAUFPOS";
                    or1.Parameters.Add("ABAAUFTYP", OracleType.NVarChar).Value = "P";
                    or1.Parameters.Add("ABAAUFKRS", OracleType.NVarChar).Value = krs;
                    or1.Parameters.Add("ABAAUFLFD", OracleType.NVarChar).Value = lfd;
                    or1.Parameters.Add("ABAAUFPOS", OracleType.NVarChar).Value = pos;
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }

        public void UpdateICC_ABPOS_MAT(DataRow dwData, int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region===========
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT SET "
                + "ABEND=:ABEND,"
                + "KRS=:KRS,"
                + "LFD=:LFD,"
                + "PROGRP=:PROGRP,"
                + "PROGRPD=:PROGRPD,"
                + "ARTGRP=:ARTGRP,"
                + "ARTGRPD=:ARTGRPD,"
                + "MATGRP=:MATGRP,"
                + "MATGRPD=:MATGRPD,"
                + "MATART=:MATART,"
                + "MATARTD=:MATARTD,"
                + "ABPART=:ABPART,"
                + "ABPVAR=:ABPVAR,"
                + "ABPFARBE=:ABPFARBE,"
                + "ABPLIEFDAT=:ABPLIEFDAT,"
                + "ARWERT=:ARWERT,"
                + "ABPLIEFNR=:ABPLIEFNR,"
                + "ABPANRKR=:ABPANRKR,"
                + "EXTFTYNAME=:EXTFTYNAME,"
                + "FSFINISHING=:FSFINISHING,"
                + "ABPSPGRD=:ABPSPGRD,"
                + "ABPGESSTA=:ABPGESSTA,"
                + "UM=:UM,"
                + "RATIO=:RATIO,"
                + "TQTY=:TQTY,"
                + "PQTY=:PQTY,"
                + "DQTY=:DQTY,"
                + "S=:S,"
                + "M=:M,"
                + "L=:L,"
                + "XL=:XL,"
                + "SP=:SP,"
                + "MP=:MP,"
                + "LP=:LP,"
                + "XLP=:XLP,"
                + "QC=:QC,"
                + "ARTDES=:ARTDES,"
                + "CDES=:CDES,"
                + "SECTION=:SECTION,"
                + "PHOTOLINK=:PHOTOLINK,"
                + "MAINFABRIC=:MAINFABRIC,"
                + "RSSENDDAT=:RSSENDDAT,"
                + "RSGETDATE=:RSGETDATE,"
                + "RSACSENDDATE=:RSACSENDDATE,"
                + "RSACGETDATE=:RSACGETDATE,"
                + "RSACCDATE=:RSACCDATE,"
                + "RSACCCOMMENTS=:RSACCCOMMENTS,"
                + "RSSSTAMPSENDATE=:RSSSTAMPSENDATE,"
                + "EMFSENDDAT=:EMFSENDDAT,"
                + "EAFSENDDAT=:EAFSENDDAT,"
                + "EACSENDATE=:EACSENDATE,"
                + "EREMARK=:EREMARK,"
                + "ECHECKDAT=:ECHECKDAT,"
                + "EFCHECKDAT=:EFCHECKDAT,"
                + "TQTYP=:TQTYP,"
                + "PCQTY=:PCQTY,"
                + "PPQTY=:PPQTY,"
                + "PDQTY=:PDQTY,"
                + "PCDAT=:PCDAT,"
                + "PSDAT=:PSDAT,"
                + "PSLAB=:PSLAB,"
                + "PMOUT=:PMOUT,"
                + "PPENDAT=:PPENDAT,"
                + "PAENDAE=:PAENDAE,"
                + "PSTARTDATE=:PSTARTDATE,"
                + "PAENDSTOPDAT=:PAENDSTOPDAT,"
                + "PQCDAT=:PQCDAT,"
                + "PQC2QTY=:PQC2QTY,"
                + "PQC2REMARK=:PQC2REMARK,"
                + "PREPRTNDAT=:PREPRTNDAT,"
                + "PSAMRTDAT=:PSAMRTDAT,"
                + "PQADAE=:PQADAE,"
                + "PQAISSUE=:PQAISSUE,"
                + "PQAREMARK=:PQAREMARK,"
                + "SY=:SY,"
                + "MY=:MY,"
                + "LY=:LY,"
                + "XLY=:XLY,"
                + "TQTYD=:TQTYD,"
                + "KOLL=:KOLL,"
                + "MPRICE=:MPRICE,"
                + "SPREMARK=:SPREMARK,"
                + "ELABELDATE=:ELABELDATE,"
                + "PRSAMPLEAPP=:PRSAMPLEAPP,"
                + "PCDQTY=:PCDQTY,"
                + "PCRATIO=:PCRATIO,"
                + "EPRODDATE=:EPRODDATE,"
                + "OTDRATIO=:OTDRATIO,"
                + "PQCINDAT=:PQCINDAT,"
                + "PQCMIDDAT=:PQCMIDDAT,"
                + "PQCINREMARK=:PQCINREMARK,"
                + "PQCMIDREMARK=:PQCMIDREMARK "
                        + " WHERE  "
                      + "  ABID=:ABID  ";

                    or1.Parameters.Add("ABID", OracleType.NVarChar).Value = dwData["ABID"].ToString();
                    or1.Parameters.Add("ABEND", OracleType.NVarChar).Value = dwData["ABEND"].ToString();
                    or1.Parameters.Add("KRS", OracleType.NVarChar).Value = dwData["KRS"].ToString();
                    or1.Parameters.Add("LFD", OracleType.NVarChar).Value = dwData["LFD"].ToString();
                    or1.Parameters.Add("PROGRP", OracleType.NVarChar).Value = dwData["PROGRP"].ToString();
                    or1.Parameters.Add("PROGRPD", OracleType.NVarChar).Value = dwData["PROGRPD"].ToString();
                    or1.Parameters.Add("ARTGRP", OracleType.NVarChar).Value = dwData["ARTGRP"].ToString();
                    or1.Parameters.Add("ARTGRPD", OracleType.NVarChar).Value = dwData["ARTGRPD"].ToString();
                    or1.Parameters.Add("MATGRP", OracleType.NVarChar).Value = dwData["MATGRP"].ToString();
                    or1.Parameters.Add("MATGRPD", OracleType.NVarChar).Value = dwData["MATGRPD"].ToString();
                    or1.Parameters.Add("MATART", OracleType.NVarChar).Value = dwData["MATART"].ToString();
                    or1.Parameters.Add("MATARTD", OracleType.NVarChar).Value = dwData["MATARTD"].ToString();
                    or1.Parameters.Add("ABPART", OracleType.NVarChar).Value = dwData["ABPART"].ToString();
                    or1.Parameters.Add("ABPVAR", OracleType.NVarChar).Value = dwData["ABPVAR"].ToString();
                    or1.Parameters.Add("ABPFARBE", OracleType.NVarChar).Value = dwData["ABPFARBE"].ToString();
                    or1.Parameters.Add("ABPLIEFDAT", OracleType.NVarChar).Value = dwData["ABPLIEFDAT"].ToString();
                    or1.Parameters.Add("ARWERT", OracleType.NVarChar).Value = dwData["ARWERT"].ToString();
                    or1.Parameters.Add("ABPLIEFNR", OracleType.NVarChar).Value = dwData["ABPLIEFNR"].ToString();
                    or1.Parameters.Add("ABPANRKR", OracleType.NVarChar).Value = dwData["ABPANRKR"].ToString();
                    or1.Parameters.Add("EXTFTYNAME", OracleType.NVarChar).Value = dwData["EXTFTYNAME"].ToString();
                    or1.Parameters.Add("FSFINISHING", OracleType.NVarChar).Value = dwData["FSFINISHING"].ToString();
                    or1.Parameters.Add("ABPSPGRD", OracleType.NVarChar).Value = dwData["ABPSPGRD"].ToString();
                    or1.Parameters.Add("ABPGESSTA", OracleType.NVarChar).Value = dwData["ABPGESSTA"].ToString();
                    or1.Parameters.Add("UM", OracleType.NVarChar).Value = dwData["UM"].ToString();
                    or1.Parameters.Add("RATIO", OracleType.NVarChar).Value = dwData["RATIO"].ToString();
                    or1.Parameters.Add("TQTY", OracleType.NVarChar).Value = dwData["TQTY"].ToString();
                    or1.Parameters.Add("PQTY", OracleType.NVarChar).Value = dwData["PQTY"].ToString();
                    or1.Parameters.Add("DQTY", OracleType.NVarChar).Value = dwData["DQTY"].ToString();
                    or1.Parameters.Add("S", OracleType.NVarChar).Value = dwData["S"].ToString();
                    or1.Parameters.Add("M", OracleType.NVarChar).Value = dwData["M"].ToString();
                    or1.Parameters.Add("L", OracleType.NVarChar).Value = dwData["L"].ToString();
                    or1.Parameters.Add("XL", OracleType.NVarChar).Value = dwData["XL"].ToString();
                    or1.Parameters.Add("SP", OracleType.NVarChar).Value = dwData["SP"].ToString();
                    or1.Parameters.Add("MP", OracleType.NVarChar).Value = dwData["MP"].ToString();
                    or1.Parameters.Add("LP", OracleType.NVarChar).Value = dwData["LP"].ToString();
                    or1.Parameters.Add("XLP", OracleType.NVarChar).Value = dwData["XLP"].ToString();
                    or1.Parameters.Add("QC", OracleType.NVarChar).Value = dwData["QC"].ToString();
                    or1.Parameters.Add("ARTDES", OracleType.NVarChar).Value = dwData["ARTDES"].ToString();
                    or1.Parameters.Add("CDES", OracleType.NVarChar).Value = dwData["CDES"].ToString();
                    or1.Parameters.Add("SECTION", OracleType.NVarChar).Value = dwData["SECTION"].ToString();
                    or1.Parameters.Add("PHOTOLINK", OracleType.NVarChar).Value = dwData["PHOTOLINK"].ToString();
                    or1.Parameters.Add("MAINFABRIC", OracleType.NVarChar).Value = dwData["MAINFABRIC"].ToString();
                    or1.Parameters.Add("RSSENDDAT", OracleType.NVarChar).Value = dwData["RSSENDDAT"].ToString();
                    or1.Parameters.Add("RSGETDATE", OracleType.NVarChar).Value = dwData["RSGETDATE"].ToString();
                    or1.Parameters.Add("RSACSENDDATE", OracleType.NVarChar).Value = dwData["RSACSENDDATE"].ToString();
                    or1.Parameters.Add("RSACGETDATE", OracleType.NVarChar).Value = dwData["RSACGETDATE"].ToString();
                    or1.Parameters.Add("RSACCDATE", OracleType.NVarChar).Value = dwData["RSACCDATE"].ToString();
                    or1.Parameters.Add("RSACCCOMMENTS", OracleType.NVarChar).Value = dwData["RSACCCOMMENTS"].ToString();
                    or1.Parameters.Add("RSSSTAMPSENDATE", OracleType.NVarChar).Value = dwData["RSSSTAMPSENDATE"].ToString();
                    or1.Parameters.Add("EMFSENDDAT", OracleType.NVarChar).Value = dwData["EMFSENDDAT"].ToString();
                    or1.Parameters.Add("EAFSENDDAT", OracleType.NVarChar).Value = dwData["EAFSENDDAT"].ToString();
                    or1.Parameters.Add("EACSENDATE", OracleType.NVarChar).Value = dwData["EACSENDATE"].ToString();
                    or1.Parameters.Add("EREMARK", OracleType.NVarChar).Value = dwData["EREMARK"].ToString();
                    or1.Parameters.Add("ECHECKDAT", OracleType.NVarChar).Value = dwData["ECHECKDAT"].ToString();
                    or1.Parameters.Add("EFCHECKDAT", OracleType.NVarChar).Value = dwData["EFCHECKDAT"].ToString();
                    or1.Parameters.Add("TQTYP", OracleType.NVarChar).Value = dwData["TQTYP"].ToString();
                    or1.Parameters.Add("PCQTY", OracleType.NVarChar).Value = dwData["PCQTY"].ToString();
                    or1.Parameters.Add("PPQTY", OracleType.NVarChar).Value = dwData["PPQTY"].ToString();
                    or1.Parameters.Add("PDQTY", OracleType.NVarChar).Value = dwData["PDQTY"].ToString();
                    or1.Parameters.Add("PCDAT", OracleType.NVarChar).Value = dwData["PCDAT"].ToString();
                    or1.Parameters.Add("PSDAT", OracleType.NVarChar).Value = dwData["PSDAT"].ToString();
                    or1.Parameters.Add("PSLAB", OracleType.NVarChar).Value = dwData["PSLAB"].ToString();
                    or1.Parameters.Add("PMOUT", OracleType.NVarChar).Value = dwData["PMOUT"].ToString();
                    or1.Parameters.Add("PPENDAT", OracleType.NVarChar).Value = dwData["PPENDAT"].ToString();
                    or1.Parameters.Add("PAENDAE", OracleType.NVarChar).Value = dwData["PAENDAE"].ToString();
                    or1.Parameters.Add("PSTARTDATE", OracleType.NVarChar).Value = dwData["PSTARTDATE"].ToString();
                    or1.Parameters.Add("PAENDSTOPDAT", OracleType.NVarChar).Value = dwData["PAENDSTOPDAT"].ToString();
                    or1.Parameters.Add("PQCDAT", OracleType.NVarChar).Value = dwData["PQCDAT"].ToString();
                    or1.Parameters.Add("PQC2QTY", OracleType.NVarChar).Value = dwData["PQC2QTY"].ToString();
                    or1.Parameters.Add("PQC2REMARK", OracleType.NVarChar).Value = dwData["PQC2REMARK"].ToString();
                    or1.Parameters.Add("PREPRTNDAT", OracleType.NVarChar).Value = dwData["PREPRTNDAT"].ToString();
                    or1.Parameters.Add("PSAMRTDAT", OracleType.NVarChar).Value = dwData["PSAMRTDAT"].ToString();
                    or1.Parameters.Add("PQADAE", OracleType.NVarChar).Value = dwData["PQADAE"].ToString();
                    or1.Parameters.Add("PQAISSUE", OracleType.NVarChar).Value = dwData["PQAISSUE"].ToString();
                    or1.Parameters.Add("PQAREMARK", OracleType.NVarChar).Value = dwData["PQAREMARK"].ToString();
                    or1.Parameters.Add("SY", OracleType.NVarChar).Value = dwData["SY"].ToString();
                    or1.Parameters.Add("MY", OracleType.NVarChar).Value = dwData["MY"].ToString();
                    or1.Parameters.Add("LY", OracleType.NVarChar).Value = dwData["LY"].ToString();
                    or1.Parameters.Add("XLY", OracleType.NVarChar).Value = dwData["XLY"].ToString();
                    or1.Parameters.Add("TQTYD", OracleType.NVarChar).Value = dwData["TQTYD"].ToString();
                    or1.Parameters.Add("KOLL", OracleType.NVarChar).Value = dwData["KOLL"].ToString();
                    or1.Parameters.Add("MPRICE", OracleType.NVarChar).Value = dwData["MPRICE"].ToString();
                    or1.Parameters.Add("SPREMARK", OracleType.NVarChar).Value = dwData["SPREMARK"].ToString();
                    or1.Parameters.Add("ELABELDATE", OracleType.NVarChar).Value = dwData["ELABELDATE"].ToString();
                    or1.Parameters.Add("PRSAMPLEAPP", OracleType.NVarChar).Value = dwData["PRSAMPLEAPP"].ToString();
                    or1.Parameters.Add("PCDQTY", OracleType.NVarChar).Value = dwData["PCDQTY"].ToString();
                    or1.Parameters.Add("PCRATIO", OracleType.NVarChar).Value = dwData["PCRATIO"].ToString();
                    or1.Parameters.Add("EPRODDATE", OracleType.NVarChar).Value = dwData["EPRODDATE"].ToString();
                    or1.Parameters.Add("OTDRATIO", OracleType.NVarChar).Value = dwData["OTDRATIO"].ToString();
                    or1.Parameters.Add("PQCINDAT", OracleType.NVarChar).Value = dwData["PQCINDAT"].ToString();
                    or1.Parameters.Add("PQCMIDDAT", OracleType.NVarChar).Value = dwData["PQCMIDDAT"].ToString();
                    or1.Parameters.Add("PQCINREMARK", OracleType.NVarChar).Value = dwData["PQCINREMARK"].ToString();
                    or1.Parameters.Add("PQCMIDREMARK", OracleType.NVarChar).Value = dwData["PQCMIDREMARK"].ToString();
                    #endregion
                    break;

                case 19:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT SET SP=0,LP=0,MP=0,XLP=0,SY=0,LY=0,MY=0,XLY=0,S=0,L=0,M=0,XL=0";
                    break;
                case 20:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET (SP,S,SY)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01,ABPSOLLMENGE5*0.01 FROM ABPOS P"
                        + "  WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='S      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                        + "   WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='S      ' )";
                    break;
                case 21:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET (MP,M,MY)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01,ABPSOLLMENGE5*0.01 FROM ABPOS P"
                        + "  WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='M      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                        + "   WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='M      ' )";
                    break;
                case 22:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET (LP,L,LY)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01,ABPSOLLMENGE5*0.01 FROM ABPOS P"
                        + "  WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='L      ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                        + "   WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='L      ' )";
                    break;
                case 23:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET (XLP,XL,XLY)=(SELECT ABPSOLLMENGE7*0.01,ABPEALFM*0.01,ABPSOLLMENGE5*0.01 FROM ABPOS P"
                        + "  WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='XL     ') WHERE EXISTS (SELECT 1 FROM ABPOS P"
                        + "   WHERE M.KRS=P.ABPAUFKRS AND M.LFD=P.ABPAUFLFD AND M.ABPART=P.ABPART AND M.ABPVAR=P.ABPVAR AND M.ABPFARBE=P.ABPFARBE"
                        + "  AND P.ABPGROE='XL     ' )";
                    break;
                case 24:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET TQTY=S+M+L+XL,TQTYP=SP+MP+LP+XLP,TQTYD=SY+MY+LY+XLY,PQTY=SP+LP+MP+XLP";
                    break;
                case 25:
                    or1.CommandText = "UPDATE ICC_ABPOS_MAT M SET DQTY=TQTY-TQTYP,PCDQTY=TQTYP-PCQTY,PCRATIO=ROUND(100*(TQTYP-PCQTY)/TQTYP,1)";
                    break;
                case 8:
                    or1.CommandText = " UPDATE ICC_ABPOS_MAT M SET (MPRICE)="
                        + " (SELECT MAX(ARWERT) FROM ABPR P WHERE M.KRS=P.ARAUFKRS AND M.LFD=P.ARAUFLFD )"
                        + " WHERE EXISTS (SELECT 1 FROM  ABPR P WHERE M.KRS=P.ARAUFKRS AND M.LFD=P.ARAUFLFD )";
                    break;
                case 9:
                    or1.CommandText = " UPDATE ICC_ABPOS_MAT M SET ARWERT= MPRICE*PQTY";
                    break;

                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateABFOLGE(DataRow dwData, int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            string LINES = "";
            switch (option)
            {
                case 1:
                    #region===========
                    or1.CommandText = "UPDATE ABFOLGE SET "
              + "ABFMANDANT=:ABFMANDANT,"
              + "ABFAUFKRS=:ABFAUFKRS,"
              + "ABFAUFLFD=:ABFAUFLFD,"
              + "ABFAUFPOS=:ABFAUFPOS,"
              + "ABFAFOLGE=:ABFAFOLGE,"
              + "ABFAENDZL=:ABFAENDZL,"
              + "ABFAENDBEN=:ABFAENDBEN,"
              + "ABFAENDDAT=:ABFAENDDAT,"
              + "ABFNEUBEN=:ABFNEUBEN,"
              + "ABFNEUDAT=:ABFNEUDAT,"
              + "ABFPLANKZ=:ABFPLANKZ,"
              + "ABFKSTKRS=:ABFKSTKRS,"
              + "ABFKST=:ABFKST,"
              + "ABFSPLPOS=:ABFSPLPOS,"
              + "ABFAGANG=:ABFAGANG,"
              + "ABFBZAGANG=:ABFBZAGANG,"
              + "ABFMTYP=:ABFMTYP,"
              + "ABFLIEFNR=:ABFLIEFNR,"
              + "ABFMNRKRS=:ABFMNRKRS,"
              + "ABFMLFDNR=:ABFMLFDNR,"
              + "ABFMPOS=:ABFMPOS,"
              + "ABFMPLPOS=:ABFMPLPOS,"
              + "ABFMANUELKZ=:ABFMANUELKZ,"
              + "ABFPARALKZ=:ABFPARALKZ,"
              + "ABFSOLLSTK=:ABFSOLLSTK,"
              + "ABFSOLLMG=:ABFSOLLMG,"
              + "ABFSOLLME=:ABFSOLLME,"
              + "ABFSOLLMTR=:ABFSOLLMTR,"
              + "ABFLAEAEND=:ABFLAEAEND,"
              + "ABFGEWAEND=:ABFGEWAEND,"
              + "ABFBASMGE=:ABFBASMGE,"
              + "ABFME=:ABFME,"
              + "ABFFIX=:ABFFIX,"
              + "ABFAGRVON=:ABFAGRVON,"
              + "ABFAGRBIS=:ABFAGRBIS,"
              + "ABFMASCHANZ=:ABFMASCHANZ,"
              + "ABFMASCHZE=:ABFMASCHZE,"
              + "ABFMASCHZT=:ABFMASCHZT,"
              + "ABFLIAFOLGE1=:ABFLIAFOLGE1,"
              + "ABFLIART1=:ABFLIART1,"
              + "ABFLIMIUZ1=:ABFLIMIUZ1,"
              + "ABFLIMAUZ1=:ABFLIMAUZ1,"
              + "ABFLIMIWM1=:ABFLIMIWM1,"
              + "ABFLIABS1=:ABFLIABS1,"
              + "ABFLIABSZE1=:ABFLIABSZE1,"
              + "ABFLIAFOLGE2=:ABFLIAFOLGE2,"
              + "ABFLIART2=:ABFLIART2,"
              + "ABFLIMIUZ2=:ABFLIMIUZ2,"
              + "ABFLIMAUZ2=:ABFLIMAUZ2,"
              + "ABFLIMIWM2=:ABFLIMIWM2,"
              + "ABFLIABS2=:ABFLIABS2,"
              + "ABFLIABSZE2=:ABFLIABSZE2,"
              + "ABFLIAFOLGE3=:ABFLIAFOLGE3,"
              + "ABFLIART3=:ABFLIART3,"
              + "ABFLIMIUZ3=:ABFLIMIUZ3,"
              + "ABFLIMAUZ3=:ABFLIMAUZ3,"
              + "ABFLIMIWM3=:ABFLIMIWM3,"
              + "ABFLIABS3=:ABFLIABS3,"
              + "ABFLIABSZE3=:ABFLIABSZE3,"
              + "ABFLIAFOLGE4=:ABFLIAFOLGE4,"
              + "ABFLIART4=:ABFLIART4,"
              + "ABFLIMIUZ4=:ABFLIMIUZ4,"
              + "ABFLIMAUZ4=:ABFLIMAUZ4,"
              + "ABFLIMIWM4=:ABFLIMIWM4,"
              + "ABFLIABS4=:ABFLIABS4,"
              + "ABFLIABSZE4=:ABFLIABSZE4,"
              + "ABFLIAFOLGE5=:ABFLIAFOLGE5,"
              + "ABFLIART5=:ABFLIART5,"
              + "ABFLIMIUZ5=:ABFLIMIUZ5,"
              + "ABFLIMAUZ5=:ABFLIMAUZ5,"
              + "ABFLIMIWM5=:ABFLIMIWM5,"
              + "ABFLIABS5=:ABFLIABS5,"
              + "ABFLIABSZE5=:ABFLIABSZE5,"
              + "ABFPERSANZ=:ABFPERSANZ,"
              + "ABFPERSZE=:ABFPERSZE,"
              + "ABFPERSZT=:ABFPERSZT,"
              + "ABFPERSMB=:ABFPERSMB,"
              + "ABFRUESTZE=:ABFRUESTZE,"
              + "ABFRUESTZT=:ABFRUESTZT,"
              + "ABFRPERSZT=:ABFRPERSZT,"
              + "ABFANZMA=:ABFANZMA,"
              + "ABFFAKTOR=:ABFFAKTOR,"
              + "ABFFAKTORBLG=:ABFFAKTORBLG,"
              + "ABFABEARBZT=:ABFABEARBZT,"
              + "ABFARUESTZT=:ABFARUESTZT,"
              + "ABFAMASCHZT=:ABFAMASCHZT,"
              + "ABFAPERSZT=:ABFAPERSZT,"
              + "ABFANZAF=:ABFANZAF,"
              + "ABFVERWZE=:ABFVERWZE,"
              + "ABFVERWZTV=:ABFVERWZTV,"
              + "ABFVERWZTB=:ABFVERWZTB,"
              + "ABFVLFZT=:ABFVLFZT,"
              + "ABFVLFZTZE=:ABFVLFZTZE,"
              + "ABFSOLLSTART=:ABFSOLLSTART,"
              + "ABFSOLLDAT=:ABFSOLLDAT,"
              + "ABFSOLLSTARTA=:ABFSOLLSTARTA,"
              + "ABFSOLLDATA=:ABFSOLLDATA,"
              + "ABFFIXTERM=:ABFFIXTERM,"
              + "ABFRUECKKZ=:ABFRUECKKZ,"
              + "ABFKENNUNG=:ABFKENNUNG,"
              + "ABFSONDERKZ=:ABFSONDERKZ,"
              + "ABFZUSATZ1=:ABFZUSATZ1,"
              + "ABFZUSATZ2=:ABFZUSATZ2,"
              + "ABFZUSATZ3=:ABFZUSATZ3,"
              + "ABFZUSATZ4=:ABFZUSATZ4,"
              + "ABFZUSATZ5=:ABFZUSATZ5,"
              + "ABFFZUSATZKZ1=:ABFFZUSATZKZ1,"
              + "ABFFZUSATZKZ2=:ABFFZUSATZKZ2,"
              + "ABFFZUSATZKZ3=:ABFFZUSATZKZ3,"
              + "ABFFZUSATZKZ4=:ABFFZUSATZKZ4,"
              + "ABFFZUSATZKZ5=:ABFFZUSATZKZ5,"
              + "ABFZUSTAND=:ABFZUSTAND,"
              + "ABFFERTIG=:ABFFERTIG,"
              + "ABFMATABR=:ABFMATABR,"
              + "ABFDOMPART=:ABFDOMPART,"
              + "ABFLAGPLKZ=:ABFLAGPLKZ,"
              + "ABFLO=:ABFLO,"
              + "ABFLB=:ABFLB,"
              + "ABFLP=:ABFLP,"
              + "ABFAUFBKZ=:ABFAUFBKZ,"
              + "ABFPRUEFANW=:ABFPRUEFANW,"
              + "ABFPROBE=:ABFPROBE,"
              + "ABFSPSTA=:ABFSPSTA,"
              + "ABFSPGRD=:ABFSPGRD,"
              + "ABFMEKOPFKZ=:ABFMEKOPFKZ,"
              + "ABFSTATUS=:ABFSTATUS,"
              + "ABFRUECKMKZ=:ABFRUECKMKZ,"
              + "ABFRAFOLGE=:ABFRAFOLGE,"
              + "ABFRUECKDAT=:ABFRUECKDAT,"
              + "ABFRUECKZT=:ABFRUECKZT,"
              + "ABFIMNRKRS=:ABFIMNRKRS,"
              + "ABFIMLFDNR=:ABFIMLFDNR,"
              + "ABFIMPOS=:ABFIMPOS,"
              + "ABFISTK=:ABFISTK,"
              + "ABFIMG=:ABFIMG,"
              + "ABFIMTR=:ABFIMTR,"
              + "ABFIDIFFMG=:ABFIDIFFMG,"
              + "ABFISTARTDAT=:ABFISTARTDAT,"
              + "ABFISTARTZT=:ABFISTARTZT,"
              + "ABFIENDDAT=:ABFIENDDAT,"
              + "ABFIENDZT=:ABFIENDZT,"
              + "ABFANZTLG=:ABFANZTLG,"
              + "ABFRETOURKZ=:ABFRETOURKZ,"
              + "ABFREAUFKRS=:ABFREAUFKRS,"
              + "ABFREAUFLFD=:ABFREAUFLFD,"
              + "ABFREAUFPOS=:ABFREAUFPOS,"
              + "ABFSTUFE=:ABFSTUFE,"
              + "ABFWERK=:ABFWERK,"
              + "ABFANRKRS=:ABFANRKRS,"
              + "ABFALFDNR=:ABFALFDNR,"
              + "ABFSAFOLGE=:ABFSAFOLGE,"
              + "ABFAEVOR=:ABFAEVOR,"
              + "ABFEINSTKA=:ABFEINSTKA,"
              + "ABFBANRKRS=:ABFBANRKRS,"
              + "ABFBALFDNR=:ABFBALFDNR,"
              + "ABFEVARHNR=:ABFEVARHNR,"
              + "ABFEVARUNR=:ABFEVARUNR,"
              + "ABFRUESTFAM=:ABFRUESTFAM,"
              + "ABFBNRKRS=:ABFBNRKRS,"
              + "ABFBLFDNR=:ABFBLFDNR,"
              + "ABFBPOS=:ABFBPOS,"
              + "ABFVONMOD=:ABFVONMOD,"
              + "ABFBISMOD=:ABFBISMOD,"
              + "ABFBLOCKKZ1=:ABFBLOCKKZ1,"
              + "ABFBLOCKKZ2=:ABFBLOCKKZ2,"
              + "ABFPAPIERKZ=:ABFPAPIERKZ,"
              + "ABFKALKKZ=:ABFKALKKZ,"
              + "ABFALTKSTKZ=:ABFALTKSTKZ,"
              + "ABFBDEKEN=:ABFBDEKEN,"
              + "ABFPRIO=:ABFPRIO,"
              + "ABFSTATKZ=:ABFSTATKZ,"
              + "ABFPROZMG=:ABFPROZMG,"
              + "ABFMLMG=:ABFMLMG,"
              + "ABFQUALI=:ABFQUALI,"
              + "ABFLGRP=:ABFLGRP,"
              + "ABFLART=:ABFLART,"
              + "ABFLZDR=:ABFLZDR,"
              + "ABFPRBMGZT=:ABFPRBMGZT,"
              + "ABFZEITLN=:ABFZEITLN,"
              + "ABFPENETTO=:ABFPENETTO,"
              + "ABFPLKOST=:ABFPLKOST,"
              + "ABFLABDIPS=:ABFLABDIPS,"
              + "ABFNBREP=:ABFNBREP,"
              + "ABFAGENTF=:ABFAGENTF,"
              + "ABFBAFOLGE=:ABFBAFOLGE"
              + " WHERE  "
              + "  ABFMANDANT=:ABFMANDANT AND ABFAUFKRS=:ABFAUFKRS  AND ABFAUFLFD=:ABFAUFLFD AND ABFAUFPOS=:ABFAUFPOS AND ABFAFOLGE=:ABFAFOLGE ";

                    or1.Parameters.Add("ABFMANDANT", OracleType.NVarChar).Value = dwData["ABFMANDANT"].ToString();
                    or1.Parameters.Add("ABFAUFKRS", OracleType.NVarChar).Value = dwData["ABFAUFKRS"].ToString();
                    or1.Parameters.Add("ABFAUFLFD", OracleType.NVarChar).Value = dwData["ABFAUFLFD"].ToString();
                    or1.Parameters.Add("ABFAUFPOS", OracleType.NVarChar).Value = dwData["ABFAUFPOS"].ToString();
                    or1.Parameters.Add("ABFAFOLGE", OracleType.NVarChar).Value = dwData["ABFAFOLGE"].ToString();
                    or1.Parameters.Add("ABFAENDZL", OracleType.NVarChar).Value = dwData["ABFAENDZL"].ToString();
                    or1.Parameters.Add("ABFAENDBEN", OracleType.NVarChar).Value = dwData["ABFAENDBEN"].ToString();
                    or1.Parameters.Add("ABFAENDDAT", OracleType.NVarChar).Value = dwData["ABFAENDDAT"].ToString();
                    or1.Parameters.Add("ABFNEUBEN", OracleType.NVarChar).Value = dwData["ABFNEUBEN"].ToString();
                    or1.Parameters.Add("ABFNEUDAT", OracleType.NVarChar).Value = dwData["ABFNEUDAT"].ToString();
                    or1.Parameters.Add("ABFPLANKZ", OracleType.NVarChar).Value = dwData["ABFPLANKZ"].ToString();
                    or1.Parameters.Add("ABFKSTKRS", OracleType.NVarChar).Value = dwData["ABFKSTKRS"].ToString();
                    or1.Parameters.Add("ABFKST", OracleType.NVarChar).Value = dwData["ABFKST"].ToString();
                    or1.Parameters.Add("ABFSPLPOS", OracleType.NVarChar).Value = dwData["ABFSPLPOS"].ToString();
                    or1.Parameters.Add("ABFAGANG", OracleType.NVarChar).Value = dwData["ABFAGANG"].ToString();
                    or1.Parameters.Add("ABFBZAGANG", OracleType.NVarChar).Value = dwData["ABFBZAGANG"].ToString();
                    or1.Parameters.Add("ABFMTYP", OracleType.NVarChar).Value = dwData["ABFMTYP"].ToString();
                    or1.Parameters.Add("ABFLIEFNR", OracleType.NVarChar).Value = dwData["ABFLIEFNR"].ToString();
                    or1.Parameters.Add("ABFMNRKRS", OracleType.NVarChar).Value = dwData["ABFMNRKRS"].ToString();
                    or1.Parameters.Add("ABFMLFDNR", OracleType.NVarChar).Value = dwData["ABFMLFDNR"].ToString();
                    or1.Parameters.Add("ABFMPOS", OracleType.NVarChar).Value = dwData["ABFMPOS"].ToString();
                    or1.Parameters.Add("ABFMPLPOS", OracleType.NVarChar).Value = dwData["ABFMPLPOS"].ToString();
                    or1.Parameters.Add("ABFMANUELKZ", OracleType.NVarChar).Value = dwData["ABFMANUELKZ"].ToString();
                    or1.Parameters.Add("ABFPARALKZ", OracleType.NVarChar).Value = dwData["ABFPARALKZ"].ToString();
                    or1.Parameters.Add("ABFSOLLSTK", OracleType.NVarChar).Value = dwData["ABFSOLLSTK"].ToString();
                    or1.Parameters.Add("ABFSOLLMG", OracleType.NVarChar).Value = dwData["ABFSOLLMG"].ToString();
                    or1.Parameters.Add("ABFSOLLME", OracleType.NVarChar).Value = dwData["ABFSOLLME"].ToString();
                    or1.Parameters.Add("ABFSOLLMTR", OracleType.NVarChar).Value = dwData["ABFSOLLMTR"].ToString();
                    or1.Parameters.Add("ABFLAEAEND", OracleType.NVarChar).Value = dwData["ABFLAEAEND"].ToString();
                    or1.Parameters.Add("ABFGEWAEND", OracleType.NVarChar).Value = dwData["ABFGEWAEND"].ToString();
                    or1.Parameters.Add("ABFBASMGE", OracleType.NVarChar).Value = dwData["ABFBASMGE"].ToString();
                    or1.Parameters.Add("ABFME", OracleType.NVarChar).Value = dwData["ABFME"].ToString();
                    or1.Parameters.Add("ABFFIX", OracleType.NVarChar).Value = dwData["ABFFIX"].ToString();
                    or1.Parameters.Add("ABFAGRVON", OracleType.NVarChar).Value = dwData["ABFAGRVON"].ToString();
                    or1.Parameters.Add("ABFAGRBIS", OracleType.NVarChar).Value = dwData["ABFAGRBIS"].ToString();
                    or1.Parameters.Add("ABFMASCHANZ", OracleType.NVarChar).Value = dwData["ABFMASCHANZ"].ToString();
                    or1.Parameters.Add("ABFMASCHZE", OracleType.NVarChar).Value = dwData["ABFMASCHZE"].ToString();
                    or1.Parameters.Add("ABFMASCHZT", OracleType.NVarChar).Value = dwData["ABFMASCHZT"].ToString();
                    or1.Parameters.Add("ABFLIAFOLGE1", OracleType.NVarChar).Value = dwData["ABFLIAFOLGE1"].ToString();
                    or1.Parameters.Add("ABFLIART1", OracleType.NVarChar).Value = dwData["ABFLIART1"].ToString();
                    or1.Parameters.Add("ABFLIMIUZ1", OracleType.NVarChar).Value = dwData["ABFLIMIUZ1"].ToString();
                    or1.Parameters.Add("ABFLIMAUZ1", OracleType.NVarChar).Value = dwData["ABFLIMAUZ1"].ToString();
                    or1.Parameters.Add("ABFLIMIWM1", OracleType.NVarChar).Value = dwData["ABFLIMIWM1"].ToString();
                    or1.Parameters.Add("ABFLIABS1", OracleType.NVarChar).Value = dwData["ABFLIABS1"].ToString();
                    or1.Parameters.Add("ABFLIABSZE1", OracleType.NVarChar).Value = dwData["ABFLIABSZE1"].ToString();
                    or1.Parameters.Add("ABFLIAFOLGE2", OracleType.NVarChar).Value = dwData["ABFLIAFOLGE2"].ToString();
                    or1.Parameters.Add("ABFLIART2", OracleType.NVarChar).Value = dwData["ABFLIART2"].ToString();
                    or1.Parameters.Add("ABFLIMIUZ2", OracleType.NVarChar).Value = dwData["ABFLIMIUZ2"].ToString();
                    or1.Parameters.Add("ABFLIMAUZ2", OracleType.NVarChar).Value = dwData["ABFLIMAUZ2"].ToString();
                    or1.Parameters.Add("ABFLIMIWM2", OracleType.NVarChar).Value = dwData["ABFLIMIWM2"].ToString();
                    or1.Parameters.Add("ABFLIABS2", OracleType.NVarChar).Value = dwData["ABFLIABS2"].ToString();
                    or1.Parameters.Add("ABFLIABSZE2", OracleType.NVarChar).Value = dwData["ABFLIABSZE2"].ToString();
                    or1.Parameters.Add("ABFLIAFOLGE3", OracleType.NVarChar).Value = dwData["ABFLIAFOLGE3"].ToString();
                    or1.Parameters.Add("ABFLIART3", OracleType.NVarChar).Value = dwData["ABFLIART3"].ToString();
                    or1.Parameters.Add("ABFLIMIUZ3", OracleType.NVarChar).Value = dwData["ABFLIMIUZ3"].ToString();
                    or1.Parameters.Add("ABFLIMAUZ3", OracleType.NVarChar).Value = dwData["ABFLIMAUZ3"].ToString();
                    or1.Parameters.Add("ABFLIMIWM3", OracleType.NVarChar).Value = dwData["ABFLIMIWM3"].ToString();
                    or1.Parameters.Add("ABFLIABS3", OracleType.NVarChar).Value = dwData["ABFLIABS3"].ToString();
                    or1.Parameters.Add("ABFLIABSZE3", OracleType.NVarChar).Value = dwData["ABFLIABSZE3"].ToString();
                    or1.Parameters.Add("ABFLIAFOLGE4", OracleType.NVarChar).Value = dwData["ABFLIAFOLGE4"].ToString();
                    or1.Parameters.Add("ABFLIART4", OracleType.NVarChar).Value = dwData["ABFLIART4"].ToString();
                    or1.Parameters.Add("ABFLIMIUZ4", OracleType.NVarChar).Value = dwData["ABFLIMIUZ4"].ToString();
                    or1.Parameters.Add("ABFLIMAUZ4", OracleType.NVarChar).Value = dwData["ABFLIMAUZ4"].ToString();
                    or1.Parameters.Add("ABFLIMIWM4", OracleType.NVarChar).Value = dwData["ABFLIMIWM4"].ToString();
                    or1.Parameters.Add("ABFLIABS4", OracleType.NVarChar).Value = dwData["ABFLIABS4"].ToString();
                    or1.Parameters.Add("ABFLIABSZE4", OracleType.NVarChar).Value = dwData["ABFLIABSZE4"].ToString();
                    or1.Parameters.Add("ABFLIAFOLGE5", OracleType.NVarChar).Value = dwData["ABFLIAFOLGE5"].ToString();
                    or1.Parameters.Add("ABFLIART5", OracleType.NVarChar).Value = dwData["ABFLIART5"].ToString();
                    or1.Parameters.Add("ABFLIMIUZ5", OracleType.NVarChar).Value = dwData["ABFLIMIUZ5"].ToString();
                    or1.Parameters.Add("ABFLIMAUZ5", OracleType.NVarChar).Value = dwData["ABFLIMAUZ5"].ToString();
                    or1.Parameters.Add("ABFLIMIWM5", OracleType.NVarChar).Value = dwData["ABFLIMIWM5"].ToString();
                    or1.Parameters.Add("ABFLIABS5", OracleType.NVarChar).Value = dwData["ABFLIABS5"].ToString();
                    or1.Parameters.Add("ABFLIABSZE5", OracleType.NVarChar).Value = dwData["ABFLIABSZE5"].ToString();
                    or1.Parameters.Add("ABFPERSANZ", OracleType.NVarChar).Value = dwData["ABFPERSANZ"].ToString();
                    or1.Parameters.Add("ABFPERSZE", OracleType.NVarChar).Value = dwData["ABFPERSZE"].ToString();
                    or1.Parameters.Add("ABFPERSZT", OracleType.NVarChar).Value = dwData["ABFPERSZT"].ToString();
                    or1.Parameters.Add("ABFPERSMB", OracleType.NVarChar).Value = dwData["ABFPERSMB"].ToString();
                    or1.Parameters.Add("ABFRUESTZE", OracleType.NVarChar).Value = dwData["ABFRUESTZE"].ToString();
                    or1.Parameters.Add("ABFRUESTZT", OracleType.NVarChar).Value = dwData["ABFRUESTZT"].ToString();
                    or1.Parameters.Add("ABFRPERSZT", OracleType.NVarChar).Value = dwData["ABFRPERSZT"].ToString();
                    or1.Parameters.Add("ABFANZMA", OracleType.NVarChar).Value = dwData["ABFANZMA"].ToString();
                    or1.Parameters.Add("ABFFAKTOR", OracleType.NVarChar).Value = dwData["ABFFAKTOR"].ToString();
                    or1.Parameters.Add("ABFFAKTORBLG", OracleType.NVarChar).Value = dwData["ABFFAKTORBLG"].ToString();
                    or1.Parameters.Add("ABFABEARBZT", OracleType.NVarChar).Value = dwData["ABFABEARBZT"].ToString();
                    or1.Parameters.Add("ABFARUESTZT", OracleType.NVarChar).Value = dwData["ABFARUESTZT"].ToString();
                    or1.Parameters.Add("ABFAMASCHZT", OracleType.NVarChar).Value = dwData["ABFAMASCHZT"].ToString();
                    or1.Parameters.Add("ABFAPERSZT", OracleType.NVarChar).Value = dwData["ABFAPERSZT"].ToString();
                    or1.Parameters.Add("ABFANZAF", OracleType.NVarChar).Value = dwData["ABFANZAF"].ToString();
                    or1.Parameters.Add("ABFVERWZE", OracleType.NVarChar).Value = dwData["ABFVERWZE"].ToString();
                    or1.Parameters.Add("ABFVERWZTV", OracleType.NVarChar).Value = dwData["ABFVERWZTV"].ToString();
                    or1.Parameters.Add("ABFVERWZTB", OracleType.NVarChar).Value = dwData["ABFVERWZTB"].ToString();
                    or1.Parameters.Add("ABFVLFZT", OracleType.NVarChar).Value = dwData["ABFVLFZT"].ToString();
                    or1.Parameters.Add("ABFVLFZTZE", OracleType.NVarChar).Value = dwData["ABFVLFZTZE"].ToString();
                    or1.Parameters.Add("ABFSOLLSTART", OracleType.NVarChar).Value = dwData["ABFSOLLSTART"].ToString();
                    or1.Parameters.Add("ABFSOLLDAT", OracleType.NVarChar).Value = dwData["ABFSOLLDAT"].ToString();
                    or1.Parameters.Add("ABFSOLLSTARTA", OracleType.NVarChar).Value = dwData["ABFSOLLSTARTA"].ToString();
                    or1.Parameters.Add("ABFSOLLDATA", OracleType.NVarChar).Value = dwData["ABFSOLLDATA"].ToString();
                    or1.Parameters.Add("ABFFIXTERM", OracleType.NVarChar).Value = dwData["ABFFIXTERM"].ToString();
                    or1.Parameters.Add("ABFRUECKKZ", OracleType.NVarChar).Value = dwData["ABFRUECKKZ"].ToString();
                    or1.Parameters.Add("ABFKENNUNG", OracleType.NVarChar).Value = dwData["ABFKENNUNG"].ToString();
                    or1.Parameters.Add("ABFSONDERKZ", OracleType.NVarChar).Value = dwData["ABFSONDERKZ"].ToString();
                    or1.Parameters.Add("ABFZUSATZ1", OracleType.NVarChar).Value = dwData["ABFZUSATZ1"].ToString();
                    or1.Parameters.Add("ABFZUSATZ2", OracleType.NVarChar).Value = dwData["ABFZUSATZ2"].ToString();
                    or1.Parameters.Add("ABFZUSATZ3", OracleType.NVarChar).Value = dwData["ABFZUSATZ3"].ToString();
                    or1.Parameters.Add("ABFZUSATZ4", OracleType.NVarChar).Value = dwData["ABFZUSATZ4"].ToString();
                    or1.Parameters.Add("ABFZUSATZ5", OracleType.NVarChar).Value = dwData["ABFZUSATZ5"].ToString();
                    or1.Parameters.Add("ABFFZUSATZKZ1", OracleType.NVarChar).Value = dwData["ABFFZUSATZKZ1"].ToString();
                    or1.Parameters.Add("ABFFZUSATZKZ2", OracleType.NVarChar).Value = dwData["ABFFZUSATZKZ2"].ToString();
                    or1.Parameters.Add("ABFFZUSATZKZ3", OracleType.NVarChar).Value = dwData["ABFFZUSATZKZ3"].ToString();
                    or1.Parameters.Add("ABFFZUSATZKZ4", OracleType.NVarChar).Value = dwData["ABFFZUSATZKZ4"].ToString();
                    or1.Parameters.Add("ABFFZUSATZKZ5", OracleType.NVarChar).Value = dwData["ABFFZUSATZKZ5"].ToString();
                    or1.Parameters.Add("ABFZUSTAND", OracleType.NVarChar).Value = dwData["ABFZUSTAND"].ToString();
                    or1.Parameters.Add("ABFFERTIG", OracleType.NVarChar).Value = dwData["ABFFERTIG"].ToString();
                    or1.Parameters.Add("ABFMATABR", OracleType.NVarChar).Value = dwData["ABFMATABR"].ToString();
                    or1.Parameters.Add("ABFDOMPART", OracleType.NVarChar).Value = dwData["ABFDOMPART"].ToString();
                    or1.Parameters.Add("ABFLAGPLKZ", OracleType.NVarChar).Value = dwData["ABFLAGPLKZ"].ToString();
                    or1.Parameters.Add("ABFLO", OracleType.NVarChar).Value = dwData["ABFLO"].ToString();
                    or1.Parameters.Add("ABFLB", OracleType.NVarChar).Value = dwData["ABFLB"].ToString();
                    or1.Parameters.Add("ABFLP", OracleType.NVarChar).Value = dwData["ABFLP"].ToString();
                    or1.Parameters.Add("ABFAUFBKZ", OracleType.NVarChar).Value = dwData["ABFAUFBKZ"].ToString();
                    or1.Parameters.Add("ABFPRUEFANW", OracleType.NVarChar).Value = dwData["ABFPRUEFANW"].ToString();
                    or1.Parameters.Add("ABFPROBE", OracleType.NVarChar).Value = dwData["ABFPROBE"].ToString();
                    or1.Parameters.Add("ABFSPSTA", OracleType.NVarChar).Value = dwData["ABFSPSTA"].ToString();
                    or1.Parameters.Add("ABFSPGRD", OracleType.NVarChar).Value = dwData["ABFSPGRD"].ToString();
                    or1.Parameters.Add("ABFMEKOPFKZ", OracleType.NVarChar).Value = dwData["ABFMEKOPFKZ"].ToString();
                    or1.Parameters.Add("ABFSTATUS", OracleType.NVarChar).Value = dwData["ABFSTATUS"].ToString();
                    or1.Parameters.Add("ABFRUECKMKZ", OracleType.NVarChar).Value = dwData["ABFRUECKMKZ"].ToString();
                    or1.Parameters.Add("ABFRAFOLGE", OracleType.NVarChar).Value = dwData["ABFRAFOLGE"].ToString();
                    or1.Parameters.Add("ABFRUECKDAT", OracleType.NVarChar).Value = dwData["ABFRUECKDAT"].ToString();
                    or1.Parameters.Add("ABFRUECKZT", OracleType.NVarChar).Value = dwData["ABFRUECKZT"].ToString();
                    or1.Parameters.Add("ABFIMNRKRS", OracleType.NVarChar).Value = dwData["ABFIMNRKRS"].ToString();
                    or1.Parameters.Add("ABFIMLFDNR", OracleType.NVarChar).Value = dwData["ABFIMLFDNR"].ToString();
                    or1.Parameters.Add("ABFIMPOS", OracleType.NVarChar).Value = dwData["ABFIMPOS"].ToString();
                    or1.Parameters.Add("ABFISTK", OracleType.NVarChar).Value = dwData["ABFISTK"].ToString();
                    or1.Parameters.Add("ABFIMG", OracleType.NVarChar).Value = dwData["ABFIMG"].ToString();
                    or1.Parameters.Add("ABFIMTR", OracleType.NVarChar).Value = dwData["ABFIMTR"].ToString();
                    or1.Parameters.Add("ABFIDIFFMG", OracleType.NVarChar).Value = dwData["ABFIDIFFMG"].ToString();
                    or1.Parameters.Add("ABFISTARTDAT", OracleType.NVarChar).Value = dwData["ABFISTARTDAT"].ToString();
                    or1.Parameters.Add("ABFISTARTZT", OracleType.NVarChar).Value = dwData["ABFISTARTZT"].ToString();
                    or1.Parameters.Add("ABFIENDDAT", OracleType.NVarChar).Value = dwData["ABFIENDDAT"].ToString();
                    or1.Parameters.Add("ABFIENDZT", OracleType.NVarChar).Value = dwData["ABFIENDZT"].ToString();
                    or1.Parameters.Add("ABFANZTLG", OracleType.NVarChar).Value = dwData["ABFANZTLG"].ToString();
                    or1.Parameters.Add("ABFRETOURKZ", OracleType.NVarChar).Value = dwData["ABFRETOURKZ"].ToString();
                    or1.Parameters.Add("ABFREAUFKRS", OracleType.NVarChar).Value = dwData["ABFREAUFKRS"].ToString();
                    or1.Parameters.Add("ABFREAUFLFD", OracleType.NVarChar).Value = dwData["ABFREAUFLFD"].ToString();
                    or1.Parameters.Add("ABFREAUFPOS", OracleType.NVarChar).Value = dwData["ABFREAUFPOS"].ToString();
                    or1.Parameters.Add("ABFSTUFE", OracleType.NVarChar).Value = dwData["ABFSTUFE"].ToString();
                    or1.Parameters.Add("ABFWERK", OracleType.NVarChar).Value = dwData["ABFWERK"].ToString();
                    or1.Parameters.Add("ABFANRKRS", OracleType.NVarChar).Value = dwData["ABFANRKRS"].ToString();
                    or1.Parameters.Add("ABFALFDNR", OracleType.NVarChar).Value = dwData["ABFALFDNR"].ToString();
                    or1.Parameters.Add("ABFSAFOLGE", OracleType.NVarChar).Value = dwData["ABFSAFOLGE"].ToString();
                    or1.Parameters.Add("ABFAEVOR", OracleType.NVarChar).Value = dwData["ABFAEVOR"].ToString();
                    or1.Parameters.Add("ABFEINSTKA", OracleType.NVarChar).Value = dwData["ABFEINSTKA"].ToString();
                    or1.Parameters.Add("ABFBANRKRS", OracleType.NVarChar).Value = dwData["ABFBANRKRS"].ToString();
                    or1.Parameters.Add("ABFBALFDNR", OracleType.NVarChar).Value = dwData["ABFBALFDNR"].ToString();
                    or1.Parameters.Add("ABFEVARHNR", OracleType.NVarChar).Value = dwData["ABFEVARHNR"].ToString();
                    or1.Parameters.Add("ABFEVARUNR", OracleType.NVarChar).Value = dwData["ABFEVARUNR"].ToString();
                    or1.Parameters.Add("ABFRUESTFAM", OracleType.NVarChar).Value = dwData["ABFRUESTFAM"].ToString();
                    or1.Parameters.Add("ABFBNRKRS", OracleType.NVarChar).Value = dwData["ABFBNRKRS"].ToString();
                    or1.Parameters.Add("ABFBLFDNR", OracleType.NVarChar).Value = dwData["ABFBLFDNR"].ToString();
                    or1.Parameters.Add("ABFBPOS", OracleType.NVarChar).Value = dwData["ABFBPOS"].ToString();
                    or1.Parameters.Add("ABFVONMOD", OracleType.NVarChar).Value = dwData["ABFVONMOD"].ToString();
                    or1.Parameters.Add("ABFBISMOD", OracleType.NVarChar).Value = dwData["ABFBISMOD"].ToString();
                    or1.Parameters.Add("ABFBLOCKKZ1", OracleType.NVarChar).Value = dwData["ABFBLOCKKZ1"].ToString();
                    or1.Parameters.Add("ABFBLOCKKZ2", OracleType.NVarChar).Value = dwData["ABFBLOCKKZ2"].ToString();
                    or1.Parameters.Add("ABFPAPIERKZ", OracleType.NVarChar).Value = dwData["ABFPAPIERKZ"].ToString();
                    or1.Parameters.Add("ABFKALKKZ", OracleType.NVarChar).Value = dwData["ABFKALKKZ"].ToString();
                    or1.Parameters.Add("ABFALTKSTKZ", OracleType.NVarChar).Value = dwData["ABFALTKSTKZ"].ToString();
                    or1.Parameters.Add("ABFBDEKEN", OracleType.NVarChar).Value = dwData["ABFBDEKEN"].ToString();
                    or1.Parameters.Add("ABFPRIO", OracleType.NVarChar).Value = dwData["ABFPRIO"].ToString();
                    or1.Parameters.Add("ABFSTATKZ", OracleType.NVarChar).Value = dwData["ABFSTATKZ"].ToString();
                    or1.Parameters.Add("ABFPROZMG", OracleType.NVarChar).Value = dwData["ABFPROZMG"].ToString();
                    or1.Parameters.Add("ABFMLMG", OracleType.NVarChar).Value = dwData["ABFMLMG"].ToString();
                    or1.Parameters.Add("ABFQUALI", OracleType.NVarChar).Value = dwData["ABFQUALI"].ToString();
                    or1.Parameters.Add("ABFLGRP", OracleType.NVarChar).Value = dwData["ABFLGRP"].ToString();
                    or1.Parameters.Add("ABFLART", OracleType.NVarChar).Value = dwData["ABFLART"].ToString();
                    or1.Parameters.Add("ABFLZDR", OracleType.NVarChar).Value = dwData["ABFLZDR"].ToString();
                    or1.Parameters.Add("ABFPRBMGZT", OracleType.NVarChar).Value = dwData["ABFPRBMGZT"].ToString();
                    or1.Parameters.Add("ABFZEITLN", OracleType.NVarChar).Value = dwData["ABFZEITLN"].ToString();
                    or1.Parameters.Add("ABFPENETTO", OracleType.NVarChar).Value = dwData["ABFPENETTO"].ToString();
                    or1.Parameters.Add("ABFPLKOST", OracleType.NVarChar).Value = dwData["ABFPLKOST"].ToString();
                    or1.Parameters.Add("ABFLABDIPS", OracleType.NVarChar).Value = dwData["ABFLABDIPS"].ToString();
                    or1.Parameters.Add("ABFNBREP", OracleType.NVarChar).Value = dwData["ABFNBREP"].ToString();
                    or1.Parameters.Add("ABFAGENTF", OracleType.NVarChar).Value = dwData["ABFAGENTF"].ToString();
                    or1.Parameters.Add("ABFBAFOLGE", OracleType.NVarChar).Value = dwData["ABFBAFOLGE"].ToString();
                    #endregion
                    Connect2Proxy(or1);
                    UpdateABFOLGE_EXT(dwData);
                    break;
                default:
                    break;
            }


        }
        public void UpdateABFOLGE_EXT(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE ABFOLGE SET "
                + "ABFVNAME=:ABFVNAME,"
                + "ABFFLAG=:ABFFLAG,"
                + "ABFEGVNAME1=:ABFEGVNAME1,"
                + "ABFEGFLAG1=:ABFEGFLAG1,"
                + "ABFEGVNAME2=:ABFEGVNAME2,"
                + "ABFEGFLAG2=:ABFEGFLAG2,"
                + "ABFEGVNAME3=:ABFEGVNAME3,"
                + "ABFEGFLAG3=:ABFEGFLAG3,"
                + "ABFEGVNAME4=:ABFEGVNAME4,"
                + "ABFEGFLAG4=:ABFEGFLAG4,"
                + "ABFEGVNAME5=:ABFEGVNAME5,"
                + "ABFEGFLAG5=:ABFEGFLAG5,"
                + "ABFMKFS=:ABFMKFS,"
                + "ABFMKFI=:ABFMKFI,"
                + "ABFMKGS=:ABFMKGS,"
                + "ABFMKGI=:ABFMKGI,"
                + "ABFMKKS=:ABFMKKS,"
                + "ABFMKKI=:ABFMKKI,"
                + "ABFMKRWS=:ABFMKRWS,"
                + "ABFMKRWI=:ABFMKRWI,"
                + "ABFMKFWS=:ABFMKFWS,"
                + "ABFMKFWI=:ABFMKFWI,"
                + "ABFMKSOS=:ABFMKSOS,"
                + "ABFMKSOI=:ABFMKSOI,"
                + "ABFMKTS=:ABFMKTS,"
                + "ABFMKTI=:ABFMKTI,"
                + "ABFMKUS=:ABFMKUS,"
                + "ABFMKUI=:ABFMKUI,"
                + "ABFMKREZFS=:ABFMKREZFS,"
                + "ABFMKREZFI=:ABFMKREZFI,"
                + "ABFMKREZCS=:ABFMKREZCS,"
                + "ABFMKREZCI=:ABFMKREZCI,"
                + "ABFMGKS1=:ABFMGKS1,"
                + "ABFMGKS2=:ABFMGKS2,"
                + "ABFMGKS3=:ABFMGKS3,"
                + "ABFMGKS4=:ABFMGKS4,"
                + "ABFMGKS5=:ABFMGKS5,"
                + "ABFMGKI1=:ABFMGKI1,"
                + "ABFMGKI2=:ABFMGKI2,"
                + "ABFMGKI3=:ABFMGKI3,"
                + "ABFMGKI4=:ABFMGKI4,"
                + "ABFMGKI5=:ABFMGKI5,"
                + "ABFFKMS1=:ABFFKMS1,"
                + "ABFFKMS2=:ABFFKMS2,"
                + "ABFFKMS3=:ABFFKMS3,"
                + "ABFFKMS4=:ABFFKMS4,"
                + "ABFFKMS5=:ABFFKMS5,"
                + "ABFFKMI1=:ABFFKMI1,"
                + "ABFFKMI2=:ABFFKMI2,"
                + "ABFFKMI3=:ABFFKMI3,"
                + "ABFFKMI4=:ABFFKMI4,"
                + "ABFFKMI5=:ABFFKMI5,"
                + "ABFFKPS1=:ABFFKPS1,"
                + "ABFFKPS2=:ABFFKPS2,"
                + "ABFFKPS3=:ABFFKPS3,"
                + "ABFFKPS4=:ABFFKPS4,"
                + "ABFFKPS5=:ABFFKPS5,"
                + "ABFFKPI1=:ABFFKPI1,"
                + "ABFFKPI2=:ABFFKPI2,"
                + "ABFFKPI3=:ABFFKPI3,"
                + "ABFFKPI4=:ABFFKPI4,"
                + "ABFFKPI5=:ABFFKPI5,"
                + "ABFFGKS1=:ABFFGKS1,"
                + "ABFFGKS2=:ABFFGKS2,"
                + "ABFFGKS3=:ABFFGKS3,"
                + "ABFFGKS4=:ABFFGKS4,"
                + "ABFFGKS5=:ABFFGKS5,"
                + "ABFFGKI1=:ABFFGKI1,"
                + "ABFFGKI2=:ABFFGKI2,"
                + "ABFFGKI3=:ABFFGKI3,"
                + "ABFFGKI4=:ABFFGKI4,"
                + "ABFFGKI5=:ABFFGKI5,"
                + "ABFFFKS=:ABFFFKS,"
                + "ABFFFKI=:ABFFFKI,"
                + "ABFIMZT=:ABFIMZT,"
                + "ABFIPZT=:ABFIPZT,"
                + "ABFIRML=:ABFIRML,"
                + "ABFIRMS=:ABFIRMS,"
                + "ABFIRPZ=:ABFIRPZ,"
                + "ABFBNRZ=:ABFBNRZ,"
                + "ABFSCHBSTA=:ABFSCHBSTA,"
                + "ABFWARSTA=:ABFWARSTA,"
                + "ABFBSMENGE=:ABFBSMENGE,"
                + "ABFFBSTA=:ABFFBSTA,"
                + "ABFGEBNR=:ABFGEBNR,"
                + "ABFBEHNRT=:ABFBEHNRT,"
                + "ABFBEHNRN=:ABFBEHNRN,"
                + "ABFFBBELO=:ABFFBBELO,"
                + "ABFFBBELB=:ABFFBBELB,"
                + "ABFFBBELP=:ABFFBBELP,"
                + "ABFSTOPSTA=:ABFSTOPSTA,"
                + "ABFSTOPGRD=:ABFSTOPGRD,"
                + "ABFZUSKZ=:ABFZUSKZ,"
                + "ABFERSTKZ=:ABFERSTKZ,"
                + "ABFLAEAENDO=:ABFLAEAENDO,"
                + "ABFPRUEFGEN=:ABFPRUEFGEN,"
                + "ABFCWEIGHT=:ABFCWEIGHT,"
                + "ABFRUECKBEN=:ABFRUECKBEN,"
                + "ABFKETTANZ=:ABFKETTANZ,"
                + "ABFMETHODE=:ABFMETHODE,"
                + "ABFRZKZ=:ABFRZKZ,"
                + "ABFREWEIL=:ABFREWEIL,"
                + "ABFURLAND=:ABFURLAND,"
                + "ABFTSDAT=:ABFTSDAT,"
                + "ABFTSAFO=:ABFTSAFO,"
                + "ABFTEDAT=:ABFTEDAT,"
                + "ABFTEAFO=:ABFTEAFO,"
                + "ABFTSSDAT=:ABFTSSDAT,"
                + "ABFTESDAT=:ABFTESDAT,"
                + "ABFFILLER=:ABFFILLER "
                + " WHERE  "
                + "  ABFMANDANT=:ABFMANDANT AND ABFAUFKRS=:ABFAUFKRS  AND ABFAUFLFD=:ABFAUFLFD AND ABFAUFPOS=:ABFAUFPOS AND ABFAFOLGE=:ABFAFOLGE ";

            or1.Parameters.Add("ABFMANDANT", OracleType.NVarChar).Value = dwData["ABFMANDANT"].ToString();
            or1.Parameters.Add("ABFAUFKRS", OracleType.NVarChar).Value = dwData["ABFAUFKRS"].ToString();
            or1.Parameters.Add("ABFAUFLFD", OracleType.NVarChar).Value = dwData["ABFAUFLFD"].ToString();
            or1.Parameters.Add("ABFAUFPOS", OracleType.NVarChar).Value = dwData["ABFAUFPOS"].ToString();
            or1.Parameters.Add("ABFAFOLGE", OracleType.NVarChar).Value = dwData["ABFAFOLGE"].ToString();
            or1.Parameters.Add("ABFVNAME", OracleType.NVarChar).Value = dwData["ABFVNAME"].ToString();
            or1.Parameters.Add("ABFFLAG", OracleType.NVarChar).Value = dwData["ABFFLAG"].ToString();
            or1.Parameters.Add("ABFEGVNAME1", OracleType.NVarChar).Value = dwData["ABFEGVNAME1"].ToString();
            or1.Parameters.Add("ABFEGFLAG1", OracleType.NVarChar).Value = dwData["ABFEGFLAG1"].ToString();
            or1.Parameters.Add("ABFEGVNAME2", OracleType.NVarChar).Value = dwData["ABFEGVNAME2"].ToString();
            or1.Parameters.Add("ABFEGFLAG2", OracleType.NVarChar).Value = dwData["ABFEGFLAG2"].ToString();
            or1.Parameters.Add("ABFEGVNAME3", OracleType.NVarChar).Value = dwData["ABFEGVNAME3"].ToString();
            or1.Parameters.Add("ABFEGFLAG3", OracleType.NVarChar).Value = dwData["ABFEGFLAG3"].ToString();
            or1.Parameters.Add("ABFEGVNAME4", OracleType.NVarChar).Value = dwData["ABFEGVNAME4"].ToString();
            or1.Parameters.Add("ABFEGFLAG4", OracleType.NVarChar).Value = dwData["ABFEGFLAG4"].ToString();
            or1.Parameters.Add("ABFEGVNAME5", OracleType.NVarChar).Value = dwData["ABFEGVNAME5"].ToString();
            or1.Parameters.Add("ABFEGFLAG5", OracleType.NVarChar).Value = dwData["ABFEGFLAG5"].ToString();
            or1.Parameters.Add("ABFMKFS", OracleType.NVarChar).Value = dwData["ABFMKFS"].ToString();
            or1.Parameters.Add("ABFMKFI", OracleType.NVarChar).Value = dwData["ABFMKFI"].ToString();
            or1.Parameters.Add("ABFMKGS", OracleType.NVarChar).Value = dwData["ABFMKGS"].ToString();
            or1.Parameters.Add("ABFMKGI", OracleType.NVarChar).Value = dwData["ABFMKGI"].ToString();
            or1.Parameters.Add("ABFMKKS", OracleType.NVarChar).Value = dwData["ABFMKKS"].ToString();
            or1.Parameters.Add("ABFMKKI", OracleType.NVarChar).Value = dwData["ABFMKKI"].ToString();
            or1.Parameters.Add("ABFMKRWS", OracleType.NVarChar).Value = dwData["ABFMKRWS"].ToString();
            or1.Parameters.Add("ABFMKRWI", OracleType.NVarChar).Value = dwData["ABFMKRWI"].ToString();
            or1.Parameters.Add("ABFMKFWS", OracleType.NVarChar).Value = dwData["ABFMKFWS"].ToString();
            or1.Parameters.Add("ABFMKFWI", OracleType.NVarChar).Value = dwData["ABFMKFWI"].ToString();
            or1.Parameters.Add("ABFMKSOS", OracleType.NVarChar).Value = dwData["ABFMKSOS"].ToString();
            or1.Parameters.Add("ABFMKSOI", OracleType.NVarChar).Value = dwData["ABFMKSOI"].ToString();
            or1.Parameters.Add("ABFMKTS", OracleType.NVarChar).Value = dwData["ABFMKTS"].ToString();
            or1.Parameters.Add("ABFMKTI", OracleType.NVarChar).Value = dwData["ABFMKTI"].ToString();
            or1.Parameters.Add("ABFMKUS", OracleType.NVarChar).Value = dwData["ABFMKUS"].ToString();
            or1.Parameters.Add("ABFMKUI", OracleType.NVarChar).Value = dwData["ABFMKUI"].ToString();
            or1.Parameters.Add("ABFMKREZFS", OracleType.NVarChar).Value = dwData["ABFMKREZFS"].ToString();
            or1.Parameters.Add("ABFMKREZFI", OracleType.NVarChar).Value = dwData["ABFMKREZFI"].ToString();
            or1.Parameters.Add("ABFMKREZCS", OracleType.NVarChar).Value = dwData["ABFMKREZCS"].ToString();
            or1.Parameters.Add("ABFMKREZCI", OracleType.NVarChar).Value = dwData["ABFMKREZCI"].ToString();
            or1.Parameters.Add("ABFMGKS1", OracleType.NVarChar).Value = dwData["ABFMGKS1"].ToString();
            or1.Parameters.Add("ABFMGKS2", OracleType.NVarChar).Value = dwData["ABFMGKS2"].ToString();
            or1.Parameters.Add("ABFMGKS3", OracleType.NVarChar).Value = dwData["ABFMGKS3"].ToString();
            or1.Parameters.Add("ABFMGKS4", OracleType.NVarChar).Value = dwData["ABFMGKS4"].ToString();
            or1.Parameters.Add("ABFMGKS5", OracleType.NVarChar).Value = dwData["ABFMGKS5"].ToString();
            or1.Parameters.Add("ABFMGKI1", OracleType.NVarChar).Value = dwData["ABFMGKI1"].ToString();
            or1.Parameters.Add("ABFMGKI2", OracleType.NVarChar).Value = dwData["ABFMGKI2"].ToString();
            or1.Parameters.Add("ABFMGKI3", OracleType.NVarChar).Value = dwData["ABFMGKI3"].ToString();
            or1.Parameters.Add("ABFMGKI4", OracleType.NVarChar).Value = dwData["ABFMGKI4"].ToString();
            or1.Parameters.Add("ABFMGKI5", OracleType.NVarChar).Value = dwData["ABFMGKI5"].ToString();
            or1.Parameters.Add("ABFFKMS1", OracleType.NVarChar).Value = dwData["ABFFKMS1"].ToString();
            or1.Parameters.Add("ABFFKMS2", OracleType.NVarChar).Value = dwData["ABFFKMS2"].ToString();
            or1.Parameters.Add("ABFFKMS3", OracleType.NVarChar).Value = dwData["ABFFKMS3"].ToString();
            or1.Parameters.Add("ABFFKMS4", OracleType.NVarChar).Value = dwData["ABFFKMS4"].ToString();
            or1.Parameters.Add("ABFFKMS5", OracleType.NVarChar).Value = dwData["ABFFKMS5"].ToString();
            or1.Parameters.Add("ABFFKMI1", OracleType.NVarChar).Value = dwData["ABFFKMI1"].ToString();
            or1.Parameters.Add("ABFFKMI2", OracleType.NVarChar).Value = dwData["ABFFKMI2"].ToString();
            or1.Parameters.Add("ABFFKMI3", OracleType.NVarChar).Value = dwData["ABFFKMI3"].ToString();
            or1.Parameters.Add("ABFFKMI4", OracleType.NVarChar).Value = dwData["ABFFKMI4"].ToString();
            or1.Parameters.Add("ABFFKMI5", OracleType.NVarChar).Value = dwData["ABFFKMI5"].ToString();
            or1.Parameters.Add("ABFFKPS1", OracleType.NVarChar).Value = dwData["ABFFKPS1"].ToString();
            or1.Parameters.Add("ABFFKPS2", OracleType.NVarChar).Value = dwData["ABFFKPS2"].ToString();
            or1.Parameters.Add("ABFFKPS3", OracleType.NVarChar).Value = dwData["ABFFKPS3"].ToString();
            or1.Parameters.Add("ABFFKPS4", OracleType.NVarChar).Value = dwData["ABFFKPS4"].ToString();
            or1.Parameters.Add("ABFFKPS5", OracleType.NVarChar).Value = dwData["ABFFKPS5"].ToString();
            or1.Parameters.Add("ABFFKPI1", OracleType.NVarChar).Value = dwData["ABFFKPI1"].ToString();
            or1.Parameters.Add("ABFFKPI2", OracleType.NVarChar).Value = dwData["ABFFKPI2"].ToString();
            or1.Parameters.Add("ABFFKPI3", OracleType.NVarChar).Value = dwData["ABFFKPI3"].ToString();
            or1.Parameters.Add("ABFFKPI4", OracleType.NVarChar).Value = dwData["ABFFKPI4"].ToString();
            or1.Parameters.Add("ABFFKPI5", OracleType.NVarChar).Value = dwData["ABFFKPI5"].ToString();
            or1.Parameters.Add("ABFFGKS1", OracleType.NVarChar).Value = dwData["ABFFGKS1"].ToString();
            or1.Parameters.Add("ABFFGKS2", OracleType.NVarChar).Value = dwData["ABFFGKS2"].ToString();
            or1.Parameters.Add("ABFFGKS3", OracleType.NVarChar).Value = dwData["ABFFGKS3"].ToString();
            or1.Parameters.Add("ABFFGKS4", OracleType.NVarChar).Value = dwData["ABFFGKS4"].ToString();
            or1.Parameters.Add("ABFFGKS5", OracleType.NVarChar).Value = dwData["ABFFGKS5"].ToString();
            or1.Parameters.Add("ABFFGKI1", OracleType.NVarChar).Value = dwData["ABFFGKI1"].ToString();
            or1.Parameters.Add("ABFFGKI2", OracleType.NVarChar).Value = dwData["ABFFGKI2"].ToString();
            or1.Parameters.Add("ABFFGKI3", OracleType.NVarChar).Value = dwData["ABFFGKI3"].ToString();
            or1.Parameters.Add("ABFFGKI4", OracleType.NVarChar).Value = dwData["ABFFGKI4"].ToString();
            or1.Parameters.Add("ABFFGKI5", OracleType.NVarChar).Value = dwData["ABFFGKI5"].ToString();
            or1.Parameters.Add("ABFFFKS", OracleType.NVarChar).Value = dwData["ABFFFKS"].ToString();
            or1.Parameters.Add("ABFFFKI", OracleType.NVarChar).Value = dwData["ABFFFKI"].ToString();
            or1.Parameters.Add("ABFIMZT", OracleType.NVarChar).Value = dwData["ABFIMZT"].ToString();
            or1.Parameters.Add("ABFIPZT", OracleType.NVarChar).Value = dwData["ABFIPZT"].ToString();
            or1.Parameters.Add("ABFIRML", OracleType.NVarChar).Value = dwData["ABFIRML"].ToString();
            or1.Parameters.Add("ABFIRMS", OracleType.NVarChar).Value = dwData["ABFIRMS"].ToString();
            or1.Parameters.Add("ABFIRPZ", OracleType.NVarChar).Value = dwData["ABFIRPZ"].ToString();
            or1.Parameters.Add("ABFBNRZ", OracleType.NVarChar).Value = dwData["ABFBNRZ"].ToString();
            or1.Parameters.Add("ABFSCHBSTA", OracleType.NVarChar).Value = dwData["ABFSCHBSTA"].ToString();
            or1.Parameters.Add("ABFWARSTA", OracleType.NVarChar).Value = dwData["ABFWARSTA"].ToString();
            or1.Parameters.Add("ABFBSMENGE", OracleType.NVarChar).Value = dwData["ABFBSMENGE"].ToString();
            or1.Parameters.Add("ABFFBSTA", OracleType.NVarChar).Value = dwData["ABFFBSTA"].ToString();
            or1.Parameters.Add("ABFGEBNR", OracleType.NVarChar).Value = dwData["ABFGEBNR"].ToString();
            or1.Parameters.Add("ABFBEHNRT", OracleType.NVarChar).Value = dwData["ABFBEHNRT"].ToString();
            or1.Parameters.Add("ABFBEHNRN", OracleType.NVarChar).Value = dwData["ABFBEHNRN"].ToString();
            or1.Parameters.Add("ABFFBBELO", OracleType.NVarChar).Value = dwData["ABFFBBELO"].ToString();
            or1.Parameters.Add("ABFFBBELB", OracleType.NVarChar).Value = dwData["ABFFBBELB"].ToString();
            or1.Parameters.Add("ABFFBBELP", OracleType.NVarChar).Value = dwData["ABFFBBELP"].ToString();
            or1.Parameters.Add("ABFSTOPSTA", OracleType.NVarChar).Value = dwData["ABFSTOPSTA"].ToString();
            or1.Parameters.Add("ABFSTOPGRD", OracleType.NVarChar).Value = dwData["ABFSTOPGRD"].ToString();
            or1.Parameters.Add("ABFZUSKZ", OracleType.NVarChar).Value = dwData["ABFZUSKZ"].ToString();
            or1.Parameters.Add("ABFERSTKZ", OracleType.NVarChar).Value = dwData["ABFERSTKZ"].ToString();
            or1.Parameters.Add("ABFLAEAENDO", OracleType.NVarChar).Value = dwData["ABFLAEAENDO"].ToString();
            or1.Parameters.Add("ABFPRUEFGEN", OracleType.NVarChar).Value = dwData["ABFPRUEFGEN"].ToString();
            or1.Parameters.Add("ABFCWEIGHT", OracleType.NVarChar).Value = dwData["ABFCWEIGHT"].ToString();
            or1.Parameters.Add("ABFRUECKBEN", OracleType.NVarChar).Value = dwData["ABFRUECKBEN"].ToString();
            or1.Parameters.Add("ABFKETTANZ", OracleType.NVarChar).Value = dwData["ABFKETTANZ"].ToString();
            or1.Parameters.Add("ABFMETHODE", OracleType.NVarChar).Value = dwData["ABFMETHODE"].ToString();
            or1.Parameters.Add("ABFRZKZ", OracleType.NVarChar).Value = dwData["ABFRZKZ"].ToString();
            or1.Parameters.Add("ABFREWEIL", OracleType.NVarChar).Value = dwData["ABFREWEIL"].ToString();
            or1.Parameters.Add("ABFURLAND", OracleType.NVarChar).Value = dwData["ABFURLAND"].ToString();
            or1.Parameters.Add("ABFTSDAT", OracleType.NVarChar).Value = dwData["ABFTSDAT"].ToString();
            or1.Parameters.Add("ABFTSAFO", OracleType.NVarChar).Value = dwData["ABFTSAFO"].ToString();
            or1.Parameters.Add("ABFTEDAT", OracleType.NVarChar).Value = dwData["ABFTEDAT"].ToString();
            or1.Parameters.Add("ABFTEAFO", OracleType.NVarChar).Value = dwData["ABFTEAFO"].ToString();
            or1.Parameters.Add("ABFTSSDAT", OracleType.NVarChar).Value = dwData["ABFTSSDAT"].ToString();
            or1.Parameters.Add("ABFTESDAT", OracleType.NVarChar).Value = dwData["ABFTESDAT"].ToString();
            or1.Parameters.Add("ABFFILLER", OracleType.NVarChar).Value = dwData["ABFFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateABKOPF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE ABKOPF SET "
                + "ABKMANDANT=:ABKMANDANT,"
                + "ABKAUFKRS=:ABKAUFKRS,"
                + "ABKAUFLFD=:ABKAUFLFD,"
                + "ABKAUFART=:ABKAUFART,"
                + "ABKKUNDNR=:ABKKUNDNR,"
                + "ABKWERK=:ABKWERK,"
                + "ABKABT=:ABKABT,"
                + "ABKVTRNR=:ABKVTRNR,"
                + "ABKAEDAT=:ABKAEDAT,"
                + "ABKKDAUFTNR=:ABKKDAUFTNR,"
                + "ABKKDAUFDAT=:ABKKDAUFDAT,"
                + "ABKKDZEICH=:ABKKDZEICH,"
                + "ABKKDSB=:ABKKDSB,"
                + "ABKARTSB=:ABKARTSB,"
                + "ABKORDER=:ABKORDER,"
                + "ABKSPED=:ABKSPED,"
                + "ABKVERSART=:ABKVERSART,"
                + "ABKVERPART=:ABKVERPART,"
                + "ABKVERSADR=:ABKVERSADR,"
                + "ABKDIVADR=:ABKDIVADR,"
                + "ABKBSTADR=:ABKBSTADR,"
                + "ABKBSTDAT=:ABKBSTDAT,"
                + "ABKRECHADR=:ABKRECHADR,"
                + "ABKAUFTTXT1=:ABKAUFTTXT1,"
                + "ABKAUFTTXT2=:ABKAUFTTXT2,"
                + "ABKZENTREG=:ABKZENTREG,"
                + "ABKTEXTE11=:ABKTEXTE11,"
                + "ABKTEXTE12=:ABKTEXTE12,"
                + "ABKTEXTE13=:ABKTEXTE13,"
                + "ABKTEXTE14=:ABKTEXTE14,"
                + "ABKTEXTE21=:ABKTEXTE21,"
                + "ABKTEXTE22=:ABKTEXTE22,"
                + "ABKTEXTE23=:ABKTEXTE23,"
                + "ABKTEXTE24=:ABKTEXTE24,"
                + "ABKAENDZL=:ABKAENDZL,"
                + "ABKAENDBEN=:ABKAENDBEN,"
                + "ABKAENDDAT=:ABKAENDDAT,"
                + "ABKNEUBEN=:ABKNEUBEN,"
                + "ABKNEUDAT=:ABKNEUDAT,"
                + "ABKDIVARTKZ=:ABKDIVARTKZ,"
                + "ABKAGKKZ=:ABKAGKKZ,"
                + "ABKKDKONTR=:ABKKDKONTR,"
                + "ABKSTKZL=:ABKSTKZL,"
                + "ABKCOMPKZ=:ABKCOMPKZ,"
                + "ABKFILLER=:ABKFILLER "
                + " WHERE  "
                + "  ABKMANDANT=:ABKMANDANT AND ABKAUFKRS=:ABKAUFKRS  AND ABKAUFLFD=:ABKAUFLFD ";

            or1.Parameters.Add("ABKMANDANT", OracleType.NVarChar).Value = dwData["ABKMANDANT"].ToString();
            or1.Parameters.Add("ABKAUFKRS", OracleType.NVarChar).Value = dwData["ABKAUFKRS"].ToString();
            or1.Parameters.Add("ABKAUFLFD", OracleType.NVarChar).Value = dwData["ABKAUFLFD"].ToString();
            or1.Parameters.Add("ABKAUFART", OracleType.NVarChar).Value = dwData["ABKAUFART"].ToString();
            or1.Parameters.Add("ABKKUNDNR", OracleType.NVarChar).Value = dwData["ABKKUNDNR"].ToString();
            or1.Parameters.Add("ABKWERK", OracleType.NVarChar).Value = dwData["ABKWERK"].ToString();
            or1.Parameters.Add("ABKABT", OracleType.NVarChar).Value = dwData["ABKABT"].ToString();
            or1.Parameters.Add("ABKVTRNR", OracleType.NVarChar).Value = dwData["ABKVTRNR"].ToString();
            or1.Parameters.Add("ABKAEDAT", OracleType.NVarChar).Value = dwData["ABKAEDAT"].ToString();
            or1.Parameters.Add("ABKKDAUFTNR", OracleType.NVarChar).Value = dwData["ABKKDAUFTNR"].ToString();
            or1.Parameters.Add("ABKKDAUFDAT", OracleType.NVarChar).Value = dwData["ABKKDAUFDAT"].ToString();
            or1.Parameters.Add("ABKKDZEICH", OracleType.NVarChar).Value = dwData["ABKKDZEICH"].ToString();
            or1.Parameters.Add("ABKKDSB", OracleType.NVarChar).Value = dwData["ABKKDSB"].ToString();
            or1.Parameters.Add("ABKARTSB", OracleType.NVarChar).Value = dwData["ABKARTSB"].ToString();
            or1.Parameters.Add("ABKORDER", OracleType.NVarChar).Value = dwData["ABKORDER"].ToString();
            or1.Parameters.Add("ABKSPED", OracleType.NVarChar).Value = dwData["ABKSPED"].ToString();
            or1.Parameters.Add("ABKVERSART", OracleType.NVarChar).Value = dwData["ABKVERSART"].ToString();
            or1.Parameters.Add("ABKVERPART", OracleType.NVarChar).Value = dwData["ABKVERPART"].ToString();
            or1.Parameters.Add("ABKVERSADR", OracleType.NVarChar).Value = dwData["ABKVERSADR"].ToString();
            or1.Parameters.Add("ABKDIVADR", OracleType.NVarChar).Value = dwData["ABKDIVADR"].ToString();
            or1.Parameters.Add("ABKBSTADR", OracleType.NVarChar).Value = dwData["ABKBSTADR"].ToString();
            or1.Parameters.Add("ABKBSTDAT", OracleType.NVarChar).Value = dwData["ABKBSTDAT"].ToString();
            or1.Parameters.Add("ABKRECHADR", OracleType.NVarChar).Value = dwData["ABKRECHADR"].ToString();
            or1.Parameters.Add("ABKAUFTTXT1", OracleType.NVarChar).Value = dwData["ABKAUFTTXT1"].ToString();
            or1.Parameters.Add("ABKAUFTTXT2", OracleType.NVarChar).Value = dwData["ABKAUFTTXT2"].ToString();
            or1.Parameters.Add("ABKZENTREG", OracleType.NVarChar).Value = dwData["ABKZENTREG"].ToString();
            or1.Parameters.Add("ABKTEXTE11", OracleType.NVarChar).Value = dwData["ABKTEXTE11"].ToString();
            or1.Parameters.Add("ABKTEXTE12", OracleType.NVarChar).Value = dwData["ABKTEXTE12"].ToString();
            or1.Parameters.Add("ABKTEXTE13", OracleType.NVarChar).Value = dwData["ABKTEXTE13"].ToString();
            or1.Parameters.Add("ABKTEXTE14", OracleType.NVarChar).Value = dwData["ABKTEXTE14"].ToString();
            or1.Parameters.Add("ABKTEXTE21", OracleType.NVarChar).Value = dwData["ABKTEXTE21"].ToString();
            or1.Parameters.Add("ABKTEXTE22", OracleType.NVarChar).Value = dwData["ABKTEXTE22"].ToString();
            or1.Parameters.Add("ABKTEXTE23", OracleType.NVarChar).Value = dwData["ABKTEXTE23"].ToString();
            or1.Parameters.Add("ABKTEXTE24", OracleType.NVarChar).Value = dwData["ABKTEXTE24"].ToString();
            or1.Parameters.Add("ABKAENDZL", OracleType.NVarChar).Value = dwData["ABKAENDZL"].ToString();
            or1.Parameters.Add("ABKAENDBEN", OracleType.NVarChar).Value = dwData["ABKAENDBEN"].ToString();
            or1.Parameters.Add("ABKAENDDAT", OracleType.NVarChar).Value = dwData["ABKAENDDAT"].ToString();
            or1.Parameters.Add("ABKNEUBEN", OracleType.NVarChar).Value = dwData["ABKNEUBEN"].ToString();
            or1.Parameters.Add("ABKNEUDAT", OracleType.NVarChar).Value = dwData["ABKNEUDAT"].ToString();
            or1.Parameters.Add("ABKDIVARTKZ", OracleType.NVarChar).Value = dwData["ABKDIVARTKZ"].ToString();
            or1.Parameters.Add("ABKAGKKZ", OracleType.NVarChar).Value = dwData["ABKAGKKZ"].ToString();
            or1.Parameters.Add("ABKKDKONTR", OracleType.NVarChar).Value = dwData["ABKKDKONTR"].ToString();
            or1.Parameters.Add("ABKSTKZL", OracleType.NVarChar).Value = dwData["ABKSTKZL"].ToString();
            or1.Parameters.Add("ABKCOMPKZ", OracleType.NVarChar).Value = dwData["ABKCOMPKZ"].ToString();
            or1.Parameters.Add("ABKFILLER", OracleType.NVarChar).Value = dwData["ABKFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateABPOS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (ITXDBVERSION)
            {
                case "50.24":
                    #region=====Part1=======
                    or1.CommandText = "UPDATE ABPOS SET "
           + "ABPMANDANT=:ABPMANDANT,"
           + "ABPAUFKRS=:ABPAUFKRS,"
           + "ABPAUFLFD=:ABPAUFLFD,"
           + "ABPAUFPOS=:ABPAUFPOS,"
           + "ABPVFAUFKRS=:ABPVFAUFKRS,"
           + "ABPVFAUFLFD=:ABPVFAUFLFD,"
           + "ABPVFAUFPOS=:ABPVFAUFPOS,"
           + "ABPAUFART=:ABPAUFART,"
           + "ABPAUFST=:ABPAUFST,"
           + "ABPAUFSTV=:ABPAUFSTV,"
           + "ABPAUFSTB=:ABPAUFSTB,"
           + "ABPAUTO=:ABPAUTO,"
           + "ABPPRIO=:ABPPRIO,"
           + "ABPTLVF=:ABPTLVF,"
           + "ABPDIVARTKZ=:ABPDIVARTKZ,"
           + "ABPKUNDNR=:ABPKUNDNR,"
           + "ABPWERK=:ABPWERK,"
           + "ABPABT=:ABPABT,"
           + "ABPWAKZ=:ABPWAKZ,"
           + "ABPART=:ABPART,"
           + "ABPVAR=:ABPVAR,"
           + "ABPFARBE=:ABPFARBE,"
           + "ABPDESS=:ABPDESS,"
           + "ABPCOLORIT=:ABPCOLORIT,"
           + "ABPBESCHICH=:ABPBESCHICH,"
           + "ABPGROE=:ABPGROE,"
           + "ABPAUFM=:ABPAUFM,"
           + "ABPVERP=:ABPVERP,"
           + "ABPANZVP=:ABPANZVP,"
           + "ABPFWARTGRA=:ABPFWARTGRA,"
           + "ABPFWARTGRP=:ABPFWARTGRP,"
           + "ABPZLO=:ABPZLO,"
           + "ABPZLB=:ABPZLB,"
           + "ABPBLO=:ABPBLO,"
           + "ABPSME=:ABPSME,"
           + "ABPSOLLMENGE1=:ABPSOLLMENGE1,"
           + "ABPSOLLMENGE2=:ABPSOLLMENGE2,"
           + "ABPSOLLMENGE3=:ABPSOLLMENGE3,"
           + "ABPSOLLMENGE4=:ABPSOLLMENGE4,"
           + "ABPSOLLMENGE5=:ABPSOLLMENGE5,"
           + "ABPSOLLMENGE6=:ABPSOLLMENGE6,"
           + "ABPSOLLMENGE7=:ABPSOLLMENGE7,"
           + "ABPSOLLMENGE8=:ABPSOLLMENGE8,"
           + "ABPRESMGE=:ABPRESMGE,"
           + "ABPRESKG=:ABPRESKG,"
           + "ABPRESSTK=:ABPRESSTK,"
           + "ABPZUGET=:ABPZUGET,"
           + "ABPZUGKG=:ABPZUGKG,"
           + "ABPZUGSTK=:ABPZUGSTK,"
           + "ABPDILFM=:ABPDILFM,"
           + "ABPDIKG=:ABPDIKG,"
           + "ABPDISTK=:ABPDISTK,"
           + "ABPZTLGKOMP=:ABPZTLGKOMP,"
           + "ABPSMGKZZU=:ABPSMGKZZU,"
           + "ABPVLLFM=:ABPVLLFM,"
           + "ABPVLKG=:ABPVLKG,"
           + "ABPVLSTK=:ABPVLSTK,"
           + "ABPEALFM=:ABPEALFM,"
           + "ABPEAKG=:ABPEAKG,"
           + "ABPEASTK=:ABPEASTK,"
           + "ABPEBLFM=:ABPEBLFM,"
           + "ABPEBKG=:ABPEBKG,"
           + "ABPEBSTK=:ABPEBSTK,"
           + "ABPABLFM=:ABPABLFM,"
           + "ABPABKG=:ABPABKG,"
           + "ABPABSTK=:ABPABSTK,"
           + "ABPVSLFM=:ABPVSLFM,"
           + "ABPVSKG=:ABPVSKG,"
           + "ABPVSSTK=:ABPVSSTK,"
           + "ABPRTLFM=:ABPRTLFM,"
           + "ABPRTKG=:ABPRTKG,"
           + "ABPRTSTK=:ABPRTSTK,"
           + "ABPROHWDAT=:ABPROHWDAT,"
           + "ABPKDDAT=:ABPKDDAT,"
           + "ABPWVDAT=:ABPWVDAT,"
           + "ABPLIEFDAT=:ABPLIEFDAT,"
           + "ABPLRUECK=:ABPLRUECK,"
           + "ABPLRDATE=:ABPLRDATE,"
           + "ABPDLR=:ABPDLR,"
           + "ABPVTRUECK=:ABPVTRUECK,"
           + "ABPVTDATE=:ABPVTDATE,"
           + "ABPUNKLAR=:ABPUNKLAR,"
           + "ABPVERSDAT=:ABPVERSDAT,"
           + "ABPFREIDAT=:ABPFREIDAT,"
           + "ABPSTARTDAT=:ABPSTARTDAT,"
           + "ABPENDDAT=:ABPENDDAT,"
           + "ABPSTARTDATA=:ABPSTARTDATA,"
           + "ABPENDDATA=:ABPENDDATA,"
           + "ABPLTERMAK=:ABPLTERMAK,"
           + "ABPBESTDAT=:ABPBESTDAT,"
           + "ABPANRKR=:ABPANRKR,"
           + "ABPALFDNR=:ABPALFDNR,"
           + "ABPAFOLGEV=:ABPAFOLGEV,"
           + "ABPAFOLGEB=:ABPAFOLGEB,"
           + "ABPANRKR2=:ABPANRKR2,"
           + "ABPALFDNR2=:ABPALFDNR2,"
           + "ABPAFOLGEV2=:ABPAFOLGEV2,"
           + "ABPAFOLGEB2=:ABPAFOLGEB2,"
           + "ABPANRKR3=:ABPANRKR3,"
           + "ABPALFDNR3=:ABPALFDNR3,"
           + "ABPAFOLGEV3=:ABPAFOLGEV3,"
           + "ABPAFOLGEB3=:ABPAFOLGEB3,"
           + "ABPANRKR4=:ABPANRKR4,"
           + "ABPALFDNR4=:ABPALFDNR4,"
           + "ABPAFOLGEV4=:ABPAFOLGEV4,"
           + "ABPAFOLGEB4=:ABPAFOLGEB4,"
           + "ABPVERSAEND=:ABPVERSAEND,"
           + "ABPVERSZL=:ABPVERSZL,"
           + "ABPTLFREIG=:ABPTLFREIG,"
           + "ABPTLFMG=:ABPTLFMG,"
           + "ABPFREIGKZ=:ABPFREIGKZ,"
           + "ABPLMAFOLGE=:ABPLMAFOLGE,"
           + "ABPENDAUFM=:ABPENDAUFM,"
           + "ABPZAUFM=:ABPZAUFM,"
           + "ABPLIEFNR=:ABPLIEFNR,"
           + "ABPGESSTA=:ABPGESSTA,"
           + "ABPKDSTA=:ABPKDSTA,"
           + "ABPWSSTA=:ABPWSSTA,"
           + "ABPAPSTA=:ABPAPSTA,"
           + "ABPRZSTA=:ABPRZSTA,"
           + "ABPWPSTA=:ABPWPSTA,"
           + "ABPWBSTA=:ABPWBSTA,"
           + "ABPABSTA=:ABPABSTA,"
           + "ABPERLKZ=:ABPERLKZ,"
           + "ABPERLDAT=:ABPERLDAT,"
           + "ABPBEWKZ=:ABPBEWKZ,"
           + "ABPDRKZ1=:ABPDRKZ1,"
           + "ABPDRKZ2=:ABPDRKZ2,"
           + "ABPDRKZ3=:ABPDRKZ3,"
           + "ABPDRKZ4=:ABPDRKZ4,"
           + "ABPDRKZ5=:ABPDRKZ5,"
           + "ABPDRKZ6=:ABPDRKZ6,"
           + "ABPDRKZ7=:ABPDRKZ7,"
           + "ABPDRKZ8=:ABPDRKZ8,"
           + "ABPDRKZ9=:ABPDRKZ9,"
           + "ABPDRKZ10=:ABPDRKZ10,"
           + "ABPDR1USER=:ABPDR1USER,"
           + "ABPDR1DAT=:ABPDR1DAT,"
           + "ABPDR8USER=:ABPDR8USER,"
           + "ABPDR8DAT=:ABPDR8DAT,"
           + "ABPRETOURZL=:ABPRETOURZL,"
           + "ABPRPCOUNTAK=:ABPRPCOUNTAK,"
           + "ABPURAUFKRS=:ABPURAUFKRS,"
           + "ABPURAUFLFD=:ABPURAUFLFD,"
           + "ABPURAUFPOS=:ABPURAUFPOS,"
           + "ABPASAUFKRS=:ABPASAUFKRS,"
           + "ABPASAUFLFD=:ABPASAUFLFD,"
           + "ABPASAUFPOS=:ABPASAUFPOS,"
           + "ABPREAFOLGE=:ABPREAFOLGE,"
           + "ABPRWKRS=:ABPRWKRS,"
           + "ABPRWLFD=:ABPRWLFD,"
           + "ABPSTKNRKR=:ABPSTKNRKR,"
           + "ABPSERIE=:ABPSERIE,"
           + "ABPAGBKZ=:ABPAGBKZ,"
           + "ABPWAART=:ABPWAART,"
           + "ABPANZSTK=:ABPANZSTK,"
           + "ABPZUGETGES=:ABPZUGETGES,"
           + "ABPSTKKZ=:ABPSTKKZ,"
           + "ABPSTKLG=:ABPSTKLG,"
           + "ABPANZSTKR=:ABPANZSTKR,"
           + "ABPABZKZ=:ABPABZKZ,"
           + "ABPBDEKZ=:ABPBDEKZ,"
           + "ABPSUBSYS=:ABPSUBSYS,"
           + "ABPDATBDE=:ABPDATBDE,"
           + "ABPUHRBDE=:ABPUHRBDE,"
           + "ABPDISPOKZ=:ABPDISPOKZ,"
           + "ABPSCHLICHTE=:ABPSCHLICHTE,"
           + "ABPZZUSATZ=:ABPZZUSATZ,"
           + "ABPZZUSKZ=:ABPZZUSKZ,"
           + "ABPSZUSTAND=:ABPSZUSTAND,"
           + "ABPIZUSTAND=:ABPIZUSTAND,"
           + "ABPSZUSATZKZ1=:ABPSZUSATZKZ1,"
           + "ABPSZUSATZKZ2=:ABPSZUSATZKZ2,"
           + "ABPSZUSATZKZ3=:ABPSZUSATZKZ3,"
           + "ABPSZUSATZKZ4=:ABPSZUSATZKZ4,"
           + "ABPWERKE=:ABPWERKE,"
           + "ABPLBMUSTR=:ABPLBMUSTR,"
           + "ABPFBMUSTR=:ABPFBMUSTR,"
           + "ABPREAUFKRS=:ABPREAUFKRS,"
           + "ABPREAUFLFD=:ABPREAUFLFD,"
           + "ABPREAUFPOS=:ABPREAUFPOS,"
           + "ABPLTVORL=:ABPLTVORL,"
           + "ABPFDZ=:ABPFDZ,"
           + "ABPARTEX=:ABPARTEX,"
           + "ABPLETEILNR=:ABPLETEILNR,"
           + "ABPANSNR=:ABPANSNR,"
           + "ABPUPOS=:ABPUPOS,"
           + "ABPTP=:ABPTP,"
           + "ABPLBDENR=:ABPLBDENR,"
           + "ABPTMCOUNT=:ABPTMCOUNT,"
           + "ABPTMCOUNTAK=:ABPTMCOUNTAK,"
           + "ABPKDPARTIE=:ABPKDPARTIE,"
           + "ABPBAHNKZ=:ABPBAHNKZ,"
           + "ABPGAENGE=:ABPGAENGE,"
           + "ABPZWTWAHL=:ABPZWTWAHL,"
           + "ABPDIVWLFM=:ABPDIVWLFM,"
           + "ABPDIVWKG=:ABPDIVWKG "
           + " WHERE  "
           + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPVFAUFKRS", OracleType.NVarChar).Value = dwData["ABPVFAUFKRS"].ToString();
                    or1.Parameters.Add("ABPVFAUFLFD", OracleType.NVarChar).Value = dwData["ABPVFAUFLFD"].ToString();
                    or1.Parameters.Add("ABPVFAUFPOS", OracleType.NVarChar).Value = dwData["ABPVFAUFPOS"].ToString();
                    or1.Parameters.Add("ABPAUFART", OracleType.NVarChar).Value = dwData["ABPAUFART"].ToString();
                    or1.Parameters.Add("ABPAUFST", OracleType.NVarChar).Value = dwData["ABPAUFST"].ToString();
                    or1.Parameters.Add("ABPAUFSTV", OracleType.NVarChar).Value = dwData["ABPAUFSTV"].ToString();
                    or1.Parameters.Add("ABPAUFSTB", OracleType.NVarChar).Value = dwData["ABPAUFSTB"].ToString();
                    or1.Parameters.Add("ABPAUTO", OracleType.NVarChar).Value = dwData["ABPAUTO"].ToString();
                    or1.Parameters.Add("ABPPRIO", OracleType.NVarChar).Value = dwData["ABPPRIO"].ToString();
                    or1.Parameters.Add("ABPTLVF", OracleType.NVarChar).Value = dwData["ABPTLVF"].ToString();
                    or1.Parameters.Add("ABPDIVARTKZ", OracleType.NVarChar).Value = dwData["ABPDIVARTKZ"].ToString();
                    or1.Parameters.Add("ABPKUNDNR", OracleType.NVarChar).Value = dwData["ABPKUNDNR"].ToString();
                    or1.Parameters.Add("ABPWERK", OracleType.NVarChar).Value = dwData["ABPWERK"].ToString();
                    or1.Parameters.Add("ABPABT", OracleType.NVarChar).Value = dwData["ABPABT"].ToString();
                    or1.Parameters.Add("ABPWAKZ", OracleType.NVarChar).Value = dwData["ABPWAKZ"].ToString();
                    or1.Parameters.Add("ABPART", OracleType.NVarChar).Value = dwData["ABPART"].ToString();
                    or1.Parameters.Add("ABPVAR", OracleType.NVarChar).Value = dwData["ABPVAR"].ToString();
                    or1.Parameters.Add("ABPFARBE", OracleType.NVarChar).Value = dwData["ABPFARBE"].ToString();
                    or1.Parameters.Add("ABPDESS", OracleType.NVarChar).Value = dwData["ABPDESS"].ToString();
                    or1.Parameters.Add("ABPCOLORIT", OracleType.NVarChar).Value = dwData["ABPCOLORIT"].ToString();
                    or1.Parameters.Add("ABPBESCHICH", OracleType.NVarChar).Value = dwData["ABPBESCHICH"].ToString();
                    or1.Parameters.Add("ABPGROE", OracleType.NVarChar).Value = dwData["ABPGROE"].ToString();
                    or1.Parameters.Add("ABPAUFM", OracleType.NVarChar).Value = dwData["ABPAUFM"].ToString();
                    or1.Parameters.Add("ABPVERP", OracleType.NVarChar).Value = dwData["ABPVERP"].ToString();
                    or1.Parameters.Add("ABPANZVP", OracleType.NVarChar).Value = dwData["ABPANZVP"].ToString();
                    or1.Parameters.Add("ABPFWARTGRA", OracleType.NVarChar).Value = dwData["ABPFWARTGRA"].ToString();
                    or1.Parameters.Add("ABPFWARTGRP", OracleType.NVarChar).Value = dwData["ABPFWARTGRP"].ToString();
                    or1.Parameters.Add("ABPZLO", OracleType.NVarChar).Value = dwData["ABPZLO"].ToString();
                    or1.Parameters.Add("ABPZLB", OracleType.NVarChar).Value = dwData["ABPZLB"].ToString();
                    or1.Parameters.Add("ABPBLO", OracleType.NVarChar).Value = dwData["ABPBLO"].ToString();
                    or1.Parameters.Add("ABPSME", OracleType.NVarChar).Value = dwData["ABPSME"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE1", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE1"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE2", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE2"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE3", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE3"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE4", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE4"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE5", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE5"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE6", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE6"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE7", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE7"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE8", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE8"].ToString();
                    or1.Parameters.Add("ABPRESMGE", OracleType.NVarChar).Value = dwData["ABPRESMGE"].ToString();
                    or1.Parameters.Add("ABPRESKG", OracleType.NVarChar).Value = dwData["ABPRESKG"].ToString();
                    or1.Parameters.Add("ABPRESSTK", OracleType.NVarChar).Value = dwData["ABPRESSTK"].ToString();
                    or1.Parameters.Add("ABPZUGET", OracleType.NVarChar).Value = dwData["ABPZUGET"].ToString();
                    or1.Parameters.Add("ABPZUGKG", OracleType.NVarChar).Value = dwData["ABPZUGKG"].ToString();
                    or1.Parameters.Add("ABPZUGSTK", OracleType.NVarChar).Value = dwData["ABPZUGSTK"].ToString();
                    or1.Parameters.Add("ABPDILFM", OracleType.NVarChar).Value = dwData["ABPDILFM"].ToString();
                    or1.Parameters.Add("ABPDIKG", OracleType.NVarChar).Value = dwData["ABPDIKG"].ToString();
                    or1.Parameters.Add("ABPDISTK", OracleType.NVarChar).Value = dwData["ABPDISTK"].ToString();
                    or1.Parameters.Add("ABPZTLGKOMP", OracleType.NVarChar).Value = dwData["ABPZTLGKOMP"].ToString();
                    or1.Parameters.Add("ABPSMGKZZU", OracleType.NVarChar).Value = dwData["ABPSMGKZZU"].ToString();
                    or1.Parameters.Add("ABPVLLFM", OracleType.NVarChar).Value = dwData["ABPVLLFM"].ToString();
                    or1.Parameters.Add("ABPVLKG", OracleType.NVarChar).Value = dwData["ABPVLKG"].ToString();
                    or1.Parameters.Add("ABPVLSTK", OracleType.NVarChar).Value = dwData["ABPVLSTK"].ToString();
                    or1.Parameters.Add("ABPEALFM", OracleType.NVarChar).Value = dwData["ABPEALFM"].ToString();
                    or1.Parameters.Add("ABPEAKG", OracleType.NVarChar).Value = dwData["ABPEAKG"].ToString();
                    or1.Parameters.Add("ABPEASTK", OracleType.NVarChar).Value = dwData["ABPEASTK"].ToString();
                    or1.Parameters.Add("ABPEBLFM", OracleType.NVarChar).Value = dwData["ABPEBLFM"].ToString();
                    or1.Parameters.Add("ABPEBKG", OracleType.NVarChar).Value = dwData["ABPEBKG"].ToString();
                    or1.Parameters.Add("ABPEBSTK", OracleType.NVarChar).Value = dwData["ABPEBSTK"].ToString();
                    or1.Parameters.Add("ABPABLFM", OracleType.NVarChar).Value = dwData["ABPABLFM"].ToString();
                    or1.Parameters.Add("ABPABKG", OracleType.NVarChar).Value = dwData["ABPABKG"].ToString();
                    or1.Parameters.Add("ABPABSTK", OracleType.NVarChar).Value = dwData["ABPABSTK"].ToString();
                    or1.Parameters.Add("ABPVSLFM", OracleType.NVarChar).Value = dwData["ABPVSLFM"].ToString();
                    or1.Parameters.Add("ABPVSKG", OracleType.NVarChar).Value = dwData["ABPVSKG"].ToString();
                    or1.Parameters.Add("ABPVSSTK", OracleType.NVarChar).Value = dwData["ABPVSSTK"].ToString();
                    or1.Parameters.Add("ABPRTLFM", OracleType.NVarChar).Value = dwData["ABPRTLFM"].ToString();
                    or1.Parameters.Add("ABPRTKG", OracleType.NVarChar).Value = dwData["ABPRTKG"].ToString();
                    or1.Parameters.Add("ABPRTSTK", OracleType.NVarChar).Value = dwData["ABPRTSTK"].ToString();
                    or1.Parameters.Add("ABPROHWDAT", OracleType.NVarChar).Value = dwData["ABPROHWDAT"].ToString();
                    or1.Parameters.Add("ABPKDDAT", OracleType.NVarChar).Value = dwData["ABPKDDAT"].ToString();
                    or1.Parameters.Add("ABPWVDAT", OracleType.NVarChar).Value = dwData["ABPWVDAT"].ToString();
                    or1.Parameters.Add("ABPLIEFDAT", OracleType.NVarChar).Value = dwData["ABPLIEFDAT"].ToString();
                    or1.Parameters.Add("ABPLRUECK", OracleType.NVarChar).Value = dwData["ABPLRUECK"].ToString();
                    or1.Parameters.Add("ABPLRDATE", OracleType.NVarChar).Value = dwData["ABPLRDATE"].ToString();
                    or1.Parameters.Add("ABPDLR", OracleType.NVarChar).Value = dwData["ABPDLR"].ToString();
                    or1.Parameters.Add("ABPVTRUECK", OracleType.NVarChar).Value = dwData["ABPVTRUECK"].ToString();
                    or1.Parameters.Add("ABPVTDATE", OracleType.NVarChar).Value = dwData["ABPVTDATE"].ToString();
                    or1.Parameters.Add("ABPUNKLAR", OracleType.NVarChar).Value = dwData["ABPUNKLAR"].ToString();
                    or1.Parameters.Add("ABPVERSDAT", OracleType.NVarChar).Value = dwData["ABPVERSDAT"].ToString();
                    or1.Parameters.Add("ABPFREIDAT", OracleType.NVarChar).Value = dwData["ABPFREIDAT"].ToString();
                    or1.Parameters.Add("ABPSTARTDAT", OracleType.NVarChar).Value = dwData["ABPSTARTDAT"].ToString();
                    or1.Parameters.Add("ABPENDDAT", OracleType.NVarChar).Value = dwData["ABPENDDAT"].ToString();
                    or1.Parameters.Add("ABPSTARTDATA", OracleType.NVarChar).Value = dwData["ABPSTARTDATA"].ToString();
                    or1.Parameters.Add("ABPENDDATA", OracleType.NVarChar).Value = dwData["ABPENDDATA"].ToString();
                    or1.Parameters.Add("ABPLTERMAK", OracleType.NVarChar).Value = dwData["ABPLTERMAK"].ToString();
                    or1.Parameters.Add("ABPBESTDAT", OracleType.NVarChar).Value = dwData["ABPBESTDAT"].ToString();
                    or1.Parameters.Add("ABPANRKR", OracleType.NVarChar).Value = dwData["ABPANRKR"].ToString();
                    or1.Parameters.Add("ABPALFDNR", OracleType.NVarChar).Value = dwData["ABPALFDNR"].ToString();
                    or1.Parameters.Add("ABPAFOLGEV", OracleType.NVarChar).Value = dwData["ABPAFOLGEV"].ToString();
                    or1.Parameters.Add("ABPAFOLGEB", OracleType.NVarChar).Value = dwData["ABPAFOLGEB"].ToString();
                    or1.Parameters.Add("ABPANRKR2", OracleType.NVarChar).Value = dwData["ABPANRKR2"].ToString();
                    or1.Parameters.Add("ABPALFDNR2", OracleType.NVarChar).Value = dwData["ABPALFDNR2"].ToString();
                    or1.Parameters.Add("ABPAFOLGEV2", OracleType.NVarChar).Value = dwData["ABPAFOLGEV2"].ToString();
                    or1.Parameters.Add("ABPAFOLGEB2", OracleType.NVarChar).Value = dwData["ABPAFOLGEB2"].ToString();
                    or1.Parameters.Add("ABPANRKR3", OracleType.NVarChar).Value = dwData["ABPANRKR3"].ToString();
                    or1.Parameters.Add("ABPALFDNR3", OracleType.NVarChar).Value = dwData["ABPALFDNR3"].ToString();
                    or1.Parameters.Add("ABPAFOLGEV3", OracleType.NVarChar).Value = dwData["ABPAFOLGEV3"].ToString();
                    or1.Parameters.Add("ABPAFOLGEB3", OracleType.NVarChar).Value = dwData["ABPAFOLGEB3"].ToString();
                    or1.Parameters.Add("ABPANRKR4", OracleType.NVarChar).Value = dwData["ABPANRKR4"].ToString();
                    or1.Parameters.Add("ABPALFDNR4", OracleType.NVarChar).Value = dwData["ABPALFDNR4"].ToString();
                    or1.Parameters.Add("ABPAFOLGEV4", OracleType.NVarChar).Value = dwData["ABPAFOLGEV4"].ToString();
                    or1.Parameters.Add("ABPAFOLGEB4", OracleType.NVarChar).Value = dwData["ABPAFOLGEB4"].ToString();
                    or1.Parameters.Add("ABPVERSAEND", OracleType.NVarChar).Value = dwData["ABPVERSAEND"].ToString();
                    or1.Parameters.Add("ABPVERSZL", OracleType.NVarChar).Value = dwData["ABPVERSZL"].ToString();
                    or1.Parameters.Add("ABPTLFREIG", OracleType.NVarChar).Value = dwData["ABPTLFREIG"].ToString();
                    or1.Parameters.Add("ABPTLFMG", OracleType.NVarChar).Value = dwData["ABPTLFMG"].ToString();
                    or1.Parameters.Add("ABPFREIGKZ", OracleType.NVarChar).Value = dwData["ABPFREIGKZ"].ToString();
                    or1.Parameters.Add("ABPLMAFOLGE", OracleType.NVarChar).Value = dwData["ABPLMAFOLGE"].ToString();
                    or1.Parameters.Add("ABPENDAUFM", OracleType.NVarChar).Value = dwData["ABPENDAUFM"].ToString();
                    or1.Parameters.Add("ABPZAUFM", OracleType.NVarChar).Value = dwData["ABPZAUFM"].ToString();
                    or1.Parameters.Add("ABPLIEFNR", OracleType.NVarChar).Value = dwData["ABPLIEFNR"].ToString();
                    or1.Parameters.Add("ABPGESSTA", OracleType.NVarChar).Value = dwData["ABPGESSTA"].ToString();
                    or1.Parameters.Add("ABPKDSTA", OracleType.NVarChar).Value = dwData["ABPKDSTA"].ToString();
                    or1.Parameters.Add("ABPWSSTA", OracleType.NVarChar).Value = dwData["ABPWSSTA"].ToString();
                    or1.Parameters.Add("ABPAPSTA", OracleType.NVarChar).Value = dwData["ABPAPSTA"].ToString();
                    or1.Parameters.Add("ABPRZSTA", OracleType.NVarChar).Value = dwData["ABPRZSTA"].ToString();
                    or1.Parameters.Add("ABPWPSTA", OracleType.NVarChar).Value = dwData["ABPWPSTA"].ToString();
                    or1.Parameters.Add("ABPWBSTA", OracleType.NVarChar).Value = dwData["ABPWBSTA"].ToString();
                    or1.Parameters.Add("ABPABSTA", OracleType.NVarChar).Value = dwData["ABPABSTA"].ToString();
                    or1.Parameters.Add("ABPERLKZ", OracleType.NVarChar).Value = dwData["ABPERLKZ"].ToString();
                    or1.Parameters.Add("ABPERLDAT", OracleType.NVarChar).Value = dwData["ABPERLDAT"].ToString();
                    or1.Parameters.Add("ABPBEWKZ", OracleType.NVarChar).Value = dwData["ABPBEWKZ"].ToString();
                    or1.Parameters.Add("ABPDRKZ1", OracleType.NVarChar).Value = dwData["ABPDRKZ1"].ToString();
                    or1.Parameters.Add("ABPDRKZ2", OracleType.NVarChar).Value = dwData["ABPDRKZ2"].ToString();
                    or1.Parameters.Add("ABPDRKZ3", OracleType.NVarChar).Value = dwData["ABPDRKZ3"].ToString();
                    or1.Parameters.Add("ABPDRKZ4", OracleType.NVarChar).Value = dwData["ABPDRKZ4"].ToString();
                    or1.Parameters.Add("ABPDRKZ5", OracleType.NVarChar).Value = dwData["ABPDRKZ5"].ToString();
                    or1.Parameters.Add("ABPDRKZ6", OracleType.NVarChar).Value = dwData["ABPDRKZ6"].ToString();
                    or1.Parameters.Add("ABPDRKZ7", OracleType.NVarChar).Value = dwData["ABPDRKZ7"].ToString();
                    or1.Parameters.Add("ABPDRKZ8", OracleType.NVarChar).Value = dwData["ABPDRKZ8"].ToString();
                    or1.Parameters.Add("ABPDRKZ9", OracleType.NVarChar).Value = dwData["ABPDRKZ9"].ToString();
                    or1.Parameters.Add("ABPDRKZ10", OracleType.NVarChar).Value = dwData["ABPDRKZ10"].ToString();
                    or1.Parameters.Add("ABPDR1USER", OracleType.NVarChar).Value = dwData["ABPDR1USER"].ToString();
                    or1.Parameters.Add("ABPDR1DAT", OracleType.NVarChar).Value = dwData["ABPDR1DAT"].ToString();
                    or1.Parameters.Add("ABPDR8USER", OracleType.NVarChar).Value = dwData["ABPDR8USER"].ToString();
                    or1.Parameters.Add("ABPDR8DAT", OracleType.NVarChar).Value = dwData["ABPDR8DAT"].ToString();
                    or1.Parameters.Add("ABPRETOURZL", OracleType.NVarChar).Value = dwData["ABPRETOURZL"].ToString();
                    or1.Parameters.Add("ABPRPCOUNTAK", OracleType.NVarChar).Value = dwData["ABPRPCOUNTAK"].ToString();
                    or1.Parameters.Add("ABPURAUFKRS", OracleType.NVarChar).Value = dwData["ABPURAUFKRS"].ToString();
                    or1.Parameters.Add("ABPURAUFLFD", OracleType.NVarChar).Value = dwData["ABPURAUFLFD"].ToString();
                    or1.Parameters.Add("ABPURAUFPOS", OracleType.NVarChar).Value = dwData["ABPURAUFPOS"].ToString();
                    or1.Parameters.Add("ABPASAUFKRS", OracleType.NVarChar).Value = dwData["ABPASAUFKRS"].ToString();
                    or1.Parameters.Add("ABPASAUFLFD", OracleType.NVarChar).Value = dwData["ABPASAUFLFD"].ToString();
                    or1.Parameters.Add("ABPASAUFPOS", OracleType.NVarChar).Value = dwData["ABPASAUFPOS"].ToString();
                    or1.Parameters.Add("ABPREAFOLGE", OracleType.NVarChar).Value = dwData["ABPREAFOLGE"].ToString();
                    or1.Parameters.Add("ABPRWKRS", OracleType.NVarChar).Value = dwData["ABPRWKRS"].ToString();
                    or1.Parameters.Add("ABPRWLFD", OracleType.NVarChar).Value = dwData["ABPRWLFD"].ToString();
                    or1.Parameters.Add("ABPSTKNRKR", OracleType.NVarChar).Value = dwData["ABPSTKNRKR"].ToString();
                    or1.Parameters.Add("ABPSERIE", OracleType.NVarChar).Value = dwData["ABPSERIE"].ToString();
                    or1.Parameters.Add("ABPAGBKZ", OracleType.NVarChar).Value = dwData["ABPAGBKZ"].ToString();
                    or1.Parameters.Add("ABPWAART", OracleType.NVarChar).Value = dwData["ABPWAART"].ToString();
                    or1.Parameters.Add("ABPANZSTK", OracleType.NVarChar).Value = dwData["ABPANZSTK"].ToString();
                    or1.Parameters.Add("ABPZUGETGES", OracleType.NVarChar).Value = dwData["ABPZUGETGES"].ToString();
                    or1.Parameters.Add("ABPSTKKZ", OracleType.NVarChar).Value = dwData["ABPSTKKZ"].ToString();
                    or1.Parameters.Add("ABPSTKLG", OracleType.NVarChar).Value = dwData["ABPSTKLG"].ToString();
                    or1.Parameters.Add("ABPANZSTKR", OracleType.NVarChar).Value = dwData["ABPANZSTKR"].ToString();
                    or1.Parameters.Add("ABPABZKZ", OracleType.NVarChar).Value = dwData["ABPABZKZ"].ToString();
                    or1.Parameters.Add("ABPBDEKZ", OracleType.NVarChar).Value = dwData["ABPBDEKZ"].ToString();
                    or1.Parameters.Add("ABPSUBSYS", OracleType.NVarChar).Value = dwData["ABPSUBSYS"].ToString();
                    or1.Parameters.Add("ABPDATBDE", OracleType.NVarChar).Value = dwData["ABPDATBDE"].ToString();
                    or1.Parameters.Add("ABPUHRBDE", OracleType.NVarChar).Value = dwData["ABPUHRBDE"].ToString();
                    or1.Parameters.Add("ABPDISPOKZ", OracleType.NVarChar).Value = dwData["ABPDISPOKZ"].ToString();
                    or1.Parameters.Add("ABPSCHLICHTE", OracleType.NVarChar).Value = dwData["ABPSCHLICHTE"].ToString();
                    or1.Parameters.Add("ABPZZUSATZ", OracleType.NVarChar).Value = dwData["ABPZZUSATZ"].ToString();
                    or1.Parameters.Add("ABPZZUSKZ", OracleType.NVarChar).Value = dwData["ABPZZUSKZ"].ToString();
                    or1.Parameters.Add("ABPSZUSTAND", OracleType.NVarChar).Value = dwData["ABPSZUSTAND"].ToString();
                    or1.Parameters.Add("ABPIZUSTAND", OracleType.NVarChar).Value = dwData["ABPIZUSTAND"].ToString();
                    or1.Parameters.Add("ABPSZUSATZKZ1", OracleType.NVarChar).Value = dwData["ABPSZUSATZKZ1"].ToString();
                    or1.Parameters.Add("ABPSZUSATZKZ2", OracleType.NVarChar).Value = dwData["ABPSZUSATZKZ2"].ToString();
                    or1.Parameters.Add("ABPSZUSATZKZ3", OracleType.NVarChar).Value = dwData["ABPSZUSATZKZ3"].ToString();
                    or1.Parameters.Add("ABPSZUSATZKZ4", OracleType.NVarChar).Value = dwData["ABPSZUSATZKZ4"].ToString();
                    or1.Parameters.Add("ABPWERKE", OracleType.NVarChar).Value = dwData["ABPWERKE"].ToString();
                    or1.Parameters.Add("ABPLBMUSTR", OracleType.NVarChar).Value = dwData["ABPLBMUSTR"].ToString();
                    or1.Parameters.Add("ABPFBMUSTR", OracleType.NVarChar).Value = dwData["ABPFBMUSTR"].ToString();
                    or1.Parameters.Add("ABPREAUFKRS", OracleType.NVarChar).Value = dwData["ABPREAUFKRS"].ToString();
                    or1.Parameters.Add("ABPREAUFLFD", OracleType.NVarChar).Value = dwData["ABPREAUFLFD"].ToString();
                    or1.Parameters.Add("ABPREAUFPOS", OracleType.NVarChar).Value = dwData["ABPREAUFPOS"].ToString();
                    or1.Parameters.Add("ABPLTVORL", OracleType.NVarChar).Value = dwData["ABPLTVORL"].ToString();
                    or1.Parameters.Add("ABPFDZ", OracleType.NVarChar).Value = dwData["ABPFDZ"].ToString();
                    or1.Parameters.Add("ABPARTEX", OracleType.NVarChar).Value = dwData["ABPARTEX"].ToString();
                    or1.Parameters.Add("ABPLETEILNR", OracleType.NVarChar).Value = dwData["ABPLETEILNR"].ToString();
                    or1.Parameters.Add("ABPANSNR", OracleType.NVarChar).Value = dwData["ABPANSNR"].ToString();
                    or1.Parameters.Add("ABPUPOS", OracleType.NVarChar).Value = dwData["ABPUPOS"].ToString();
                    or1.Parameters.Add("ABPTP", OracleType.NVarChar).Value = dwData["ABPTP"].ToString();
                    or1.Parameters.Add("ABPLBDENR", OracleType.NVarChar).Value = dwData["ABPLBDENR"].ToString();
                    or1.Parameters.Add("ABPTMCOUNT", OracleType.NVarChar).Value = dwData["ABPTMCOUNT"].ToString();
                    or1.Parameters.Add("ABPTMCOUNTAK", OracleType.NVarChar).Value = dwData["ABPTMCOUNTAK"].ToString();
                    or1.Parameters.Add("ABPKDPARTIE", OracleType.NVarChar).Value = dwData["ABPKDPARTIE"].ToString();
                    or1.Parameters.Add("ABPBAHNKZ", OracleType.NVarChar).Value = dwData["ABPBAHNKZ"].ToString();
                    or1.Parameters.Add("ABPGAENGE", OracleType.NVarChar).Value = dwData["ABPGAENGE"].ToString();
                    or1.Parameters.Add("ABPZWTWAHL", OracleType.NVarChar).Value = dwData["ABPZWTWAHL"].ToString();
                    or1.Parameters.Add("ABPDIVWLFM", OracleType.NVarChar).Value = dwData["ABPDIVWLFM"].ToString();
                    or1.Parameters.Add("ABPDIVWKG", OracleType.NVarChar).Value = dwData["ABPDIVWKG"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-1-1-1=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                       + "ABPDISPOST=:ABPDISPOST,"
                       + "ABPKETTAUFT=:ABPKETTAUFT,"
                       + "ABPKETTGARN=:ABPKETTGARN,"
                       + "ABPSPGRD=:ABPSPGRD,"
                       + "ABPSPBENID=:ABPSPBENID "

                       + " WHERE  "
                       + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPDISPOST", OracleType.NVarChar).Value = dwData["ABPDISPOST"].ToString();
                    or1.Parameters.Add("ABPKETTAUFT", OracleType.NVarChar).Value = dwData["ABPKETTAUFT"].ToString();
                    or1.Parameters.Add("ABPKETTGARN", OracleType.NVarChar).Value = dwData["ABPKETTGARN"].ToString();
                    or1.Parameters.Add("ABPSPGRD", OracleType.NVarChar).Value = dwData["ABPSPGRD"].ToString();
                    or1.Parameters.Add("ABPSPBENID", OracleType.NVarChar).Value = dwData["ABPSPBENID"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-1-1-2=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                   + "ABPSPDAT=:ABPSPDAT,"
                   + "ABPLMDAT=:ABPLMDAT,"
                   + "ABPLMZT=:ABPLMZT,"
                   + "ABPWPLKZ=:ABPWPLKZ,"
                   + "ABPKKUNDNR=:ABPKKUNDNR,"
                   + "ABPKLAND=:ABPKLAND,"
                   + "ABPKVB=:ABPKVB,"
                   + "ABPKVG=:ABPKVG "
                   + " WHERE  "
                   + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPSPDAT", OracleType.NVarChar).Value = dwData["ABPSPDAT"].ToString();
                    or1.Parameters.Add("ABPLMDAT", OracleType.NVarChar).Value = dwData["ABPLMDAT"].ToString();
                    or1.Parameters.Add("ABPLMZT", OracleType.NVarChar).Value = dwData["ABPLMZT"].ToString();
                    or1.Parameters.Add("ABPWPLKZ", OracleType.NVarChar).Value = dwData["ABPWPLKZ"].ToString();
                    or1.Parameters.Add("ABPKKUNDNR", OracleType.NVarChar).Value = dwData["ABPKKUNDNR"].ToString();
                    or1.Parameters.Add("ABPKLAND", OracleType.NVarChar).Value = dwData["ABPKLAND"].ToString();
                    or1.Parameters.Add("ABPKVB", OracleType.NVarChar).Value = dwData["ABPKVB"].ToString();
                    or1.Parameters.Add("ABPKVG", OracleType.NVarChar).Value = dwData["ABPKVG"].ToString();
                    Connect2Proxy(or1);
                    #endregion

                    #region=====Part2-1-2-1=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
           + "ABPKPROGRP=:ABPKPROGRP,"
           + "ABPKARTGRP=:ABPKARTGRP,"
           + "ABPKVKZ=:ABPKVKZ,"
           + "ABPLAEVON=:ABPLAEVON,"
           + "ABPLAEBIS=:ABPLAEBIS,"
           + "ABPSTDLAE=:ABPSTDLAE,"
           + "ABPMGV=:ABPMGV,"
           + "ABPMGB=:ABPMGB "
           + " WHERE  "
           + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPKPROGRP", OracleType.NVarChar).Value = dwData["ABPKPROGRP"].ToString();
                    or1.Parameters.Add("ABPKARTGRP", OracleType.NVarChar).Value = dwData["ABPKARTGRP"].ToString();
                    or1.Parameters.Add("ABPKVKZ", OracleType.NVarChar).Value = dwData["ABPKVKZ"].ToString();
                    or1.Parameters.Add("ABPLAEVON", OracleType.NVarChar).Value = dwData["ABPLAEVON"].ToString();
                    or1.Parameters.Add("ABPLAEBIS", OracleType.NVarChar).Value = dwData["ABPLAEBIS"].ToString();
                    or1.Parameters.Add("ABPSTDLAE", OracleType.NVarChar).Value = dwData["ABPSTDLAE"].ToString();
                    or1.Parameters.Add("ABPMGV", OracleType.NVarChar).Value = dwData["ABPMGV"].ToString();
                    or1.Parameters.Add("ABPMGB", OracleType.NVarChar).Value = dwData["ABPMGB"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-1-2-2=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
           + "ABPPAS=:ABPPAS,"
           + "ABPPAI=:ABPPAI,"
           + "ABPAZUTEIL=:ABPAZUTEIL,"
           + "ABPZUTART=:ABPZUTART,"
           + "ABPFA=:ABPFA,"
           + "ABPGA=:ABPGA,"
           + "ABPQA=:ABPQA "
           + " WHERE  "
           + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPPAS", OracleType.NVarChar).Value = dwData["ABPPAS"].ToString();
                    or1.Parameters.Add("ABPPAI", OracleType.NVarChar).Value = dwData["ABPPAI"].ToString();
                    or1.Parameters.Add("ABPAZUTEIL", OracleType.NVarChar).Value = dwData["ABPAZUTEIL"].ToString();
                    or1.Parameters.Add("ABPZUTART", OracleType.NVarChar).Value = dwData["ABPZUTART"].ToString();
                    or1.Parameters.Add("ABPFA", OracleType.NVarChar).Value = dwData["ABPFA"].ToString();
                    or1.Parameters.Add("ABPGA", OracleType.NVarChar).Value = dwData["ABPGA"].ToString();
                    or1.Parameters.Add("ABPQA", OracleType.NVarChar).Value = dwData["ABPQA"].ToString();
                    Connect2Proxy(or1);
                    #endregion

                    #region=====Part2-2-1=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
           + "ABPMAFZST=:ABPMAFZST,"
           + "ABPQPKTH=:ABPQPKTH,"
           + "ABPQPKTLH=:ABPQPKTLH,"
           + "ABPSTKNEUTR=:ABPSTKNEUTR,"
           + "ABPREGEL=:ABPREGEL,"
           + "ABPSTAFFNR=:ABPSTAFFNR,"
           + "ABPWERKEKZ=:ABPWERKEKZ,"
           + "ABPWKSTKRS=:ABPWKSTKRS,"
           + "ABPWKST=:ABPWKST,"
           + "ABPWKART=:ABPWKART,"
           + "ABPWMNRKRS=:ABPWMNRKRS,"
           + "ABPWMLFDNR=:ABPWMLFDNR,"
           + "ABPWMPOS=:ABPWMPOS,"
           + "ABPWMODNR=:ABPWMODNR,"
           + "ABPWINTV=:ABPWINTV,"
           + "ABPWKENN=:ABPWKENN,"
           + "ABPWSTOERGRD=:ABPWSTOERGRD,"
           + "ABPWAKSTKRS=:ABPWAKSTKRS,"
           + "ABPWAKST=:ABPWAKST,"
           + "ABPWPERSNR=:ABPWPERSNR "
           + " WHERE  "
           + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPMAFZST", OracleType.NVarChar).Value = dwData["ABPMAFZST"].ToString();
                    or1.Parameters.Add("ABPQPKTH", OracleType.NVarChar).Value = dwData["ABPQPKTH"].ToString();
                    or1.Parameters.Add("ABPQPKTLH", OracleType.NVarChar).Value = dwData["ABPQPKTLH"].ToString();
                    or1.Parameters.Add("ABPSTKNEUTR", OracleType.NVarChar).Value = dwData["ABPSTKNEUTR"].ToString();
                    or1.Parameters.Add("ABPREGEL", OracleType.NVarChar).Value = dwData["ABPREGEL"].ToString();
                    or1.Parameters.Add("ABPSTAFFNR", OracleType.NVarChar).Value = dwData["ABPSTAFFNR"].ToString();
                    or1.Parameters.Add("ABPWERKEKZ", OracleType.NVarChar).Value = dwData["ABPWERKEKZ"].ToString();
                    or1.Parameters.Add("ABPWKSTKRS", OracleType.NVarChar).Value = dwData["ABPWKSTKRS"].ToString();
                    or1.Parameters.Add("ABPWKST", OracleType.NVarChar).Value = dwData["ABPWKST"].ToString();
                    or1.Parameters.Add("ABPWKART", OracleType.NVarChar).Value = dwData["ABPWKART"].ToString();
                    or1.Parameters.Add("ABPWMNRKRS", OracleType.NVarChar).Value = dwData["ABPWMNRKRS"].ToString();
                    or1.Parameters.Add("ABPWMLFDNR", OracleType.NVarChar).Value = dwData["ABPWMLFDNR"].ToString();
                    or1.Parameters.Add("ABPWMPOS", OracleType.NVarChar).Value = dwData["ABPWMPOS"].ToString();
                    or1.Parameters.Add("ABPWMODNR", OracleType.NVarChar).Value = dwData["ABPWMODNR"].ToString();
                    or1.Parameters.Add("ABPWINTV", OracleType.NVarChar).Value = dwData["ABPWINTV"].ToString();
                    or1.Parameters.Add("ABPWKENN", OracleType.NVarChar).Value = dwData["ABPWKENN"].ToString();
                    or1.Parameters.Add("ABPWSTOERGRD", OracleType.NVarChar).Value = dwData["ABPWSTOERGRD"].ToString();
                    or1.Parameters.Add("ABPWAKSTKRS", OracleType.NVarChar).Value = dwData["ABPWAKSTKRS"].ToString();
                    or1.Parameters.Add("ABPWAKST", OracleType.NVarChar).Value = dwData["ABPWAKST"].ToString();
                    or1.Parameters.Add("ABPWPERSNR", OracleType.NVarChar).Value = dwData["ABPWPERSNR"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-2-2-1-1=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPWDATV=:ABPWDATV,"
                        + "ABPWZEITV=:ABPWZEITV,"
                        + "ABPWDATB=:ABPWDATB,"
                        + "ABPWZEITB=:ABPWZEITB "
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPWDATV", OracleType.NVarChar).Value = dwData["ABPWDATV"].ToString();
                    or1.Parameters.Add("ABPWZEITV", OracleType.NVarChar).Value = dwData["ABPWZEITV"].ToString();
                    or1.Parameters.Add("ABPWDATB", OracleType.NVarChar).Value = dwData["ABPWDATB"].ToString();
                    or1.Parameters.Add("ABPWZEITB", OracleType.NVarChar).Value = dwData["ABPWZEITB"].ToString();


                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-2-2-1-2=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPWSTA=:ABPWSTA,"
                        + "ABPFKALK=:ABPFKALK,"
                        + "ABPLIEFDATN=:ABPLIEFDATN,"
                        + "ABPLAEAENDE=:ABPLAEAENDE,"
                        + "ABPLAEAENDA=:ABPLAEAENDA "
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPWSTA", OracleType.NVarChar).Value = dwData["ABPWSTA"].ToString();
                    or1.Parameters.Add("ABPFKALK", OracleType.NVarChar).Value = dwData["ABPFKALK"].ToString();
                    or1.Parameters.Add("ABPLIEFDATN", OracleType.NVarChar).Value = dwData["ABPLIEFDATN"].ToString();
                    or1.Parameters.Add("ABPLAEAENDE", OracleType.NVarChar).Value = dwData["ABPLAEAENDE"].ToString();
                    or1.Parameters.Add("ABPLAEAENDA", OracleType.NVarChar).Value = dwData["ABPLAEAENDA"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Part2-2-2-2=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPDMWAKZ=:ABPDMWAKZ,"
                        + "ABPDMART=:ABPDMART,"
                        + "ABPDMVAR=:ABPDMVAR,"
                        + "ABPDMDESS=:ABPDMDESS,"
                        + "ABPDMCOLORIT=:ABPDMCOLORIT,"
                        + "ABPDMFARBE=:ABPDMFARBE,"
                        + "ABPDMBESCHICH=:ABPDMBESCHICH "
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPDMWAKZ", OracleType.NVarChar).Value = dwData["ABPDMWAKZ"].ToString();
                    or1.Parameters.Add("ABPDMART", OracleType.NVarChar).Value = dwData["ABPDMART"].ToString();
                    or1.Parameters.Add("ABPDMVAR", OracleType.NVarChar).Value = dwData["ABPDMVAR"].ToString();
                    or1.Parameters.Add("ABPDMDESS", OracleType.NVarChar).Value = dwData["ABPDMDESS"].ToString();
                    or1.Parameters.Add("ABPDMCOLORIT", OracleType.NVarChar).Value = dwData["ABPDMCOLORIT"].ToString();
                    or1.Parameters.Add("ABPDMFARBE", OracleType.NVarChar).Value = dwData["ABPDMFARBE"].ToString();
                    or1.Parameters.Add("ABPDMBESCHICH", OracleType.NVarChar).Value = dwData["ABPDMBESCHICH"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    #region=====Par3=======
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPDKART=:ABPDKART,"
           + "ABPDKVAR=:ABPDKVAR,"
           + "ABPDKFARBE=:ABPDKFARBE,"
           + "ABPDKBRUT=:ABPDKBRUT,"
           + "ABPGENEHMKZ=:ABPGENEHMKZ,"
           + "ABPSTUEART=:ABPSTUEART,"
           + "ABPCOMPKZ=:ABPCOMPKZ,"
           + "ABPPOSTYP=:ABPPOSTYP,"
           + "ABPORDER=:ABPORDER,"
           + "ABPNPGRUND=:ABPNPGRUND,"
           + "ABPREWEIL=:ABPREWEIL,"
           + "ABPFSCHL=:ABPFSCHL,"
           + "ABPKSTKRS=:ABPKSTKRS,"
           + "ABPKST=:ABPKST,"
           + "ABPMURW=:ABPMURW,"
           + "ABPMUVB=:ABPMUVB,"
           + "ABPMUFW=:ABPMUFW,"
           + "ABPMUPF=:ABPMUPF,"
           + "ABPERSTFB=:ABPERSTFB,"
           + "ABPERSTDR=:ABPERSTDR,"
           + "ABPERSTBE=:ABPERSTBE,"
           + "ABPMUCTOD=:ABPMUCTOD,"
           + "ABPKDFREI=:ABPKDFREI,"
           + "ABPREZFB=:ABPREZFB,"
           + "ABPREZDR=:ABPREZDR,"
           + "ABPPRUEF=:ABPPRUEF,"
           + "ABPNIXWE=:ABPNIXWE,"
           + "ABPCOLSTA=:ABPCOLSTA,"
           + "ABPFBSTA=:ABPFBSTA,"
           + "ABPBAHNNR=:ABPBAHNNR,"
           + "ABPBAHNBRT=:ABPBAHNBRT,"
           + "ABPFLBEDECK=:ABPFLBEDECK,"
           + "ABPDATABDE=:ABPDATABDE,"
           + "ABPUHRABDE=:ABPUHRABDE,"
           + "ABPLOEKZ=:ABPLOEKZ,"
           + "ABPTERMDAT=:ABPTERMDAT,"
           + "ABPPRFI=:ABPPRFI,"
           + "ABPPRVAR=:ABPPRVAR,"
           + "ABPPRBE=:ABPPRBE,"
           + "ABPPRZU=:ABPPRZU,"
           + "ABPPRDESS=:ABPPRDESS,"
           + "ABPZUSATZ1=:ABPZUSATZ1,"
           + "ABPZUSATZ2=:ABPZUSATZ2,"
           + "ABPZUSATZ3=:ABPZUSATZ3,"
           + "ABPZUSATZ4=:ABPZUSATZ4,"
           + "ABPZUSATZ5=:ABPZUSATZ5,"
           + "ABPFLAG1=:ABPFLAG1,"
           + "ABPFLAG2=:ABPFLAG2,"
           + "ABPFLAG3=:ABPFLAG3,"
           + "ABPFLAG4=:ABPFLAG4,"
           + "ABPFLAG5=:ABPFLAG5,"
           + "ABPORGMG=:ABPORGMG,"
           + "ABPDIFFMG=:ABPDIFFMG,"
           + "ABPRARTKZ=:ABPRARTKZ,"
           + "ABPSTARTDATN=:ABPSTARTDATN,"
           + "ABPAESTAT=:ABPAESTAT,"
           + "ABPLBAUFKRS=:ABPLBAUFKRS,"
           + "ABPLBAUFLFD=:ABPLBAUFLFD,"
           + "ABPLBAUFPOS=:ABPLBAUFPOS,"
           + "ABPVEAUFTRAG=:ABPVEAUFTRAG,"
           + "ABPREGBLOG=:ABPREGBLOG,"
           + "ABPREGBDATE=:ABPREGBDATE,"
           + "ABPPROJNR=:ABPPROJNR,"
           + "ABPSHADE=:ABPSHADE,"
           + "ABPSHADEUNCL=:ABPSHADEUNCL,"
           + "ABPLICHTART=:ABPLICHTART,"
           + "ABPLINE=:ABPLINE,"
           + "ABPFILLER1=:ABPFILLER1,"
           + "ABPAENDZL=:ABPAENDZL,"
           + "ABPAENDBEN=:ABPAENDBEN,"
           + "ABPAENDDAT=:ABPAENDDAT,"
           + "ABPNEUBEN=:ABPNEUBEN,"
           + "ABPNEUDAT=:ABPNEUDAT"
           + " WHERE  "
           + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS ";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();

                    or1.Parameters.Add("ABPDKART", OracleType.NVarChar).Value = dwData["ABPDKART"].ToString();
                    or1.Parameters.Add("ABPDKVAR", OracleType.NVarChar).Value = dwData["ABPDKVAR"].ToString();
                    or1.Parameters.Add("ABPDKFARBE", OracleType.NVarChar).Value = dwData["ABPDKFARBE"].ToString();
                    or1.Parameters.Add("ABPDKBRUT", OracleType.NVarChar).Value = dwData["ABPDKBRUT"].ToString();
                    or1.Parameters.Add("ABPGENEHMKZ", OracleType.NVarChar).Value = dwData["ABPGENEHMKZ"].ToString();
                    or1.Parameters.Add("ABPSTUEART", OracleType.NVarChar).Value = dwData["ABPSTUEART"].ToString();
                    or1.Parameters.Add("ABPCOMPKZ", OracleType.NVarChar).Value = dwData["ABPCOMPKZ"].ToString();
                    or1.Parameters.Add("ABPPOSTYP", OracleType.NVarChar).Value = dwData["ABPPOSTYP"].ToString();
                    or1.Parameters.Add("ABPORDER", OracleType.NVarChar).Value = dwData["ABPORDER"].ToString();
                    or1.Parameters.Add("ABPNPGRUND", OracleType.NVarChar).Value = dwData["ABPNPGRUND"].ToString();
                    or1.Parameters.Add("ABPREWEIL", OracleType.NVarChar).Value = dwData["ABPREWEIL"].ToString();
                    or1.Parameters.Add("ABPFSCHL", OracleType.NVarChar).Value = dwData["ABPFSCHL"].ToString();
                    or1.Parameters.Add("ABPKSTKRS", OracleType.NVarChar).Value = dwData["ABPKSTKRS"].ToString();
                    or1.Parameters.Add("ABPKST", OracleType.NVarChar).Value = dwData["ABPKST"].ToString();
                    or1.Parameters.Add("ABPMURW", OracleType.NVarChar).Value = dwData["ABPMURW"].ToString();
                    or1.Parameters.Add("ABPMUVB", OracleType.NVarChar).Value = dwData["ABPMUVB"].ToString();
                    or1.Parameters.Add("ABPMUFW", OracleType.NVarChar).Value = dwData["ABPMUFW"].ToString();
                    or1.Parameters.Add("ABPMUPF", OracleType.NVarChar).Value = dwData["ABPMUPF"].ToString();
                    or1.Parameters.Add("ABPERSTFB", OracleType.NVarChar).Value = dwData["ABPERSTFB"].ToString();
                    or1.Parameters.Add("ABPERSTDR", OracleType.NVarChar).Value = dwData["ABPERSTDR"].ToString();
                    or1.Parameters.Add("ABPERSTBE", OracleType.NVarChar).Value = dwData["ABPERSTBE"].ToString();
                    or1.Parameters.Add("ABPMUCTOD", OracleType.NVarChar).Value = dwData["ABPMUCTOD"].ToString();
                    or1.Parameters.Add("ABPKDFREI", OracleType.NVarChar).Value = dwData["ABPKDFREI"].ToString();
                    or1.Parameters.Add("ABPREZFB", OracleType.NVarChar).Value = dwData["ABPREZFB"].ToString();
                    or1.Parameters.Add("ABPREZDR", OracleType.NVarChar).Value = dwData["ABPREZDR"].ToString();
                    or1.Parameters.Add("ABPPRUEF", OracleType.NVarChar).Value = dwData["ABPPRUEF"].ToString();
                    or1.Parameters.Add("ABPNIXWE", OracleType.NVarChar).Value = dwData["ABPNIXWE"].ToString();
                    or1.Parameters.Add("ABPCOLSTA", OracleType.NVarChar).Value = dwData["ABPCOLSTA"].ToString();
                    or1.Parameters.Add("ABPFBSTA", OracleType.NVarChar).Value = dwData["ABPFBSTA"].ToString();
                    or1.Parameters.Add("ABPBAHNNR", OracleType.NVarChar).Value = dwData["ABPBAHNNR"].ToString();
                    or1.Parameters.Add("ABPBAHNBRT", OracleType.NVarChar).Value = dwData["ABPBAHNBRT"].ToString();
                    or1.Parameters.Add("ABPFLBEDECK", OracleType.NVarChar).Value = dwData["ABPFLBEDECK"].ToString();
                    or1.Parameters.Add("ABPDATABDE", OracleType.NVarChar).Value = dwData["ABPDATABDE"].ToString();
                    or1.Parameters.Add("ABPUHRABDE", OracleType.NVarChar).Value = dwData["ABPUHRABDE"].ToString();
                    or1.Parameters.Add("ABPLOEKZ", OracleType.NVarChar).Value = dwData["ABPLOEKZ"].ToString();
                    or1.Parameters.Add("ABPTERMDAT", OracleType.NVarChar).Value = dwData["ABPTERMDAT"].ToString();
                    or1.Parameters.Add("ABPPRFI", OracleType.NVarChar).Value = dwData["ABPPRFI"].ToString();
                    or1.Parameters.Add("ABPPRVAR", OracleType.NVarChar).Value = dwData["ABPPRVAR"].ToString();
                    or1.Parameters.Add("ABPPRBE", OracleType.NVarChar).Value = dwData["ABPPRBE"].ToString();
                    or1.Parameters.Add("ABPPRZU", OracleType.NVarChar).Value = dwData["ABPPRZU"].ToString();
                    or1.Parameters.Add("ABPPRDESS", OracleType.NVarChar).Value = dwData["ABPPRDESS"].ToString();
                    or1.Parameters.Add("ABPZUSATZ1", OracleType.NVarChar).Value = dwData["ABPZUSATZ1"].ToString();
                    or1.Parameters.Add("ABPZUSATZ2", OracleType.NVarChar).Value = dwData["ABPZUSATZ2"].ToString();
                    or1.Parameters.Add("ABPZUSATZ3", OracleType.NVarChar).Value = dwData["ABPZUSATZ3"].ToString();
                    or1.Parameters.Add("ABPZUSATZ4", OracleType.NVarChar).Value = dwData["ABPZUSATZ4"].ToString();
                    or1.Parameters.Add("ABPZUSATZ5", OracleType.NVarChar).Value = dwData["ABPZUSATZ5"].ToString();
                    or1.Parameters.Add("ABPFLAG1", OracleType.NVarChar).Value = dwData["ABPFLAG1"].ToString();
                    or1.Parameters.Add("ABPFLAG2", OracleType.NVarChar).Value = dwData["ABPFLAG2"].ToString();
                    or1.Parameters.Add("ABPFLAG3", OracleType.NVarChar).Value = dwData["ABPFLAG3"].ToString();
                    or1.Parameters.Add("ABPFLAG4", OracleType.NVarChar).Value = dwData["ABPFLAG4"].ToString();
                    or1.Parameters.Add("ABPFLAG5", OracleType.NVarChar).Value = dwData["ABPFLAG5"].ToString();
                    or1.Parameters.Add("ABPORGMG", OracleType.NVarChar).Value = dwData["ABPORGMG"].ToString();
                    or1.Parameters.Add("ABPDIFFMG", OracleType.NVarChar).Value = dwData["ABPDIFFMG"].ToString();
                    or1.Parameters.Add("ABPRARTKZ", OracleType.NVarChar).Value = dwData["ABPRARTKZ"].ToString();
                    or1.Parameters.Add("ABPSTARTDATN", OracleType.NVarChar).Value = dwData["ABPSTARTDATN"].ToString();
                    or1.Parameters.Add("ABPAESTAT", OracleType.NVarChar).Value = dwData["ABPAESTAT"].ToString();
                    or1.Parameters.Add("ABPLBAUFKRS", OracleType.NVarChar).Value = dwData["ABPLBAUFKRS"].ToString();
                    or1.Parameters.Add("ABPLBAUFLFD", OracleType.NVarChar).Value = dwData["ABPLBAUFLFD"].ToString();
                    or1.Parameters.Add("ABPLBAUFPOS", OracleType.NVarChar).Value = dwData["ABPLBAUFPOS"].ToString();
                    or1.Parameters.Add("ABPVEAUFTRAG", OracleType.NVarChar).Value = dwData["ABPVEAUFTRAG"].ToString();
                    or1.Parameters.Add("ABPREGBLOG", OracleType.NVarChar).Value = dwData["ABPREGBLOG"].ToString();
                    or1.Parameters.Add("ABPREGBDATE", OracleType.NVarChar).Value = dwData["ABPREGBDATE"].ToString();
                    or1.Parameters.Add("ABPPROJNR", OracleType.NVarChar).Value = dwData["ABPPROJNR"].ToString();
                    or1.Parameters.Add("ABPSHADE", OracleType.NVarChar).Value = dwData["ABPSHADE"].ToString();
                    or1.Parameters.Add("ABPSHADEUNCL", OracleType.NVarChar).Value = dwData["ABPSHADEUNCL"].ToString();
                    or1.Parameters.Add("ABPLICHTART", OracleType.NVarChar).Value = dwData["ABPLICHTART"].ToString();
                    or1.Parameters.Add("ABPLINE", OracleType.NVarChar).Value = dwData["ABPLINE"].ToString();
                    or1.Parameters.Add("ABPFILLER1", OracleType.NVarChar).Value = dwData["ABPFILLER1"].ToString();
                    or1.Parameters.Add("ABPAENDZL", OracleType.NVarChar).Value = dwData["ABPAENDZL"].ToString();
                    or1.Parameters.Add("ABPAENDBEN", OracleType.NVarChar).Value = dwData["ABPAENDBEN"].ToString();
                    or1.Parameters.Add("ABPAENDDAT", OracleType.NVarChar).Value = dwData["ABPAENDDAT"].ToString();
                    or1.Parameters.Add("ABPNEUBEN", OracleType.NVarChar).Value = dwData["ABPNEUBEN"].ToString();
                    or1.Parameters.Add("ABPNEUDAT", OracleType.NVarChar).Value = dwData["ABPNEUDAT"].ToString();
                    Connect2Proxy(or1);
                    #endregion
                    break;
                default:
                    break;
            }
        }
        public void UpdateABPOS(DataRow dwData, int option)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            string lines = "";
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPSPGRD=:ABPSPGRD,"
                        + "ABPGESSTA=:ABPGESSTA"
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPSPGRD", OracleType.NVarChar).Value = dwData["ABPSPGRD"].ToString();
                    or1.Parameters.Add("ABPGESSTA", OracleType.NVarChar).Value = dwData["ABPGESSTA"].ToString();
                    break;
                case 2:
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPSOLLMENGE7=:ABPSOLLMENGE7,"
                        + "ABPSOLLMENGE8=:ABPSOLLMENGE8"
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE7", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE7"].ToString();
                    or1.Parameters.Add("ABPSOLLMENGE8", OracleType.NVarChar).Value = dwData["ABPSOLLMENGE8"].ToString();
                    break;
                case 3:
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPSPGRD=:ABPSPGRD,"
                        + "ABPGESSTA=:ABPGESSTA"
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPSPGRD", OracleType.NVarChar).Value = dwData["ABPSPGRD"].ToString();
                    or1.Parameters.Add("ABPGESSTA", OracleType.NVarChar).Value = dwData["ABPGESSTA"].ToString();
                    break;
                case 4:
                    or1.CommandText = "UPDATE ABPOS SET "
                        + "ABPRESMGE=:ABPRESMGE,"
                        + "ABPRESKG=:ABPRESKG,"
                        + " ABPRESSTK=:ABPRESSTK"
                        + " WHERE  "
                        + "  ABPMANDANT=:ABPMANDANT AND ABPAUFKRS=:ABPAUFKRS  AND ABPAUFLFD=:ABPAUFLFD AND ABPAUFPOS=:ABPAUFPOS";
                    or1.Parameters.Add("ABPMANDANT", OracleType.NVarChar).Value = dwData["ABPMANDANT"].ToString();
                    or1.Parameters.Add("ABPAUFKRS", OracleType.NVarChar).Value = dwData["ABPAUFKRS"].ToString();
                    or1.Parameters.Add("ABPAUFLFD", OracleType.NVarChar).Value = dwData["ABPAUFLFD"].ToString();
                    or1.Parameters.Add("ABPAUFPOS", OracleType.NVarChar).Value = dwData["ABPAUFPOS"].ToString();
                    or1.Parameters.Add("ABPRESMGE", OracleType.NVarChar).Value = dwData["ABPRESMGE"].ToString();
                    or1.Parameters.Add("ABPRESKG", OracleType.NVarChar).Value = dwData["ABPRESKG"].ToString();
                    or1.Parameters.Add("ABPRESSTK", OracleType.NVarChar).Value = dwData["ABPRESSTK"].ToString();
                    break;
                default:
                    break;
            }

            Connect2Proxy(or1);
        }
        public void UpdateICC_ABPOSFS(DataRow dwData, int option, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE ICC_ABPOSFS SET "
                        + "KRS=:KRS,"
                        + "LFD=:LFD,"
                        + "SEASON=:SEASON,"
                        + "SECTION=:SECTION,"
                        + "ART=:ART,"
                        + "VAR=:VAR,"
                        + "FARBE=:FARBE,"
                        + "PHOTO=:PHOTO,"
                        + "CDES=:CDES,"
                        + "ARTDES=:ARTDES,"
                        + "EXTPRODUCER=:EXTPRODUCER,"
                        + "STARTDAT=:STARTDAT,"
                        + "DELDAT=:DELDAT,"
                        + "ETDDAT=:ETDDAT,"
                        + "AETDDAT=:AETDDAT,"
                        + "CAPP=:CAPP,"
                        + "SMAPP=:SMAPP,"
                        + "SZAPP=:SZAPP,"
                        + "WAPP1=:WAPP1,"
                        + "WAPP2=:WAPP2,"
                        + "WAPP3=:WAPP3,"
                        + "WAPP4=:WAPP4,"
                        + "WAPP5=:WAPP5,"
                        + "WAPP6=:WAPP6,"
                        + "WAPP7=:WAPP7,"
                        + "WAPP8=:WAPP8,"
                        + "AAPP1=:AAPP1,"
                        + "AAPP2=:AAPP2,"
                        + "AAPP3=:AAPP3,"
                        + "AAPP4=:AAPP4,"
                        + "AAPP5=:AAPP5,"
                        + "AAPP6=:AAPP6,"
                        + "AAPP7=:AAPP7,"
                        + "AAPP8=:AAPP8,"
                        + "WCHECK=:WCHECK,"
                        + "EXTTECH=:EXTTECH,"
                        + "FPRICE=:FPRICE,"
                        + "TQTY=:TQTY,"
                        + "REMARK=:REMARK,"
                        + "S=:S,"
                        + "M=:M,"
                        + "L=:L,"
                        + "XL=:XL"
                        + " WHERE  "
                        + "  KRS=:KRS AND LFD=:LFD AND  ART=:ART AND VAR=:VAR AND FARBE=:FARBE ";
                    or1.Parameters.Add("KRS", OracleType.NVarChar).Value = dwData["KRS"].ToString();
                    or1.Parameters.Add("LFD", OracleType.NVarChar).Value = dwData["LFD"].ToString();
                    or1.Parameters.Add("SEASON", OracleType.NVarChar).Value = dwData["SEASON"].ToString();
                    or1.Parameters.Add("SECTION", OracleType.NVarChar).Value = dwData["SECTION"].ToString();
                    or1.Parameters.Add("ART", OracleType.NVarChar).Value = dwData["ART"].ToString();
                    or1.Parameters.Add("VAR", OracleType.NVarChar).Value = dwData["VAR"].ToString();
                    or1.Parameters.Add("FARBE", OracleType.NVarChar).Value = dwData["FARBE"].ToString();
                    or1.Parameters.Add("PHOTO", OracleType.NVarChar).Value = dwData["PHOTO"].ToString();
                    or1.Parameters.Add("CDES", OracleType.NVarChar).Value = dwData["CDES"].ToString();
                    or1.Parameters.Add("ARTDES", OracleType.NVarChar).Value = dwData["ARTDES"].ToString();
                    or1.Parameters.Add("EXTPRODUCER", OracleType.NVarChar).Value = dwData["EXTPRODUCER"].ToString();
                    or1.Parameters.Add("STARTDAT", OracleType.NVarChar).Value = dwData["STARTDAT"].ToString();
                    or1.Parameters.Add("DELDAT", OracleType.NVarChar).Value = dwData["DELDAT"].ToString();
                    or1.Parameters.Add("ETDDAT", OracleType.NVarChar).Value = dwData["ETDDAT"].ToString();
                    or1.Parameters.Add("AETDDAT", OracleType.NVarChar).Value = dwData["AETDDAT"].ToString();
                    or1.Parameters.Add("CAPP", OracleType.NVarChar).Value = dwData["CAPP"].ToString();
                    or1.Parameters.Add("SMAPP", OracleType.NVarChar).Value = dwData["SMAPP"].ToString();
                    or1.Parameters.Add("SZAPP", OracleType.NVarChar).Value = dwData["SZAPP"].ToString();
                    or1.Parameters.Add("WAPP1", OracleType.NVarChar).Value = dwData["WAPP1"].ToString();
                    or1.Parameters.Add("WAPP2", OracleType.NVarChar).Value = dwData["WAPP2"].ToString();
                    or1.Parameters.Add("WAPP3", OracleType.NVarChar).Value = dwData["WAPP3"].ToString();
                    or1.Parameters.Add("WAPP4", OracleType.NVarChar).Value = dwData["WAPP4"].ToString();
                    or1.Parameters.Add("WAPP5", OracleType.NVarChar).Value = dwData["WAPP5"].ToString();
                    or1.Parameters.Add("WAPP6", OracleType.NVarChar).Value = dwData["WAPP6"].ToString();
                    or1.Parameters.Add("WAPP7", OracleType.NVarChar).Value = dwData["WAPP7"].ToString();
                    or1.Parameters.Add("WAPP8", OracleType.NVarChar).Value = dwData["WAPP8"].ToString();
                    or1.Parameters.Add("AAPP1", OracleType.NVarChar).Value = dwData["AAPP1"].ToString();
                    or1.Parameters.Add("AAPP2", OracleType.NVarChar).Value = dwData["AAPP2"].ToString();
                    or1.Parameters.Add("AAPP3", OracleType.NVarChar).Value = dwData["AAPP3"].ToString();
                    or1.Parameters.Add("AAPP4", OracleType.NVarChar).Value = dwData["AAPP4"].ToString();
                    or1.Parameters.Add("AAPP5", OracleType.NVarChar).Value = dwData["AAPP5"].ToString();
                    or1.Parameters.Add("AAPP6", OracleType.NVarChar).Value = dwData["AAPP6"].ToString();
                    or1.Parameters.Add("AAPP7", OracleType.NVarChar).Value = dwData["AAPP7"].ToString();
                    or1.Parameters.Add("AAPP8", OracleType.NVarChar).Value = dwData["AAPP8"].ToString();
                    or1.Parameters.Add("WCHECK", OracleType.NVarChar).Value = dwData["WCHECK"].ToString();
                    or1.Parameters.Add("EXTTECH", OracleType.NVarChar).Value = dwData["EXTTECH"].ToString();
                    or1.Parameters.Add("FPRICE", OracleType.NVarChar).Value = dwData["FPRICE"].ToString();
                    or1.Parameters.Add("TQTY", OracleType.NVarChar).Value = dwData["TQTY"].ToString();
                    or1.Parameters.Add("REMARK", OracleType.NVarChar).Value = dwData["REMARK"].ToString();
                    or1.Parameters.Add("S", OracleType.NVarChar).Value = dwData["S"].ToString();
                    or1.Parameters.Add("M", OracleType.NVarChar).Value = dwData["M"].ToString();
                    or1.Parameters.Add("L", OracleType.NVarChar).Value = dwData["L"].ToString();
                    or1.Parameters.Add("XL", OracleType.NVarChar).Value = dwData["XL"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateABPR(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE ABPR SET "
                + "ARMANDANT=:ARMANDANT,"
                + "ARAUFKRS=:ARAUFKRS,"
                + "ARAUFLFD=:ARAUFLFD,"
                + "ARAUFPOS=:ARAUFPOS,"
                + "ARAFOLGE=:ARAFOLGE,"
                + "ARKZSPR=:ARKZSPR,"
                + "ARPNRKR=:ARPNRKR,"
                + "ARPLFDNR=:ARPLFDNR,"
                + "ARBESTKZ=:ARBESTKZ,"
                + "ARWPKZLT=:ARWPKZLT,"
                + "ARMENGE=:ARMENGE,"
                + "ARSTAFME=:ARSTAFME,"
                + "ARGRUPPE=:ARGRUPPE,"
                + "ARWERT=:ARWERT,"
                + "ARMRKM1=:ARMRKM1,"
                + "ARMWERT1=:ARMWERT1,"
                + "ARMKZPA1=:ARMKZPA1,"
                + "ARMME1=:ARMME1,"
                + "ARMRKM2=:ARMRKM2,"
                + "ARMWERT2=:ARMWERT2,"
                + "ARMKZPA2=:ARMKZPA2,"
                + "ARMME2=:ARMME2,"
                + "ARMRKM3=:ARMRKM3,"
                + "ARMWERT3=:ARMWERT3,"
                + "ARMKZPA3=:ARMKZPA3,"
                + "ARMME3=:ARMME3,"
                + "ARMRKM4=:ARMRKM4,"
                + "ARMWERT4=:ARMWERT4,"
                + "ARMKZPA4=:ARMKZPA4,"
                + "ARMME4=:ARMME4,"
                + "ARMRKM5=:ARMRKM5,"
                + "ARMWERT5=:ARMWERT5,"
                + "ARMKZPA5=:ARMKZPA5,"
                + "ARMME5=:ARMME5,"
                + "ARMRKM6=:ARMRKM6,"
                + "ARMWERT6=:ARMWERT6,"
                + "ARMKZPA6=:ARMKZPA6,"
                + "ARMME6=:ARMME6,"
                + "ARMRKM7=:ARMRKM7,"
                + "ARMWERT7=:ARMWERT7,"
                + "ARMKZPA7=:ARMKZPA7,"
                + "ARMME7=:ARMME7,"
                + "ARMRKM8=:ARMRKM8,"
                + "ARMWERT8=:ARMWERT8,"
                + "ARMKZPA8=:ARMKZPA8,"
                + "ARMME8=:ARMME8,"
                + "ARMRKM9=:ARMRKM9,"
                + "ARMWERT9=:ARMWERT9,"
                + "ARMKZPA9=:ARMKZPA9,"
                + "ARMME9=:ARMME9,"
                + "ARMRKM10=:ARMRKM10,"
                + "ARMWERT10=:ARMWERT10,"
                + "ARMKZPA10=:ARMKZPA10,"
                + "ARMME10=:ARMME10,"
                + "ARANFART1=:ARANFART1,"
                + "ARAWERT1=:ARAWERT1,"
                + "ARAKZPA1=:ARAKZPA1,"
                + "ARAKZBP1=:ARAKZBP1,"
                + "ARAME1=:ARAME1,"
                + "ARBEMKZ1=:ARBEMKZ1,"
                + "ARANFART2=:ARANFART2,"
                + "ARAWERT2=:ARAWERT2,"
                + "ARAKZPA2=:ARAKZPA2,"
                + "ARAKZBP2=:ARAKZBP2,"
                + "ARAME2=:ARAME2,"
                + "ARBEMKZ2=:ARBEMKZ2,"
                + "ARANFART3=:ARANFART3,"
                + "ARAWERT3=:ARAWERT3,"
                + "ARAKZPA3=:ARAKZPA3,"
                + "ARAKZBP3=:ARAKZBP3,"
                + "ARAME3=:ARAME3,"
                + "ARBEMKZ3=:ARBEMKZ3,"
                + "ARANFART4=:ARANFART4,"
                + "ARAWERT4=:ARAWERT4,"
                + "ARAKZPA4=:ARAKZPA4,"
                + "ARAKZBP4=:ARAKZBP4,"
                + "ARAME4=:ARAME4,"
                + "ARBEMKZ4=:ARBEMKZ4,"
                + "ARANFART5=:ARANFART5,"
                + "ARAWERT5=:ARAWERT5,"
                + "ARAKZPA5=:ARAKZPA5,"
                + "ARAKZBP5=:ARAKZBP5,"
                + "ARAME5=:ARAME5,"
                + "ARBEMKZ5=:ARBEMKZ5,"
                + "ARANFART6=:ARANFART6,"
                + "ARAWERT6=:ARAWERT6,"
                + "ARAKZPA6=:ARAKZPA6,"
                + "ARAKZBP6=:ARAKZBP6,"
                + "ARAME6=:ARAME6,"
                + "ARBEMKZ6=:ARBEMKZ6,"
                + "ARANFART7=:ARANFART7,"
                + "ARAWERT7=:ARAWERT7,"
                + "ARAKZPA7=:ARAKZPA7,"
                + "ARAKZBP7=:ARAKZBP7,"
                + "ARAME7=:ARAME7,"
                + "ARBEMKZ7=:ARBEMKZ7,"
                + "ARANFART8=:ARANFART8,"
                + "ARAWERT8=:ARAWERT8,"
                + "ARAKZPA8=:ARAKZPA8,"
                + "ARAKZBP8=:ARAKZBP8,"
                + "ARAME8=:ARAME8,"
                + "ARBEMKZ8=:ARBEMKZ8,"
                + "ARANFART9=:ARANFART9,"
                + "ARAWERT9=:ARAWERT9,"
                + "ARAKZPA9=:ARAKZPA9,"
                + "ARAKZBP9=:ARAKZBP9,"
                + "ARAME9=:ARAME9,"
                + "ARBEMKZ9=:ARBEMKZ9,"
                + "ARANFART10=:ARANFART10,"
                + "ARAWERT10=:ARAWERT10,"
                + "ARAKZPA10=:ARAKZPA10,"
                + "ARAKZBP10=:ARAKZBP10,"
                + "ARAME10=:ARAME10,"
                + "ARBEMKZ10=:ARBEMKZ10,"
                + "ARVALDAT=:ARVALDAT,"
                + "ARZAHLB=:ARZAHLB,"
                + "ARPAMABR=:ARPAMABR,"
                + "ARAUFWRT=:ARAUFWRT,"
                + "ARBERBAS=:ARBERBAS,"
                + "ARFKNVS=:ARFKNVS,"
                + "ARFKSPTD=:ARFKSPTD,"
                + "ARFKSPRD=:ARFKSPRD,"
                + "ARKSTTKZ=:ARKSTTKZ,"
                + "ARMINMGE=:ARMINMGE,"
                + "ARMRKMP=:ARMRKMP,"
                + "ARMWERTP=:ARMWERTP,"
                + "ARRENR=:ARRENR,"
                + "ARREPOS=:ARREPOS,"
                + "ARRPREIS=:ARRPREIS,"
                + "ARDRZUSCHL=:ARDRZUSCHL,"
                + "ARBERZUSATZ=:ARBERZUSATZ,"
                + "ARFFAKKZ=:ARFFAKKZ,"
                + "ARWAEHRSL=:ARWAEHRSL,"
                + "ARNIXVV=:ARNIXVV,"
                + "ARABRWERT=:ARABRWERT,"
                + "ARABRFAE=:ARABRFAE,"
                + "ARKUNDNR=:ARKUNDNR,"
                + "ARLIEFNR=:ARLIEFNR,"
                + "ARFILLER=:ARFILLER,"
                + "ARAENDBEN=:ARAENDBEN,"
                + "ARAENDDAT=:ARAENDDAT"
                + " WHERE  "
                + "  ARMANDANT=:ARMANDANT AND ARAUFKRS=:ARAUFKRS  AND ARAUFLFD=:ARAUFLFD AND ARAUFPOS=:ARAUFPOS";

            or1.Parameters.Add("ARMANDANT", OracleType.NVarChar).Value = dwData["ARMANDANT"].ToString();
            or1.Parameters.Add("ARAUFKRS", OracleType.NVarChar).Value = dwData["ARAUFKRS"].ToString();
            or1.Parameters.Add("ARAUFLFD", OracleType.NVarChar).Value = dwData["ARAUFLFD"].ToString();
            or1.Parameters.Add("ARAUFPOS", OracleType.NVarChar).Value = dwData["ARAUFPOS"].ToString();
            or1.Parameters.Add("ARAFOLGE", OracleType.NVarChar).Value = dwData["ARAFOLGE"].ToString();
            or1.Parameters.Add("ARKZSPR", OracleType.NVarChar).Value = dwData["ARKZSPR"].ToString();
            or1.Parameters.Add("ARPNRKR", OracleType.NVarChar).Value = dwData["ARPNRKR"].ToString();
            or1.Parameters.Add("ARPLFDNR", OracleType.NVarChar).Value = dwData["ARPLFDNR"].ToString();
            or1.Parameters.Add("ARBESTKZ", OracleType.NVarChar).Value = dwData["ARBESTKZ"].ToString();
            or1.Parameters.Add("ARWPKZLT", OracleType.NVarChar).Value = dwData["ARWPKZLT"].ToString();
            or1.Parameters.Add("ARMENGE", OracleType.NVarChar).Value = dwData["ARMENGE"].ToString();
            or1.Parameters.Add("ARSTAFME", OracleType.NVarChar).Value = dwData["ARSTAFME"].ToString();
            or1.Parameters.Add("ARGRUPPE", OracleType.NVarChar).Value = dwData["ARGRUPPE"].ToString();
            or1.Parameters.Add("ARWERT", OracleType.NVarChar).Value = dwData["ARWERT"].ToString();
            or1.Parameters.Add("ARMRKM1", OracleType.NVarChar).Value = dwData["ARMRKM1"].ToString();
            or1.Parameters.Add("ARMWERT1", OracleType.NVarChar).Value = dwData["ARMWERT1"].ToString();
            or1.Parameters.Add("ARMKZPA1", OracleType.NVarChar).Value = dwData["ARMKZPA1"].ToString();
            or1.Parameters.Add("ARMME1", OracleType.NVarChar).Value = dwData["ARMME1"].ToString();
            or1.Parameters.Add("ARMRKM2", OracleType.NVarChar).Value = dwData["ARMRKM2"].ToString();
            or1.Parameters.Add("ARMWERT2", OracleType.NVarChar).Value = dwData["ARMWERT2"].ToString();
            or1.Parameters.Add("ARMKZPA2", OracleType.NVarChar).Value = dwData["ARMKZPA2"].ToString();
            or1.Parameters.Add("ARMME2", OracleType.NVarChar).Value = dwData["ARMME2"].ToString();
            or1.Parameters.Add("ARMRKM3", OracleType.NVarChar).Value = dwData["ARMRKM3"].ToString();
            or1.Parameters.Add("ARMWERT3", OracleType.NVarChar).Value = dwData["ARMWERT3"].ToString();
            or1.Parameters.Add("ARMKZPA3", OracleType.NVarChar).Value = dwData["ARMKZPA3"].ToString();
            or1.Parameters.Add("ARMME3", OracleType.NVarChar).Value = dwData["ARMME3"].ToString();
            or1.Parameters.Add("ARMRKM4", OracleType.NVarChar).Value = dwData["ARMRKM4"].ToString();
            or1.Parameters.Add("ARMWERT4", OracleType.NVarChar).Value = dwData["ARMWERT4"].ToString();
            or1.Parameters.Add("ARMKZPA4", OracleType.NVarChar).Value = dwData["ARMKZPA4"].ToString();
            or1.Parameters.Add("ARMME4", OracleType.NVarChar).Value = dwData["ARMME4"].ToString();
            or1.Parameters.Add("ARMRKM5", OracleType.NVarChar).Value = dwData["ARMRKM5"].ToString();
            or1.Parameters.Add("ARMWERT5", OracleType.NVarChar).Value = dwData["ARMWERT5"].ToString();
            or1.Parameters.Add("ARMKZPA5", OracleType.NVarChar).Value = dwData["ARMKZPA5"].ToString();
            or1.Parameters.Add("ARMME5", OracleType.NVarChar).Value = dwData["ARMME5"].ToString();
            or1.Parameters.Add("ARMRKM6", OracleType.NVarChar).Value = dwData["ARMRKM6"].ToString();
            or1.Parameters.Add("ARMWERT6", OracleType.NVarChar).Value = dwData["ARMWERT6"].ToString();
            or1.Parameters.Add("ARMKZPA6", OracleType.NVarChar).Value = dwData["ARMKZPA6"].ToString();
            or1.Parameters.Add("ARMME6", OracleType.NVarChar).Value = dwData["ARMME6"].ToString();
            or1.Parameters.Add("ARMRKM7", OracleType.NVarChar).Value = dwData["ARMRKM7"].ToString();
            or1.Parameters.Add("ARMWERT7", OracleType.NVarChar).Value = dwData["ARMWERT7"].ToString();
            or1.Parameters.Add("ARMKZPA7", OracleType.NVarChar).Value = dwData["ARMKZPA7"].ToString();
            or1.Parameters.Add("ARMME7", OracleType.NVarChar).Value = dwData["ARMME7"].ToString();
            or1.Parameters.Add("ARMRKM8", OracleType.NVarChar).Value = dwData["ARMRKM8"].ToString();
            or1.Parameters.Add("ARMWERT8", OracleType.NVarChar).Value = dwData["ARMWERT8"].ToString();
            or1.Parameters.Add("ARMKZPA8", OracleType.NVarChar).Value = dwData["ARMKZPA8"].ToString();
            or1.Parameters.Add("ARMME8", OracleType.NVarChar).Value = dwData["ARMME8"].ToString();
            or1.Parameters.Add("ARMRKM9", OracleType.NVarChar).Value = dwData["ARMRKM9"].ToString();
            or1.Parameters.Add("ARMWERT9", OracleType.NVarChar).Value = dwData["ARMWERT9"].ToString();
            or1.Parameters.Add("ARMKZPA9", OracleType.NVarChar).Value = dwData["ARMKZPA9"].ToString();
            or1.Parameters.Add("ARMME9", OracleType.NVarChar).Value = dwData["ARMME9"].ToString();
            or1.Parameters.Add("ARMRKM10", OracleType.NVarChar).Value = dwData["ARMRKM10"].ToString();
            or1.Parameters.Add("ARMWERT10", OracleType.NVarChar).Value = dwData["ARMWERT10"].ToString();
            or1.Parameters.Add("ARMKZPA10", OracleType.NVarChar).Value = dwData["ARMKZPA10"].ToString();
            or1.Parameters.Add("ARMME10", OracleType.NVarChar).Value = dwData["ARMME10"].ToString();
            or1.Parameters.Add("ARANFART1", OracleType.NVarChar).Value = dwData["ARANFART1"].ToString();
            or1.Parameters.Add("ARAWERT1", OracleType.NVarChar).Value = dwData["ARAWERT1"].ToString();
            or1.Parameters.Add("ARAKZPA1", OracleType.NVarChar).Value = dwData["ARAKZPA1"].ToString();
            or1.Parameters.Add("ARAKZBP1", OracleType.NVarChar).Value = dwData["ARAKZBP1"].ToString();
            or1.Parameters.Add("ARAME1", OracleType.NVarChar).Value = dwData["ARAME1"].ToString();
            or1.Parameters.Add("ARBEMKZ1", OracleType.NVarChar).Value = dwData["ARBEMKZ1"].ToString();
            or1.Parameters.Add("ARANFART2", OracleType.NVarChar).Value = dwData["ARANFART2"].ToString();
            or1.Parameters.Add("ARAWERT2", OracleType.NVarChar).Value = dwData["ARAWERT2"].ToString();
            or1.Parameters.Add("ARAKZPA2", OracleType.NVarChar).Value = dwData["ARAKZPA2"].ToString();
            or1.Parameters.Add("ARAKZBP2", OracleType.NVarChar).Value = dwData["ARAKZBP2"].ToString();
            or1.Parameters.Add("ARAME2", OracleType.NVarChar).Value = dwData["ARAME2"].ToString();
            or1.Parameters.Add("ARBEMKZ2", OracleType.NVarChar).Value = dwData["ARBEMKZ2"].ToString();
            or1.Parameters.Add("ARANFART3", OracleType.NVarChar).Value = dwData["ARANFART3"].ToString();
            or1.Parameters.Add("ARAWERT3", OracleType.NVarChar).Value = dwData["ARAWERT3"].ToString();
            or1.Parameters.Add("ARAKZPA3", OracleType.NVarChar).Value = dwData["ARAKZPA3"].ToString();
            or1.Parameters.Add("ARAKZBP3", OracleType.NVarChar).Value = dwData["ARAKZBP3"].ToString();
            or1.Parameters.Add("ARAME3", OracleType.NVarChar).Value = dwData["ARAME3"].ToString();
            or1.Parameters.Add("ARBEMKZ3", OracleType.NVarChar).Value = dwData["ARBEMKZ3"].ToString();
            or1.Parameters.Add("ARANFART4", OracleType.NVarChar).Value = dwData["ARANFART4"].ToString();
            or1.Parameters.Add("ARAWERT4", OracleType.NVarChar).Value = dwData["ARAWERT4"].ToString();
            or1.Parameters.Add("ARAKZPA4", OracleType.NVarChar).Value = dwData["ARAKZPA4"].ToString();
            or1.Parameters.Add("ARAKZBP4", OracleType.NVarChar).Value = dwData["ARAKZBP4"].ToString();
            or1.Parameters.Add("ARAME4", OracleType.NVarChar).Value = dwData["ARAME4"].ToString();
            or1.Parameters.Add("ARBEMKZ4", OracleType.NVarChar).Value = dwData["ARBEMKZ4"].ToString();
            or1.Parameters.Add("ARANFART5", OracleType.NVarChar).Value = dwData["ARANFART5"].ToString();
            or1.Parameters.Add("ARAWERT5", OracleType.NVarChar).Value = dwData["ARAWERT5"].ToString();
            or1.Parameters.Add("ARAKZPA5", OracleType.NVarChar).Value = dwData["ARAKZPA5"].ToString();
            or1.Parameters.Add("ARAKZBP5", OracleType.NVarChar).Value = dwData["ARAKZBP5"].ToString();
            or1.Parameters.Add("ARAME5", OracleType.NVarChar).Value = dwData["ARAME5"].ToString();
            or1.Parameters.Add("ARBEMKZ5", OracleType.NVarChar).Value = dwData["ARBEMKZ5"].ToString();
            or1.Parameters.Add("ARANFART6", OracleType.NVarChar).Value = dwData["ARANFART6"].ToString();
            or1.Parameters.Add("ARAWERT6", OracleType.NVarChar).Value = dwData["ARAWERT6"].ToString();
            or1.Parameters.Add("ARAKZPA6", OracleType.NVarChar).Value = dwData["ARAKZPA6"].ToString();
            or1.Parameters.Add("ARAKZBP6", OracleType.NVarChar).Value = dwData["ARAKZBP6"].ToString();
            or1.Parameters.Add("ARAME6", OracleType.NVarChar).Value = dwData["ARAME6"].ToString();
            or1.Parameters.Add("ARBEMKZ6", OracleType.NVarChar).Value = dwData["ARBEMKZ6"].ToString();
            or1.Parameters.Add("ARANFART7", OracleType.NVarChar).Value = dwData["ARANFART7"].ToString();
            or1.Parameters.Add("ARAWERT7", OracleType.NVarChar).Value = dwData["ARAWERT7"].ToString();
            or1.Parameters.Add("ARAKZPA7", OracleType.NVarChar).Value = dwData["ARAKZPA7"].ToString();
            or1.Parameters.Add("ARAKZBP7", OracleType.NVarChar).Value = dwData["ARAKZBP7"].ToString();
            or1.Parameters.Add("ARAME7", OracleType.NVarChar).Value = dwData["ARAME7"].ToString();
            or1.Parameters.Add("ARBEMKZ7", OracleType.NVarChar).Value = dwData["ARBEMKZ7"].ToString();
            or1.Parameters.Add("ARANFART8", OracleType.NVarChar).Value = dwData["ARANFART8"].ToString();
            or1.Parameters.Add("ARAWERT8", OracleType.NVarChar).Value = dwData["ARAWERT8"].ToString();
            or1.Parameters.Add("ARAKZPA8", OracleType.NVarChar).Value = dwData["ARAKZPA8"].ToString();
            or1.Parameters.Add("ARAKZBP8", OracleType.NVarChar).Value = dwData["ARAKZBP8"].ToString();
            or1.Parameters.Add("ARAME8", OracleType.NVarChar).Value = dwData["ARAME8"].ToString();
            or1.Parameters.Add("ARBEMKZ8", OracleType.NVarChar).Value = dwData["ARBEMKZ8"].ToString();
            or1.Parameters.Add("ARANFART9", OracleType.NVarChar).Value = dwData["ARANFART9"].ToString();
            or1.Parameters.Add("ARAWERT9", OracleType.NVarChar).Value = dwData["ARAWERT9"].ToString();
            or1.Parameters.Add("ARAKZPA9", OracleType.NVarChar).Value = dwData["ARAKZPA9"].ToString();
            or1.Parameters.Add("ARAKZBP9", OracleType.NVarChar).Value = dwData["ARAKZBP9"].ToString();
            or1.Parameters.Add("ARAME9", OracleType.NVarChar).Value = dwData["ARAME9"].ToString();
            or1.Parameters.Add("ARBEMKZ9", OracleType.NVarChar).Value = dwData["ARBEMKZ9"].ToString();
            or1.Parameters.Add("ARANFART10", OracleType.NVarChar).Value = dwData["ARANFART10"].ToString();
            or1.Parameters.Add("ARAWERT10", OracleType.NVarChar).Value = dwData["ARAWERT10"].ToString();
            or1.Parameters.Add("ARAKZPA10", OracleType.NVarChar).Value = dwData["ARAKZPA10"].ToString();
            or1.Parameters.Add("ARAKZBP10", OracleType.NVarChar).Value = dwData["ARAKZBP10"].ToString();
            or1.Parameters.Add("ARAME10", OracleType.NVarChar).Value = dwData["ARAME10"].ToString();
            or1.Parameters.Add("ARBEMKZ10", OracleType.NVarChar).Value = dwData["ARBEMKZ10"].ToString();
            or1.Parameters.Add("ARVALDAT", OracleType.NVarChar).Value = dwData["ARVALDAT"].ToString();
            or1.Parameters.Add("ARZAHLB", OracleType.NVarChar).Value = dwData["ARZAHLB"].ToString();
            or1.Parameters.Add("ARPAMABR", OracleType.NVarChar).Value = dwData["ARPAMABR"].ToString();
            or1.Parameters.Add("ARAUFWRT", OracleType.NVarChar).Value = dwData["ARAUFWRT"].ToString();
            or1.Parameters.Add("ARBERBAS", OracleType.NVarChar).Value = dwData["ARBERBAS"].ToString();
            or1.Parameters.Add("ARFKNVS", OracleType.NVarChar).Value = dwData["ARFKNVS"].ToString();
            or1.Parameters.Add("ARFKSPTD", OracleType.NVarChar).Value = dwData["ARFKSPTD"].ToString();
            or1.Parameters.Add("ARFKSPRD", OracleType.NVarChar).Value = dwData["ARFKSPRD"].ToString();
            or1.Parameters.Add("ARKSTTKZ", OracleType.NVarChar).Value = dwData["ARKSTTKZ"].ToString();
            or1.Parameters.Add("ARMINMGE", OracleType.NVarChar).Value = dwData["ARMINMGE"].ToString();
            or1.Parameters.Add("ARMRKMP", OracleType.NVarChar).Value = dwData["ARMRKMP"].ToString();
            or1.Parameters.Add("ARMWERTP", OracleType.NVarChar).Value = dwData["ARMWERTP"].ToString();
            or1.Parameters.Add("ARRENR", OracleType.NVarChar).Value = dwData["ARRENR"].ToString();
            or1.Parameters.Add("ARREPOS", OracleType.NVarChar).Value = dwData["ARREPOS"].ToString();
            or1.Parameters.Add("ARRPREIS", OracleType.NVarChar).Value = dwData["ARRPREIS"].ToString();
            or1.Parameters.Add("ARDRZUSCHL", OracleType.NVarChar).Value = dwData["ARDRZUSCHL"].ToString();
            or1.Parameters.Add("ARBERZUSATZ", OracleType.NVarChar).Value = dwData["ARBERZUSATZ"].ToString();
            or1.Parameters.Add("ARFFAKKZ", OracleType.NVarChar).Value = dwData["ARFFAKKZ"].ToString();
            or1.Parameters.Add("ARWAEHRSL", OracleType.NVarChar).Value = dwData["ARWAEHRSL"].ToString();
            or1.Parameters.Add("ARNIXVV", OracleType.NVarChar).Value = dwData["ARNIXVV"].ToString();
            or1.Parameters.Add("ARABRWERT", OracleType.NVarChar).Value = dwData["ARABRWERT"].ToString();
            or1.Parameters.Add("ARABRFAE", OracleType.NVarChar).Value = dwData["ARABRFAE"].ToString();
            or1.Parameters.Add("ARKUNDNR", OracleType.NVarChar).Value = dwData["ARKUNDNR"].ToString();
            or1.Parameters.Add("ARLIEFNR", OracleType.NVarChar).Value = dwData["ARLIEFNR"].ToString();
            or1.Parameters.Add("ARFILLER", OracleType.NVarChar).Value = dwData["ARFILLER"].ToString();
            or1.Parameters.Add("ARAENDBEN", OracleType.NVarChar).Value = dwData["ARAENDBEN"].ToString();
            or1.Parameters.Add("ARAENDDAT", OracleType.NVarChar).Value = dwData["ARAENDDAT"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateAPZUORD(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE APZUORD SET "
           + "APZZUSATZKZ46=:APZZUSATZKZ46,"
           + "APZZUSATZ47=:APZZUSATZ47,"
           + "APZZUSATZKZ47=:APZZUSATZKZ47,"
           + "APZZUSATZ48=:APZZUSATZ48,"
           + "APZZUSATZKZ48=:APZZUSATZKZ48,"
           + "APZZUSATZ49=:APZZUSATZ49,"
           + "APZZUSATZKZ49=:APZZUSATZKZ49,"
           + "APZZUSATZ50=:APZZUSATZ50,"
           + "APZZUSATZKZ50=:APZZUSATZKZ50,"
           + "APZZANRKRS1=:APZZANRKRS1,"
           + "APZZALFDNR1=:APZZALFDNR1,"
           + "APZZAKZ1=:APZZAKZ1,"
           + "APZZANRKRS2=:APZZANRKRS2,"
                + "APZZALFDNR2=:APZZALFDNR2,"
                + "APZZAKZ2=:APZZAKZ2,"
                + "APZZANRKRS3=:APZZANRKRS3,"
                + "APZZALFDNR3=:APZZALFDNR3,"
                + "APZZAKZ3=:APZZAKZ3,"
                + "APZZANRKRS4=:APZZANRKRS4,"
                + "APZZALFDNR4=:APZZALFDNR4,"
                + "APZZAKZ4=:APZZAKZ4,"
                + "APZPRIO=:APZPRIO,"
                + "APZAENDZL=:APZAENDZL,"
                + "APZAENDBEN=:APZAENDBEN,"
                + "APZAENDDAT=:APZAENDDAT,"
                + "APZNEUBEN=:APZNEUBEN,"
                + "APZNEUDAT=:APZNEUDAT,"
                + "APZFILLER=:APZFILLER,"
                + "APZMANDANT=:APZMANDANT,"
                + "APZKUNDNR=:APZKUNDNR,"
                + "APZWERK=:APZWERK,"
                + "APZABT=:APZABT,"
                + "APZART=:APZART,"
                + "APZVAR=:APZVAR,"
                + "APZANRKRS=:APZANRKRS,"
                + "APZALFDNR=:APZALFDNR,"
                + "APZSTUFE=:APZSTUFE,"
                + "APZSPEZIF=:APZSPEZIF,"
                + "APZSPSTA=:APZSPSTA,"
                + "APZSPGRD=:APZSPGRD,"
                + "APZSTDKALK=:APZSTDKALK,"
                + "APZZUSTAND=:APZZUSTAND,"
                + "APZZUSATZ1=:APZZUSATZ1,"
                + "APZZUSATZKZ1=:APZZUSATZKZ1,"
                + "APZZUSATZ2=:APZZUSATZ2,"
                + "APZZUSATZKZ2=:APZZUSATZKZ2,"
                + "APZZUSATZ3=:APZZUSATZ3,"
                + "APZZUSATZKZ3=:APZZUSATZKZ3,"
                + "APZZUSATZ4=:APZZUSATZ4,"
                + "APZZUSATZKZ4=:APZZUSATZKZ4,"
                + "APZZUSATZ5=:APZZUSATZ5,"
                + "APZZUSATZKZ5=:APZZUSATZKZ5,"
                + "APZZUSATZ6=:APZZUSATZ6,"
                + "APZZUSATZKZ6=:APZZUSATZKZ6,"
                + "APZZUSATZ7=:APZZUSATZ7,"
                + "APZZUSATZKZ7=:APZZUSATZKZ7,"
                + "APZZUSATZ8=:APZZUSATZ8,"
                + "APZZUSATZKZ8=:APZZUSATZKZ8,"
                + "APZZUSATZ9=:APZZUSATZ9,"
                + "APZZUSATZKZ9=:APZZUSATZKZ9,"
                + "APZZUSATZ10=:APZZUSATZ10,"
                + "APZZUSATZKZ10=:APZZUSATZKZ10,"
                + "APZZUSATZ11=:APZZUSATZ11,"
                + "APZZUSATZKZ11=:APZZUSATZKZ11,"
                + "APZZUSATZ12=:APZZUSATZ12,"
                + "APZZUSATZKZ12=:APZZUSATZKZ12,"
                + "APZZUSATZ13=:APZZUSATZ13,"
                + "APZZUSATZKZ13=:APZZUSATZKZ13,"
                + "APZZUSATZ14=:APZZUSATZ14,"
                + "APZZUSATZKZ14=:APZZUSATZKZ14,"
                + "APZZUSATZ15=:APZZUSATZ15,"
                + "APZZUSATZKZ15=:APZZUSATZKZ15,"
                + "APZZUSATZ16=:APZZUSATZ16,"
                + "APZZUSATZKZ16=:APZZUSATZKZ16,"
                + "APZZUSATZ17=:APZZUSATZ17,"
                + "APZZUSATZKZ17=:APZZUSATZKZ17,"
                + "APZZUSATZ18=:APZZUSATZ18,"
                + "APZZUSATZKZ18=:APZZUSATZKZ18,"
                + "APZZUSATZ19=:APZZUSATZ19,"
                + "APZZUSATZKZ19=:APZZUSATZKZ19,"
                + "APZZUSATZ20=:APZZUSATZ20,"
                + "APZZUSATZKZ20=:APZZUSATZKZ20,"
                + "APZZUSATZ21=:APZZUSATZ21,"
                + "APZZUSATZKZ21=:APZZUSATZKZ21,"
                + "APZZUSATZ22=:APZZUSATZ22,"
                + "APZZUSATZKZ22=:APZZUSATZKZ22,"
                + "APZZUSATZ23=:APZZUSATZ23,"
                + "APZZUSATZKZ23=:APZZUSATZKZ23,"
                + "APZZUSATZ24=:APZZUSATZ24,"
                + "APZZUSATZKZ24=:APZZUSATZKZ24,"
                + "APZZUSATZ25=:APZZUSATZ25,"
                + "APZZUSATZKZ25=:APZZUSATZKZ25,"
                + "APZZUSATZ26=:APZZUSATZ26,"
                + "APZZUSATZKZ26=:APZZUSATZKZ26,"
                + "APZZUSATZ27=:APZZUSATZ27,"
                + "APZZUSATZKZ27=:APZZUSATZKZ27,"
                + "APZZUSATZ28=:APZZUSATZ28,"
                + "APZZUSATZKZ28=:APZZUSATZKZ28,"
                + "APZZUSATZ29=:APZZUSATZ29,"
                + "APZZUSATZKZ29=:APZZUSATZKZ29,"
                + "APZZUSATZ30=:APZZUSATZ30,"
                + "APZZUSATZKZ30=:APZZUSATZKZ30,"
                + "APZZUSATZ31=:APZZUSATZ31,"
                + "APZZUSATZKZ31=:APZZUSATZKZ31,"
                + "APZZUSATZ32=:APZZUSATZ32,"
                + "APZZUSATZKZ32=:APZZUSATZKZ32,"
                + "APZZUSATZ33=:APZZUSATZ33,"
                + "APZZUSATZKZ33=:APZZUSATZKZ33,"
                + "APZZUSATZ34=:APZZUSATZ34,"
                + "APZZUSATZKZ34=:APZZUSATZKZ34,"
                + "APZZUSATZ35=:APZZUSATZ35,"
                + "APZZUSATZKZ35=:APZZUSATZKZ35,"
                + "APZZUSATZ36=:APZZUSATZ36,"
                + "APZZUSATZKZ36=:APZZUSATZKZ36,"
                + "APZZUSATZ37=:APZZUSATZ37,"
                + "APZZUSATZKZ37=:APZZUSATZKZ37,"
                + "APZZUSATZ38=:APZZUSATZ38,"
                + "APZZUSATZKZ38=:APZZUSATZKZ38,"
                + "APZZUSATZ39=:APZZUSATZ39,"
                + "APZZUSATZKZ39=:APZZUSATZKZ39,"
                + "APZZUSATZ40=:APZZUSATZ40,"
                + "APZZUSATZKZ40=:APZZUSATZKZ40,"
                + "APZZUSATZ41=:APZZUSATZ41,"
                + "APZZUSATZKZ41=:APZZUSATZKZ41,"
                + "APZZUSATZ42=:APZZUSATZ42,"
                + "APZZUSATZKZ42=:APZZUSATZKZ42,"
                + "APZZUSATZ43=:APZZUSATZ43,"
                + "APZZUSATZKZ43=:APZZUSATZKZ43,"
                + "APZZUSATZ44=:APZZUSATZ44,"
                + "APZZUSATZKZ44=:APZZUSATZKZ44,"
                + "APZZUSATZ45=:APZZUSATZ45,"
                + "APZZUSATZKZ45=:APZZUSATZKZ45,"
                + "APZZUSATZ46=:APZZUSATZ46 "
                + " WHERE  "
                + "  APZMANDANT=:APZMANDANT AND APZART=:APZART  AND APZVAR=:APZVAR  AND APZANRKRS=:APZANRKRS  AND APZALFDNR=:APZALFDNR"
                + " AND APZSTUFE=:APZSTUFE";

            or1.Parameters.Add("APZMANDANT", OracleType.NVarChar).Value = dwData["APZMANDANT"].ToString();
            or1.Parameters.Add("APZART", OracleType.NVarChar).Value = dwData["APZART"].ToString();
            or1.Parameters.Add("APZVAR", OracleType.NVarChar).Value = dwData["APZVAR"].ToString();
            or1.Parameters.Add("APZANRKRS", OracleType.NVarChar).Value = dwData["APZANRKRS"].ToString();
            or1.Parameters.Add("APZALFDNR", OracleType.NVarChar).Value = dwData["APZALFDNR"].ToString();
            or1.Parameters.Add("APZSTUFE", OracleType.NVarChar).Value = dwData["APZSTUFE"].ToString();
            or1.Parameters.Add("APZKUNDNR", OracleType.NVarChar).Value = dwData["APZKUNDNR"].ToString();
            or1.Parameters.Add("APZZUSATZKZ46", OracleType.NVarChar).Value = dwData["APZZUSATZKZ46"].ToString();
            or1.Parameters.Add("APZZUSATZ47", OracleType.NVarChar).Value = dwData["APZZUSATZ47"].ToString();
            or1.Parameters.Add("APZZUSATZKZ47", OracleType.NVarChar).Value = dwData["APZZUSATZKZ47"].ToString();
            or1.Parameters.Add("APZZUSATZ48", OracleType.NVarChar).Value = dwData["APZZUSATZ48"].ToString();
            or1.Parameters.Add("APZZUSATZKZ48", OracleType.NVarChar).Value = dwData["APZZUSATZKZ48"].ToString();
            or1.Parameters.Add("APZZUSATZ49", OracleType.NVarChar).Value = dwData["APZZUSATZ49"].ToString();
            or1.Parameters.Add("APZZUSATZKZ49", OracleType.NVarChar).Value = dwData["APZZUSATZKZ49"].ToString();
            or1.Parameters.Add("APZZUSATZ50", OracleType.NVarChar).Value = dwData["APZZUSATZ50"].ToString();
            or1.Parameters.Add("APZZUSATZKZ50", OracleType.NVarChar).Value = dwData["APZZUSATZKZ50"].ToString();
            or1.Parameters.Add("APZZANRKRS1", OracleType.NVarChar).Value = dwData["APZZANRKRS1"].ToString();
            or1.Parameters.Add("APZZALFDNR1", OracleType.NVarChar).Value = dwData["APZZALFDNR1"].ToString();
            or1.Parameters.Add("APZZAKZ1", OracleType.NVarChar).Value = dwData["APZZAKZ1"].ToString();
            or1.Parameters.Add("APZZANRKRS2", OracleType.NVarChar).Value = dwData["APZZANRKRS2"].ToString();
            or1.Parameters.Add("APZZALFDNR2", OracleType.NVarChar).Value = dwData["APZZALFDNR2"].ToString();
            or1.Parameters.Add("APZZAKZ2", OracleType.NVarChar).Value = dwData["APZZAKZ2"].ToString();
            or1.Parameters.Add("APZZANRKRS3", OracleType.NVarChar).Value = dwData["APZZANRKRS3"].ToString();
            or1.Parameters.Add("APZZALFDNR3", OracleType.NVarChar).Value = dwData["APZZALFDNR3"].ToString();
            or1.Parameters.Add("APZZAKZ3", OracleType.NVarChar).Value = dwData["APZZAKZ3"].ToString();
            or1.Parameters.Add("APZZANRKRS4", OracleType.NVarChar).Value = dwData["APZZANRKRS4"].ToString();
            or1.Parameters.Add("APZZALFDNR4", OracleType.NVarChar).Value = dwData["APZZALFDNR4"].ToString();
            or1.Parameters.Add("APZZAKZ4", OracleType.NVarChar).Value = dwData["APZZAKZ4"].ToString();
            or1.Parameters.Add("APZPRIO", OracleType.NVarChar).Value = dwData["APZPRIO"].ToString();
            or1.Parameters.Add("APZAENDZL", OracleType.NVarChar).Value = dwData["APZAENDZL"].ToString();
            or1.Parameters.Add("APZAENDBEN", OracleType.NVarChar).Value = dwData["APZAENDBEN"].ToString();
            or1.Parameters.Add("APZAENDDAT", OracleType.NVarChar).Value = dwData["APZAENDDAT"].ToString();
            or1.Parameters.Add("APZNEUBEN", OracleType.NVarChar).Value = dwData["APZNEUBEN"].ToString();
            or1.Parameters.Add("APZNEUDAT", OracleType.NVarChar).Value = dwData["APZNEUDAT"].ToString();
            or1.Parameters.Add("APZFILLER", OracleType.NVarChar).Value = dwData["APZFILLER"].ToString();
            or1.Parameters.Add("APZWERK", OracleType.NVarChar).Value = dwData["APZWERK"].ToString();
            or1.Parameters.Add("APZABT", OracleType.NVarChar).Value = dwData["APZABT"].ToString();
            or1.Parameters.Add("APZSPEZIF", OracleType.NVarChar).Value = dwData["APZSPEZIF"].ToString();
            or1.Parameters.Add("APZSPSTA", OracleType.NVarChar).Value = dwData["APZSPSTA"].ToString();
            or1.Parameters.Add("APZSPGRD", OracleType.NVarChar).Value = dwData["APZSPGRD"].ToString();
            or1.Parameters.Add("APZSTDKALK", OracleType.NVarChar).Value = dwData["APZSTDKALK"].ToString();
            or1.Parameters.Add("APZZUSTAND", OracleType.NVarChar).Value = dwData["APZZUSTAND"].ToString();
            or1.Parameters.Add("APZZUSATZ1", OracleType.NVarChar).Value = dwData["APZZUSATZ1"].ToString();
            or1.Parameters.Add("APZZUSATZKZ1", OracleType.NVarChar).Value = dwData["APZZUSATZKZ1"].ToString();
            or1.Parameters.Add("APZZUSATZ2", OracleType.NVarChar).Value = dwData["APZZUSATZ2"].ToString();
            or1.Parameters.Add("APZZUSATZKZ2", OracleType.NVarChar).Value = dwData["APZZUSATZKZ2"].ToString();
            or1.Parameters.Add("APZZUSATZ3", OracleType.NVarChar).Value = dwData["APZZUSATZ3"].ToString();
            or1.Parameters.Add("APZZUSATZKZ3", OracleType.NVarChar).Value = dwData["APZZUSATZKZ3"].ToString();
            or1.Parameters.Add("APZZUSATZ4", OracleType.NVarChar).Value = dwData["APZZUSATZ4"].ToString();
            or1.Parameters.Add("APZZUSATZKZ4", OracleType.NVarChar).Value = dwData["APZZUSATZKZ4"].ToString();
            or1.Parameters.Add("APZZUSATZ5", OracleType.NVarChar).Value = dwData["APZZUSATZ5"].ToString();
            or1.Parameters.Add("APZZUSATZKZ5", OracleType.NVarChar).Value = dwData["APZZUSATZKZ5"].ToString();
            or1.Parameters.Add("APZZUSATZ6", OracleType.NVarChar).Value = dwData["APZZUSATZ6"].ToString();
            or1.Parameters.Add("APZZUSATZKZ6", OracleType.NVarChar).Value = dwData["APZZUSATZKZ6"].ToString();
            or1.Parameters.Add("APZZUSATZ7", OracleType.NVarChar).Value = dwData["APZZUSATZ7"].ToString();
            or1.Parameters.Add("APZZUSATZKZ7", OracleType.NVarChar).Value = dwData["APZZUSATZKZ7"].ToString();
            or1.Parameters.Add("APZZUSATZ8", OracleType.NVarChar).Value = dwData["APZZUSATZ8"].ToString();
            or1.Parameters.Add("APZZUSATZKZ8", OracleType.NVarChar).Value = dwData["APZZUSATZKZ8"].ToString();
            or1.Parameters.Add("APZZUSATZ9", OracleType.NVarChar).Value = dwData["APZZUSATZ9"].ToString();
            or1.Parameters.Add("APZZUSATZKZ9", OracleType.NVarChar).Value = dwData["APZZUSATZKZ9"].ToString();
            or1.Parameters.Add("APZZUSATZ10", OracleType.NVarChar).Value = dwData["APZZUSATZ10"].ToString();
            or1.Parameters.Add("APZZUSATZKZ10", OracleType.NVarChar).Value = dwData["APZZUSATZKZ10"].ToString();
            or1.Parameters.Add("APZZUSATZ11", OracleType.NVarChar).Value = dwData["APZZUSATZ11"].ToString();
            or1.Parameters.Add("APZZUSATZKZ11", OracleType.NVarChar).Value = dwData["APZZUSATZKZ11"].ToString();
            or1.Parameters.Add("APZZUSATZ12", OracleType.NVarChar).Value = dwData["APZZUSATZ12"].ToString();
            or1.Parameters.Add("APZZUSATZKZ12", OracleType.NVarChar).Value = dwData["APZZUSATZKZ12"].ToString();
            or1.Parameters.Add("APZZUSATZ13", OracleType.NVarChar).Value = dwData["APZZUSATZ13"].ToString();
            or1.Parameters.Add("APZZUSATZKZ13", OracleType.NVarChar).Value = dwData["APZZUSATZKZ13"].ToString();
            or1.Parameters.Add("APZZUSATZ14", OracleType.NVarChar).Value = dwData["APZZUSATZ14"].ToString();
            or1.Parameters.Add("APZZUSATZKZ14", OracleType.NVarChar).Value = dwData["APZZUSATZKZ14"].ToString();
            or1.Parameters.Add("APZZUSATZ15", OracleType.NVarChar).Value = dwData["APZZUSATZ15"].ToString();
            or1.Parameters.Add("APZZUSATZKZ15", OracleType.NVarChar).Value = dwData["APZZUSATZKZ15"].ToString();
            or1.Parameters.Add("APZZUSATZ16", OracleType.NVarChar).Value = dwData["APZZUSATZ16"].ToString();
            or1.Parameters.Add("APZZUSATZKZ16", OracleType.NVarChar).Value = dwData["APZZUSATZKZ16"].ToString();
            or1.Parameters.Add("APZZUSATZ17", OracleType.NVarChar).Value = dwData["APZZUSATZ17"].ToString();
            or1.Parameters.Add("APZZUSATZKZ17", OracleType.NVarChar).Value = dwData["APZZUSATZKZ17"].ToString();
            or1.Parameters.Add("APZZUSATZ18", OracleType.NVarChar).Value = dwData["APZZUSATZ18"].ToString();
            or1.Parameters.Add("APZZUSATZKZ18", OracleType.NVarChar).Value = dwData["APZZUSATZKZ18"].ToString();
            or1.Parameters.Add("APZZUSATZ19", OracleType.NVarChar).Value = dwData["APZZUSATZ19"].ToString();
            or1.Parameters.Add("APZZUSATZKZ19", OracleType.NVarChar).Value = dwData["APZZUSATZKZ19"].ToString();
            or1.Parameters.Add("APZZUSATZ20", OracleType.NVarChar).Value = dwData["APZZUSATZ20"].ToString();
            or1.Parameters.Add("APZZUSATZKZ20", OracleType.NVarChar).Value = dwData["APZZUSATZKZ20"].ToString();
            or1.Parameters.Add("APZZUSATZ21", OracleType.NVarChar).Value = dwData["APZZUSATZ21"].ToString();
            or1.Parameters.Add("APZZUSATZKZ21", OracleType.NVarChar).Value = dwData["APZZUSATZKZ21"].ToString();
            or1.Parameters.Add("APZZUSATZ22", OracleType.NVarChar).Value = dwData["APZZUSATZ22"].ToString();
            or1.Parameters.Add("APZZUSATZKZ22", OracleType.NVarChar).Value = dwData["APZZUSATZKZ22"].ToString();
            or1.Parameters.Add("APZZUSATZ23", OracleType.NVarChar).Value = dwData["APZZUSATZ23"].ToString();
            or1.Parameters.Add("APZZUSATZKZ23", OracleType.NVarChar).Value = dwData["APZZUSATZKZ23"].ToString();
            or1.Parameters.Add("APZZUSATZ24", OracleType.NVarChar).Value = dwData["APZZUSATZ24"].ToString();
            or1.Parameters.Add("APZZUSATZKZ24", OracleType.NVarChar).Value = dwData["APZZUSATZKZ24"].ToString();
            or1.Parameters.Add("APZZUSATZ25", OracleType.NVarChar).Value = dwData["APZZUSATZ25"].ToString();
            or1.Parameters.Add("APZZUSATZKZ25", OracleType.NVarChar).Value = dwData["APZZUSATZKZ25"].ToString();
            or1.Parameters.Add("APZZUSATZ26", OracleType.NVarChar).Value = dwData["APZZUSATZ26"].ToString();
            or1.Parameters.Add("APZZUSATZKZ26", OracleType.NVarChar).Value = dwData["APZZUSATZKZ26"].ToString();
            or1.Parameters.Add("APZZUSATZ27", OracleType.NVarChar).Value = dwData["APZZUSATZ27"].ToString();
            or1.Parameters.Add("APZZUSATZKZ27", OracleType.NVarChar).Value = dwData["APZZUSATZKZ27"].ToString();
            or1.Parameters.Add("APZZUSATZ28", OracleType.NVarChar).Value = dwData["APZZUSATZ28"].ToString();
            or1.Parameters.Add("APZZUSATZKZ28", OracleType.NVarChar).Value = dwData["APZZUSATZKZ28"].ToString();
            or1.Parameters.Add("APZZUSATZ29", OracleType.NVarChar).Value = dwData["APZZUSATZ29"].ToString();
            or1.Parameters.Add("APZZUSATZKZ29", OracleType.NVarChar).Value = dwData["APZZUSATZKZ29"].ToString();
            or1.Parameters.Add("APZZUSATZ30", OracleType.NVarChar).Value = dwData["APZZUSATZ30"].ToString();
            or1.Parameters.Add("APZZUSATZKZ30", OracleType.NVarChar).Value = dwData["APZZUSATZKZ30"].ToString();
            or1.Parameters.Add("APZZUSATZ31", OracleType.NVarChar).Value = dwData["APZZUSATZ31"].ToString();
            or1.Parameters.Add("APZZUSATZKZ31", OracleType.NVarChar).Value = dwData["APZZUSATZKZ31"].ToString();
            or1.Parameters.Add("APZZUSATZ32", OracleType.NVarChar).Value = dwData["APZZUSATZ32"].ToString();
            or1.Parameters.Add("APZZUSATZKZ32", OracleType.NVarChar).Value = dwData["APZZUSATZKZ32"].ToString();
            or1.Parameters.Add("APZZUSATZ33", OracleType.NVarChar).Value = dwData["APZZUSATZ33"].ToString();
            or1.Parameters.Add("APZZUSATZKZ33", OracleType.NVarChar).Value = dwData["APZZUSATZKZ33"].ToString();
            or1.Parameters.Add("APZZUSATZ34", OracleType.NVarChar).Value = dwData["APZZUSATZ34"].ToString();
            or1.Parameters.Add("APZZUSATZKZ34", OracleType.NVarChar).Value = dwData["APZZUSATZKZ34"].ToString();
            or1.Parameters.Add("APZZUSATZ35", OracleType.NVarChar).Value = dwData["APZZUSATZ35"].ToString();
            or1.Parameters.Add("APZZUSATZKZ35", OracleType.NVarChar).Value = dwData["APZZUSATZKZ35"].ToString();
            or1.Parameters.Add("APZZUSATZ36", OracleType.NVarChar).Value = dwData["APZZUSATZ36"].ToString();
            or1.Parameters.Add("APZZUSATZKZ36", OracleType.NVarChar).Value = dwData["APZZUSATZKZ36"].ToString();
            or1.Parameters.Add("APZZUSATZ37", OracleType.NVarChar).Value = dwData["APZZUSATZ37"].ToString();
            or1.Parameters.Add("APZZUSATZKZ37", OracleType.NVarChar).Value = dwData["APZZUSATZKZ37"].ToString();
            or1.Parameters.Add("APZZUSATZ38", OracleType.NVarChar).Value = dwData["APZZUSATZ38"].ToString();
            or1.Parameters.Add("APZZUSATZKZ38", OracleType.NVarChar).Value = dwData["APZZUSATZKZ38"].ToString();
            or1.Parameters.Add("APZZUSATZ39", OracleType.NVarChar).Value = dwData["APZZUSATZ39"].ToString();
            or1.Parameters.Add("APZZUSATZKZ39", OracleType.NVarChar).Value = dwData["APZZUSATZKZ39"].ToString();
            or1.Parameters.Add("APZZUSATZ40", OracleType.NVarChar).Value = dwData["APZZUSATZ40"].ToString();
            or1.Parameters.Add("APZZUSATZKZ40", OracleType.NVarChar).Value = dwData["APZZUSATZKZ40"].ToString();
            or1.Parameters.Add("APZZUSATZ41", OracleType.NVarChar).Value = dwData["APZZUSATZ41"].ToString();
            or1.Parameters.Add("APZZUSATZKZ41", OracleType.NVarChar).Value = dwData["APZZUSATZKZ41"].ToString();
            or1.Parameters.Add("APZZUSATZ42", OracleType.NVarChar).Value = dwData["APZZUSATZ42"].ToString();
            or1.Parameters.Add("APZZUSATZKZ42", OracleType.NVarChar).Value = dwData["APZZUSATZKZ42"].ToString();
            or1.Parameters.Add("APZZUSATZ43", OracleType.NVarChar).Value = dwData["APZZUSATZ43"].ToString();
            or1.Parameters.Add("APZZUSATZKZ43", OracleType.NVarChar).Value = dwData["APZZUSATZKZ43"].ToString();
            or1.Parameters.Add("APZZUSATZ44", OracleType.NVarChar).Value = dwData["APZZUSATZ44"].ToString();
            or1.Parameters.Add("APZZUSATZKZ44", OracleType.NVarChar).Value = dwData["APZZUSATZKZ44"].ToString();
            or1.Parameters.Add("APZZUSATZ45", OracleType.NVarChar).Value = dwData["APZZUSATZ45"].ToString();
            or1.Parameters.Add("APZZUSATZKZ45", OracleType.NVarChar).Value = dwData["APZZUSATZKZ45"].ToString();
            or1.Parameters.Add("APZZUSATZ46", OracleType.NVarChar).Value = dwData["APZZUSATZ46"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateAPKOPF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE APKOPF SET "
            + "APKMANDANT=:APKMANDANT,"
            + "APKWERK=:APKWERK,"
            + "APKANRKRS=:APKANRKRS,"
            + "APKALFDNR=:APKALFDNR,"
            + "APKSPEZIF=:APKSPEZIF,"
            + "APKSPSTA=:APKSPSTA,"
            + "APKSPGRD=:APKSPGRD,"
            + "APKSTUFE=:APKSTUFE,"
            + "APKABT=:APKABT,"
            + "APKVERSAE=:APKVERSAE,"
            + "APKVERSZL=:APKVERSZL,"
            + "APKAENDZL=:APKAENDZL,"
            + "APKAENDBEN=:APKAENDBEN,"
            + "APKAENDDAT=:APKAENDDAT,"
            + "APKNEUBEN=:APKNEUBEN,"
            + "APKNEUDAT=:APKNEUDAT,"
            + "APKZUSTAND=:APKZUSTAND,"
            + "APKZUSATZKZ1=:APKZUSATZKZ1,"
            + "APKZUSATZKZ2=:APKZUSATZKZ2,"
            + "APKZUSATZKZ3=:APKZUSATZKZ3,"
            + "APKZUSATZKZ4=:APKZUSATZKZ4,"
            + "APKGZUSKZ1=:APKGZUSKZ1,"
            + "APKGZUSKZ2=:APKGZUSKZ2,"
            + "APKGZUSKZ3=:APKGZUSKZ3,"
            + "APKGZUSKZ4=:APKGZUSKZ4,"
            + "APKKAAGRA=:APKKAAGRA,"
            + "APKKAAGRP=:APKKAAGRP,"
            + "APKGRGRP1=:APKGRGRP1,"
            + "APKGRGRP2=:APKGRGRP2,"
            + "APKGRGRP3=:APKGRGRP3,"
            + "APKGRGRP4=:APKGRGRP4,"
            + "APKGRGRP5=:APKGRGRP5,"
            + "APKGSTUFE=:APKGSTUFE,"
            + "APKGRRAS=:APKGRRAS,"
            + "APKTLVF1=:APKTLVF1,"
            + "APKTLAFOV1=:APKTLAFOV1,"
            + "APKTLAFOB1=:APKTLAFOB1,"
            + "APKTLVF2=:APKTLVF2,"
            + "APKTLAFOV2=:APKTLAFOV2,"
            + "APKTLAFOB2=:APKTLAFOB2,"
            + "APKTLVF3=:APKTLVF3,"
            + "APKTLAFOV3=:APKTLAFOV3,"
            + "APKTLAFOB3=:APKTLAFOB3,"
            + "APKTLVF4=:APKTLVF4,"
            + "APKTLAFOV4=:APKTLAFOV4,"
            + "APKTLAFOB4=:APKTLAFOB4,"
            + "APKTLVF5=:APKTLVF5,"
            + "APKTLAFOV5=:APKTLAFOV5,"
            + "APKTLAFOB5=:APKTLAFOB5,"
            + "APKTLVF6=:APKTLVF6,"
            + "APKTLAFOV6=:APKTLAFOV6,"
            + "APKTLAFOB6=:APKTLAFOB6,"
            + "APKTLVF7=:APKTLVF7,"
            + "APKTLAFOV7=:APKTLAFOV7,"
            + "APKTLAFOB7=:APKTLAFOB7,"
            + "APKMU=:APKMU,"
            + "APKMURLOD=:APKMURLOD,"
            + "APKMUPROD=:APKMUPROD,"
            + "APKMUCTOD=:APKMUCTOD,"
            + "APKMUDTRL=:APKMUDTRL,"
            + "APKMUBIRL=:APKMUBIRL,"
            + "APKVERSZLRL=:APKVERSZLRL,"
            + "APKVERSBEN=:APKVERSBEN,"
            + "APKFILLER=:APKFILLER "
                + " WHERE  "
                + "  APKMANDANT=:APKMANDANT AND APKANRKRS=:APKANRKRS  AND APKALFDNR=:APKALFDNR ";

            or1.Parameters.Add("APKMANDANT", OracleType.NVarChar).Value = dwData["APKMANDANT"].ToString();
            or1.Parameters.Add("APKWERK", OracleType.NVarChar).Value = dwData["APKWERK"].ToString();
            or1.Parameters.Add("APKANRKRS", OracleType.NVarChar).Value = dwData["APKANRKRS"].ToString();
            or1.Parameters.Add("APKALFDNR", OracleType.NVarChar).Value = dwData["APKALFDNR"].ToString();
            or1.Parameters.Add("APKSPEZIF", OracleType.NVarChar).Value = dwData["APKSPEZIF"].ToString();
            or1.Parameters.Add("APKSPSTA", OracleType.NVarChar).Value = dwData["APKSPSTA"].ToString();
            or1.Parameters.Add("APKSPGRD", OracleType.NVarChar).Value = dwData["APKSPGRD"].ToString();
            or1.Parameters.Add("APKSTUFE", OracleType.NVarChar).Value = dwData["APKSTUFE"].ToString();
            or1.Parameters.Add("APKABT", OracleType.NVarChar).Value = dwData["APKABT"].ToString();
            or1.Parameters.Add("APKVERSAE", OracleType.NVarChar).Value = dwData["APKVERSAE"].ToString();
            or1.Parameters.Add("APKVERSZL", OracleType.NVarChar).Value = dwData["APKVERSZL"].ToString();
            or1.Parameters.Add("APKAENDZL", OracleType.NVarChar).Value = dwData["APKAENDZL"].ToString();
            or1.Parameters.Add("APKAENDBEN", OracleType.NVarChar).Value = dwData["APKAENDBEN"].ToString();
            or1.Parameters.Add("APKAENDDAT", OracleType.NVarChar).Value = dwData["APKAENDDAT"].ToString();
            or1.Parameters.Add("APKNEUBEN", OracleType.NVarChar).Value = dwData["APKNEUBEN"].ToString();
            or1.Parameters.Add("APKNEUDAT", OracleType.NVarChar).Value = dwData["APKNEUDAT"].ToString();
            or1.Parameters.Add("APKZUSTAND", OracleType.NVarChar).Value = dwData["APKZUSTAND"].ToString();
            or1.Parameters.Add("APKZUSATZKZ1", OracleType.NVarChar).Value = dwData["APKZUSATZKZ1"].ToString();
            or1.Parameters.Add("APKZUSATZKZ2", OracleType.NVarChar).Value = dwData["APKZUSATZKZ2"].ToString();
            or1.Parameters.Add("APKZUSATZKZ3", OracleType.NVarChar).Value = dwData["APKZUSATZKZ3"].ToString();
            or1.Parameters.Add("APKZUSATZKZ4", OracleType.NVarChar).Value = dwData["APKZUSATZKZ4"].ToString();
            or1.Parameters.Add("APKGZUSKZ1", OracleType.NVarChar).Value = dwData["APKGZUSKZ1"].ToString();
            or1.Parameters.Add("APKGZUSKZ2", OracleType.NVarChar).Value = dwData["APKGZUSKZ2"].ToString();
            or1.Parameters.Add("APKGZUSKZ3", OracleType.NVarChar).Value = dwData["APKGZUSKZ3"].ToString();
            or1.Parameters.Add("APKGZUSKZ4", OracleType.NVarChar).Value = dwData["APKGZUSKZ4"].ToString();
            or1.Parameters.Add("APKKAAGRA", OracleType.NVarChar).Value = dwData["APKKAAGRA"].ToString();
            or1.Parameters.Add("APKKAAGRP", OracleType.NVarChar).Value = dwData["APKKAAGRP"].ToString();
            or1.Parameters.Add("APKGRGRP1", OracleType.NVarChar).Value = dwData["APKGRGRP1"].ToString();
            or1.Parameters.Add("APKGRGRP2", OracleType.NVarChar).Value = dwData["APKGRGRP2"].ToString();
            or1.Parameters.Add("APKGRGRP3", OracleType.NVarChar).Value = dwData["APKGRGRP3"].ToString();
            or1.Parameters.Add("APKGRGRP4", OracleType.NVarChar).Value = dwData["APKGRGRP4"].ToString();
            or1.Parameters.Add("APKGRGRP5", OracleType.NVarChar).Value = dwData["APKGRGRP5"].ToString();
            or1.Parameters.Add("APKGSTUFE", OracleType.NVarChar).Value = dwData["APKGSTUFE"].ToString();
            or1.Parameters.Add("APKGRRAS", OracleType.NVarChar).Value = dwData["APKGRRAS"].ToString();
            or1.Parameters.Add("APKTLVF1", OracleType.NVarChar).Value = dwData["APKTLVF1"].ToString();
            or1.Parameters.Add("APKTLAFOV1", OracleType.NVarChar).Value = dwData["APKTLAFOV1"].ToString();
            or1.Parameters.Add("APKTLAFOB1", OracleType.NVarChar).Value = dwData["APKTLAFOB1"].ToString();
            or1.Parameters.Add("APKTLVF2", OracleType.NVarChar).Value = dwData["APKTLVF2"].ToString();
            or1.Parameters.Add("APKTLAFOV2", OracleType.NVarChar).Value = dwData["APKTLAFOV2"].ToString();
            or1.Parameters.Add("APKTLAFOB2", OracleType.NVarChar).Value = dwData["APKTLAFOB2"].ToString();
            or1.Parameters.Add("APKTLVF3", OracleType.NVarChar).Value = dwData["APKTLVF3"].ToString();
            or1.Parameters.Add("APKTLAFOV3", OracleType.NVarChar).Value = dwData["APKTLAFOV3"].ToString();
            or1.Parameters.Add("APKTLAFOB3", OracleType.NVarChar).Value = dwData["APKTLAFOB3"].ToString();
            or1.Parameters.Add("APKTLVF4", OracleType.NVarChar).Value = dwData["APKTLVF4"].ToString();
            or1.Parameters.Add("APKTLAFOV4", OracleType.NVarChar).Value = dwData["APKTLAFOV4"].ToString();
            or1.Parameters.Add("APKTLAFOB4", OracleType.NVarChar).Value = dwData["APKTLAFOB4"].ToString();
            or1.Parameters.Add("APKTLVF5", OracleType.NVarChar).Value = dwData["APKTLVF5"].ToString();
            or1.Parameters.Add("APKTLAFOV5", OracleType.NVarChar).Value = dwData["APKTLAFOV5"].ToString();
            or1.Parameters.Add("APKTLAFOB5", OracleType.NVarChar).Value = dwData["APKTLAFOB5"].ToString();
            or1.Parameters.Add("APKTLVF6", OracleType.NVarChar).Value = dwData["APKTLVF6"].ToString();
            or1.Parameters.Add("APKTLAFOV6", OracleType.NVarChar).Value = dwData["APKTLAFOV6"].ToString();
            or1.Parameters.Add("APKTLAFOB6", OracleType.NVarChar).Value = dwData["APKTLAFOB6"].ToString();
            or1.Parameters.Add("APKTLVF7", OracleType.NVarChar).Value = dwData["APKTLVF7"].ToString();
            or1.Parameters.Add("APKTLAFOV7", OracleType.NVarChar).Value = dwData["APKTLAFOV7"].ToString();
            or1.Parameters.Add("APKTLAFOB7", OracleType.NVarChar).Value = dwData["APKTLAFOB7"].ToString();
            or1.Parameters.Add("APKMU", OracleType.NVarChar).Value = dwData["APKMU"].ToString();
            or1.Parameters.Add("APKMURLOD", OracleType.NVarChar).Value = dwData["APKMURLOD"].ToString();
            or1.Parameters.Add("APKMUPROD", OracleType.NVarChar).Value = dwData["APKMUPROD"].ToString();
            or1.Parameters.Add("APKMUCTOD", OracleType.NVarChar).Value = dwData["APKMUCTOD"].ToString();
            or1.Parameters.Add("APKMUDTRL", OracleType.NVarChar).Value = dwData["APKMUDTRL"].ToString();
            or1.Parameters.Add("APKMUBIRL", OracleType.NVarChar).Value = dwData["APKMUBIRL"].ToString();
            or1.Parameters.Add("APKVERSZLRL", OracleType.NVarChar).Value = dwData["APKVERSZLRL"].ToString();
            or1.Parameters.Add("APKVERSBEN", OracleType.NVarChar).Value = dwData["APKVERSBEN"].ToString();
            or1.Parameters.Add("APKFILLER", OracleType.NVarChar).Value = dwData["APKFILLER"].ToString();
            Connect2Proxy(or1);
        }

        #endregion

        #region======B==============
        public void UpdateBABST(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BABST SET "
                + "BMMANDANT=:BMMANDANT,"
                + "BMBAUMKRS=:BMBAUMKRS,"
                + "BMBAUMLFD=:BMBAUMLFD,"
                + "BMKART=:BMKART,"
                + "BMKVAR=:BMKVAR,"
                + "BMFARBE=:BMFARBE,"
                + "BMZENSUR=:BMZENSUR,"
                + "BMZUSTAND=:BMZUSTAND,"
                + "BMSCHLICHTGR=:BMSCHLICHTGR,"
                + "BMSCHLICHTNR=:BMSCHLICHTNR,"
                + "BMBAUMKZ=:BMBAUMKZ,"
                + "BMVERWEN=:BMVERWEN,"
                + "BMHERART=:BMHERART,"
                + "BMFDZ=:BMFDZ,"
                + "BMGABED=:BMGABED,"
                + "BMKETTTYP=:BMKETTTYP,"
                + "BMKANTE=:BMKANTE,"
                + "BMLO=:BMLO,"
                + "BMLB=:BMLB,"
                + "BMLP=:BMLP,"
                + "BMAUFBKZ=:BMAUFBKZ,"
                + "BMDATERL=:BMDATERL,"
                + "BMBEM=:BMBEM,"
                + "BMKOLLINR=:BMKOLLINR,"
                + "BMSPSTA=:BMSPSTA,"
                + "BMSPGRD=:BMSPGRD,"
                + "BMORGKZ=:BMORGKZ,"
                + "BMLEER=:BMLEER,"
                + "BMSOLLKZ=:BMSOLLKZ,"
                + "BMSOLLLG=:BMSOLLLG,"
                + "BMSOLLGEW=:BMSOLLGEW,"
                + "BMSOLLVLG=:BMSOLLVLG,"
                + "BMSOLLSTK=:BMSOLLSTK,"
                + "BMISTLG=:BMISTLG,"
                + "BMISTGEW=:BMISTGEW,"
                + "BMISTVLG=:BMISTVLG,"
                + "BMISTSTK=:BMISTSTK,"
                + "BMRESTLG=:BMRESTLG,"
                + "BMURISTLG=:BMURISTLG,"
                + "BMRESTGEW=:BMRESTGEW,"
                + "BMKGNET=:BMKGNET,"
                + "BMKGBRUT=:BMKGBRUT,"
                + "BMTARAI=:BMTARAI,"
                + "BMTARAA=:BMTARAA,"
                + "BMAUFKRS=:BMAUFKRS,"
                + "BMAUFLFD=:BMAUFLFD,"
                + "BMAUFPOS=:BMAUFPOS,"
                + "BMSA=:BMSA,"
                + "BMAUFTYP=:BMAUFTYP,"
                + "BMFERTKZ=:BMFERTKZ,"
                + "BMPRODLO=:BMPRODLO,"
                + "BMPRODLB=:BMPRODLB,"
                + "BMPRODLP=:BMPRODLP,"
                + "BMPRODAUFBKZ=:BMPRODAUFBKZ,"
                + "BMSPPART=:BMSPPART,"
                + "BMPARTIE=:BMPARTIE,"
                + "BMPARTIEKZ=:BMPARTIEKZ,"
                + "BMDATVW=:BMDATVW,"
                + "BMDATDRU=:BMDATDRU,"
                + "BMDATABG=:BMDATABG,"
                + "BMDATRP=:BMDATRP,"
                + "BMDATRPM=:BMDATRPM,"
                + "BMDATANG=:BMDATANG,"
                + "BMDATABWEB=:BMDATABWEB,"
                + "BMERSATZKZ=:BMERSATZKZ,"
                + "BMKOMBIKZ=:BMKOMBIKZ,"
                + "BMANZTB=:BMANZTB,"
                + "BMBAHNIG=:BMBAHNIG,"
                + "BMPICKUP=:BMPICKUP,"
                + "BMABAUMKRS=:BMABAUMKRS,"
                + "BMABAUMLFD=:BMABAUMLFD,"
                + "BMSTKZL=:BMSTKZL,"
                + "BMBAABGZ=:BMBAABGZ,"
                + "BMAPOS=:BMAPOS,"
                + "BMRAFOLGE=:BMRAFOLGE,"
                + "BMAUSFFRB=:BMAUSFFRB,"
                + "BMTAX=:BMTAX,"
                + "BMSCHIENE=:BMSCHIENE,"
                + "BMMNRKRS=:BMMNRKRS,"
                + "BMMLFDNR=:BMMLFDNR,"
                + "BMMPOS=:BMMPOS,"
                + "BMMAPOS=:BMMAPOS,"
                + "BMDL=:BMDL,"
                + "BMBEARB=:BMBEARB,"
                + "BMZULO=:BMZULO,"
                + "BMZULB=:BMZULB,"
                + "BMZULP=:BMZULP,"
                + "BMZUAUFBKZ=:BMZUAUFBKZ,"
                + "BMRART=:BMRART,"
                + "BMRVAR=:BMRVAR,"
                + "BMRFARBE=:BMRFARBE,"
                + "BMLIEFNR=:BMLIEFNR,"
                + "BMBESTKZ=:BMBESTKZ,"
                + "BMBNRLIEF=:BMBNRLIEF,"
                + "BMEGKZ=:BMEGKZ,"
                + "BMLIEFSCHNR=:BMLIEFSCHNR,"
                + "BMLIEFDAT=:BMLIEFDAT,"
                + "BMRECHNR=:BMRECHNR,"
                + "BMKLABR=:BMKLABR,"
                + "BMEINPR=:BMEINPR,"
                + "BMRECHDAT=:BMRECHDAT,"
                + "BMBDEKZ=:BMBDEKZ,"
                + "BMJJJJBDE=:BMJJJJBDE,"
                + "BMBNRBDE=:BMBNRBDE,"
                + "BMDATBDE=:BMDATBDE,"
                + "BMBDEBKZ=:BMBDEBKZ,"
                + "BMJJJJMAT=:BMJJJJMAT,"
                + "BMBNRMAT=:BMBNRMAT,"
                + "BMDATMAT=:BMDATMAT,"
                + "BMISOLLLG=:BMISOLLLG,"
                + "BMIISTLG=:BMIISTLG,"
                + "BMIDIFFLG=:BMIDIFFLG,"
                + "BMIDATUM=:BMIDATUM,"
                + "BMISTATUS=:BMISTATUS,"
                + "BMIJJJJ=:BMIJJJJ,"
                + "BMIBELEGNR=:BMIBELEGNR,"
                + "BMIBPOSVON=:BMIBPOSVON,"
                + "BMIBPOSBIS=:BMIBPOSBIS,"
                + "BMRODA=:BMRODA,"
                + "BMWIND=:BMWIND,"
                + "BMVWMNRKRS=:BMVWMNRKRS,"
                + "BMVWMLFDNR=:BMVWMLFDNR,"
                + "BMVWMPOS=:BMVWMPOS,"
                + "BMMUKZ=:BMMUKZ,"
                + "BMZTERL=:BMZTERL,"
                + "BMVERSION=:BMVERSION,"
                + "BMKGBRUTGW=:BMKGBRUTGW,"
                + "BMFILLER=:BMFILLER,"
                + "BMAENDZL=:BMAENDZL,"
                + "BMAENDBEN=:BMAENDBEN,"
                + "BMAENDDAT=:BMAENDDAT,"
                + "BMNEUBEN=:BMNEUBEN,"
                + "BMNEUDAT=:BMNEUDAT "
                + " WHERE  "
                + "  BMMANDANT=:BMMANDANT AND BMBAUMKRS=:BMBAUMKRS AND BMBAUMLFD=:BMBAUMLFD";
            or1.Parameters.Add("BMMANDANT", OracleType.NVarChar).Value = dwData["BMMANDANT"].ToString();
            or1.Parameters.Add("BMBAUMKRS", OracleType.NVarChar).Value = dwData["BMBAUMKRS"].ToString();
            or1.Parameters.Add("BMBAUMLFD", OracleType.NVarChar).Value = dwData["BMBAUMLFD"].ToString();
            or1.Parameters.Add("BMKART", OracleType.NVarChar).Value = dwData["BMKART"].ToString();
            or1.Parameters.Add("BMKVAR", OracleType.NVarChar).Value = dwData["BMKVAR"].ToString();
            or1.Parameters.Add("BMFARBE", OracleType.NVarChar).Value = dwData["BMFARBE"].ToString();
            or1.Parameters.Add("BMZENSUR", OracleType.NVarChar).Value = dwData["BMZENSUR"].ToString();
            or1.Parameters.Add("BMZUSTAND", OracleType.NVarChar).Value = dwData["BMZUSTAND"].ToString();
            or1.Parameters.Add("BMSCHLICHTGR", OracleType.NVarChar).Value = dwData["BMSCHLICHTGR"].ToString();
            or1.Parameters.Add("BMSCHLICHTNR", OracleType.NVarChar).Value = dwData["BMSCHLICHTNR"].ToString();
            or1.Parameters.Add("BMBAUMKZ", OracleType.NVarChar).Value = dwData["BMBAUMKZ"].ToString();
            or1.Parameters.Add("BMVERWEN", OracleType.NVarChar).Value = dwData["BMVERWEN"].ToString();
            or1.Parameters.Add("BMHERART", OracleType.NVarChar).Value = dwData["BMHERART"].ToString();
            or1.Parameters.Add("BMFDZ", OracleType.NVarChar).Value = dwData["BMFDZ"].ToString();
            or1.Parameters.Add("BMGABED", OracleType.NVarChar).Value = dwData["BMGABED"].ToString();
            or1.Parameters.Add("BMKETTTYP", OracleType.NVarChar).Value = dwData["BMKETTTYP"].ToString();
            or1.Parameters.Add("BMKANTE", OracleType.NVarChar).Value = dwData["BMKANTE"].ToString();
            or1.Parameters.Add("BMLO", OracleType.NVarChar).Value = dwData["BMLO"].ToString();
            or1.Parameters.Add("BMLB", OracleType.NVarChar).Value = dwData["BMLB"].ToString();
            or1.Parameters.Add("BMLP", OracleType.NVarChar).Value = dwData["BMLP"].ToString();
            or1.Parameters.Add("BMAUFBKZ", OracleType.NVarChar).Value = dwData["BMAUFBKZ"].ToString();
            or1.Parameters.Add("BMDATERL", OracleType.NVarChar).Value = dwData["BMDATERL"].ToString();
            or1.Parameters.Add("BMBEM", OracleType.NVarChar).Value = dwData["BMBEM"].ToString();
            or1.Parameters.Add("BMKOLLINR", OracleType.NVarChar).Value = dwData["BMKOLLINR"].ToString();
            or1.Parameters.Add("BMSPSTA", OracleType.NVarChar).Value = dwData["BMSPSTA"].ToString();
            or1.Parameters.Add("BMSPGRD", OracleType.NVarChar).Value = dwData["BMSPGRD"].ToString();
            or1.Parameters.Add("BMORGKZ", OracleType.NVarChar).Value = dwData["BMORGKZ"].ToString();
            or1.Parameters.Add("BMLEER", OracleType.NVarChar).Value = dwData["BMLEER"].ToString();
            or1.Parameters.Add("BMSOLLKZ", OracleType.NVarChar).Value = dwData["BMSOLLKZ"].ToString();
            or1.Parameters.Add("BMSOLLLG", OracleType.NVarChar).Value = dwData["BMSOLLLG"].ToString();
            or1.Parameters.Add("BMSOLLGEW", OracleType.NVarChar).Value = dwData["BMSOLLGEW"].ToString();
            or1.Parameters.Add("BMSOLLVLG", OracleType.NVarChar).Value = dwData["BMSOLLVLG"].ToString();
            or1.Parameters.Add("BMSOLLSTK", OracleType.NVarChar).Value = dwData["BMSOLLSTK"].ToString();
            or1.Parameters.Add("BMISTLG", OracleType.NVarChar).Value = dwData["BMISTLG"].ToString();
            or1.Parameters.Add("BMISTGEW", OracleType.NVarChar).Value = dwData["BMISTGEW"].ToString();
            or1.Parameters.Add("BMISTVLG", OracleType.NVarChar).Value = dwData["BMISTVLG"].ToString();
            or1.Parameters.Add("BMISTSTK", OracleType.NVarChar).Value = dwData["BMISTSTK"].ToString();
            or1.Parameters.Add("BMRESTLG", OracleType.NVarChar).Value = dwData["BMRESTLG"].ToString();
            or1.Parameters.Add("BMURISTLG", OracleType.NVarChar).Value = dwData["BMURISTLG"].ToString();
            or1.Parameters.Add("BMRESTGEW", OracleType.NVarChar).Value = dwData["BMRESTGEW"].ToString();
            or1.Parameters.Add("BMKGNET", OracleType.NVarChar).Value = dwData["BMKGNET"].ToString();
            or1.Parameters.Add("BMKGBRUT", OracleType.NVarChar).Value = dwData["BMKGBRUT"].ToString();
            or1.Parameters.Add("BMTARAI", OracleType.NVarChar).Value = dwData["BMTARAI"].ToString();
            or1.Parameters.Add("BMTARAA", OracleType.NVarChar).Value = dwData["BMTARAA"].ToString();
            or1.Parameters.Add("BMAUFKRS", OracleType.NVarChar).Value = dwData["BMAUFKRS"].ToString();
            or1.Parameters.Add("BMAUFLFD", OracleType.NVarChar).Value = dwData["BMAUFLFD"].ToString();
            or1.Parameters.Add("BMAUFPOS", OracleType.NVarChar).Value = dwData["BMAUFPOS"].ToString();
            or1.Parameters.Add("BMSA", OracleType.NVarChar).Value = dwData["BMSA"].ToString();
            or1.Parameters.Add("BMAUFTYP", OracleType.NVarChar).Value = dwData["BMAUFTYP"].ToString();
            or1.Parameters.Add("BMFERTKZ", OracleType.NVarChar).Value = dwData["BMFERTKZ"].ToString();
            or1.Parameters.Add("BMPRODLO", OracleType.NVarChar).Value = dwData["BMPRODLO"].ToString();
            or1.Parameters.Add("BMPRODLB", OracleType.NVarChar).Value = dwData["BMPRODLB"].ToString();
            or1.Parameters.Add("BMPRODLP", OracleType.NVarChar).Value = dwData["BMPRODLP"].ToString();
            or1.Parameters.Add("BMPRODAUFBKZ", OracleType.NVarChar).Value = dwData["BMPRODAUFBKZ"].ToString();
            or1.Parameters.Add("BMSPPART", OracleType.NVarChar).Value = dwData["BMSPPART"].ToString();
            or1.Parameters.Add("BMPARTIE", OracleType.NVarChar).Value = dwData["BMPARTIE"].ToString();
            or1.Parameters.Add("BMPARTIEKZ", OracleType.NVarChar).Value = dwData["BMPARTIEKZ"].ToString();
            or1.Parameters.Add("BMDATVW", OracleType.NVarChar).Value = dwData["BMDATVW"].ToString();
            or1.Parameters.Add("BMDATDRU", OracleType.NVarChar).Value = dwData["BMDATDRU"].ToString();
            or1.Parameters.Add("BMDATABG", OracleType.NVarChar).Value = dwData["BMDATABG"].ToString();
            or1.Parameters.Add("BMDATRP", OracleType.NVarChar).Value = dwData["BMDATRP"].ToString();
            or1.Parameters.Add("BMDATRPM", OracleType.NVarChar).Value = dwData["BMDATRPM"].ToString();
            or1.Parameters.Add("BMDATANG", OracleType.NVarChar).Value = dwData["BMDATANG"].ToString();
            or1.Parameters.Add("BMDATABWEB", OracleType.NVarChar).Value = dwData["BMDATABWEB"].ToString();
            or1.Parameters.Add("BMERSATZKZ", OracleType.NVarChar).Value = dwData["BMERSATZKZ"].ToString();
            or1.Parameters.Add("BMKOMBIKZ", OracleType.NVarChar).Value = dwData["BMKOMBIKZ"].ToString();
            or1.Parameters.Add("BMANZTB", OracleType.NVarChar).Value = dwData["BMANZTB"].ToString();
            or1.Parameters.Add("BMBAHNIG", OracleType.NVarChar).Value = dwData["BMBAHNIG"].ToString();
            or1.Parameters.Add("BMPICKUP", OracleType.NVarChar).Value = dwData["BMPICKUP"].ToString();
            or1.Parameters.Add("BMABAUMKRS", OracleType.NVarChar).Value = dwData["BMABAUMKRS"].ToString();
            or1.Parameters.Add("BMABAUMLFD", OracleType.NVarChar).Value = dwData["BMABAUMLFD"].ToString();
            or1.Parameters.Add("BMSTKZL", OracleType.NVarChar).Value = dwData["BMSTKZL"].ToString();
            or1.Parameters.Add("BMBAABGZ", OracleType.NVarChar).Value = dwData["BMBAABGZ"].ToString();
            or1.Parameters.Add("BMAPOS", OracleType.NVarChar).Value = dwData["BMAPOS"].ToString();
            or1.Parameters.Add("BMRAFOLGE", OracleType.NVarChar).Value = dwData["BMRAFOLGE"].ToString();
            or1.Parameters.Add("BMAUSFFRB", OracleType.NVarChar).Value = dwData["BMAUSFFRB"].ToString();
            or1.Parameters.Add("BMTAX", OracleType.NVarChar).Value = dwData["BMTAX"].ToString();
            or1.Parameters.Add("BMSCHIENE", OracleType.NVarChar).Value = dwData["BMSCHIENE"].ToString();
            or1.Parameters.Add("BMMNRKRS", OracleType.NVarChar).Value = dwData["BMMNRKRS"].ToString();
            or1.Parameters.Add("BMMLFDNR", OracleType.NVarChar).Value = dwData["BMMLFDNR"].ToString();
            or1.Parameters.Add("BMMPOS", OracleType.NVarChar).Value = dwData["BMMPOS"].ToString();
            or1.Parameters.Add("BMMAPOS", OracleType.NVarChar).Value = dwData["BMMAPOS"].ToString();
            or1.Parameters.Add("BMDL", OracleType.NVarChar).Value = dwData["BMDL"].ToString();
            or1.Parameters.Add("BMBEARB", OracleType.NVarChar).Value = dwData["BMBEARB"].ToString();
            or1.Parameters.Add("BMZULO", OracleType.NVarChar).Value = dwData["BMZULO"].ToString();
            or1.Parameters.Add("BMZULB", OracleType.NVarChar).Value = dwData["BMZULB"].ToString();
            or1.Parameters.Add("BMZULP", OracleType.NVarChar).Value = dwData["BMZULP"].ToString();
            or1.Parameters.Add("BMZUAUFBKZ", OracleType.NVarChar).Value = dwData["BMZUAUFBKZ"].ToString();
            or1.Parameters.Add("BMRART", OracleType.NVarChar).Value = dwData["BMRART"].ToString();
            or1.Parameters.Add("BMRVAR", OracleType.NVarChar).Value = dwData["BMRVAR"].ToString();
            or1.Parameters.Add("BMRFARBE", OracleType.NVarChar).Value = dwData["BMRFARBE"].ToString();
            or1.Parameters.Add("BMLIEFNR", OracleType.NVarChar).Value = dwData["BMLIEFNR"].ToString();
            or1.Parameters.Add("BMBESTKZ", OracleType.NVarChar).Value = dwData["BMBESTKZ"].ToString();
            or1.Parameters.Add("BMBNRLIEF", OracleType.NVarChar).Value = dwData["BMBNRLIEF"].ToString();
            or1.Parameters.Add("BMEGKZ", OracleType.NVarChar).Value = dwData["BMEGKZ"].ToString();
            or1.Parameters.Add("BMLIEFSCHNR", OracleType.NVarChar).Value = dwData["BMLIEFSCHNR"].ToString();
            or1.Parameters.Add("BMLIEFDAT", OracleType.NVarChar).Value = dwData["BMLIEFDAT"].ToString();
            or1.Parameters.Add("BMRECHNR", OracleType.NVarChar).Value = dwData["BMRECHNR"].ToString();
            or1.Parameters.Add("BMKLABR", OracleType.NVarChar).Value = dwData["BMKLABR"].ToString();
            or1.Parameters.Add("BMEINPR", OracleType.NVarChar).Value = dwData["BMEINPR"].ToString();
            or1.Parameters.Add("BMRECHDAT", OracleType.NVarChar).Value = dwData["BMRECHDAT"].ToString();
            or1.Parameters.Add("BMBDEKZ", OracleType.NVarChar).Value = dwData["BMBDEKZ"].ToString();
            or1.Parameters.Add("BMJJJJBDE", OracleType.NVarChar).Value = dwData["BMJJJJBDE"].ToString();
            or1.Parameters.Add("BMBNRBDE", OracleType.NVarChar).Value = dwData["BMBNRBDE"].ToString();
            or1.Parameters.Add("BMDATBDE", OracleType.NVarChar).Value = dwData["BMDATBDE"].ToString();
            or1.Parameters.Add("BMBDEBKZ", OracleType.NVarChar).Value = dwData["BMBDEBKZ"].ToString();
            or1.Parameters.Add("BMJJJJMAT", OracleType.NVarChar).Value = dwData["BMJJJJMAT"].ToString();
            or1.Parameters.Add("BMBNRMAT", OracleType.NVarChar).Value = dwData["BMBNRMAT"].ToString();
            or1.Parameters.Add("BMDATMAT", OracleType.NVarChar).Value = dwData["BMDATMAT"].ToString();
            or1.Parameters.Add("BMISOLLLG", OracleType.NVarChar).Value = dwData["BMISOLLLG"].ToString();
            or1.Parameters.Add("BMIISTLG", OracleType.NVarChar).Value = dwData["BMIISTLG"].ToString();
            or1.Parameters.Add("BMIDIFFLG", OracleType.NVarChar).Value = dwData["BMIDIFFLG"].ToString();
            or1.Parameters.Add("BMIDATUM", OracleType.NVarChar).Value = dwData["BMIDATUM"].ToString();
            or1.Parameters.Add("BMISTATUS", OracleType.NVarChar).Value = dwData["BMISTATUS"].ToString();
            or1.Parameters.Add("BMIJJJJ", OracleType.NVarChar).Value = dwData["BMIJJJJ"].ToString();
            or1.Parameters.Add("BMIBELEGNR", OracleType.NVarChar).Value = dwData["BMIBELEGNR"].ToString();
            or1.Parameters.Add("BMIBPOSVON", OracleType.NVarChar).Value = dwData["BMIBPOSVON"].ToString();
            or1.Parameters.Add("BMIBPOSBIS", OracleType.NVarChar).Value = dwData["BMIBPOSBIS"].ToString();
            or1.Parameters.Add("BMRODA", OracleType.NVarChar).Value = dwData["BMRODA"].ToString();
            or1.Parameters.Add("BMWIND", OracleType.NVarChar).Value = dwData["BMWIND"].ToString();
            or1.Parameters.Add("BMVWMNRKRS", OracleType.NVarChar).Value = dwData["BMVWMNRKRS"].ToString();
            or1.Parameters.Add("BMVWMLFDNR", OracleType.NVarChar).Value = dwData["BMVWMLFDNR"].ToString();
            or1.Parameters.Add("BMVWMPOS", OracleType.NVarChar).Value = dwData["BMVWMPOS"].ToString();
            or1.Parameters.Add("BMMUKZ", OracleType.NVarChar).Value = dwData["BMMUKZ"].ToString();
            or1.Parameters.Add("BMZTERL", OracleType.NVarChar).Value = dwData["BMZTERL"].ToString();
            or1.Parameters.Add("BMVERSION", OracleType.NVarChar).Value = dwData["BMVERSION"].ToString();
            or1.Parameters.Add("BMKGBRUTGW", OracleType.NVarChar).Value = dwData["BMKGBRUTGW"].ToString();
            or1.Parameters.Add("BMFILLER", OracleType.NVarChar).Value = dwData["BMFILLER"].ToString();
            or1.Parameters.Add("BMAENDZL", OracleType.NVarChar).Value = dwData["BMAENDZL"].ToString();
            or1.Parameters.Add("BMAENDBEN", OracleType.NVarChar).Value = dwData["BMAENDBEN"].ToString();
            or1.Parameters.Add("BMAENDDAT", OracleType.NVarChar).Value = dwData["BMAENDDAT"].ToString();
            or1.Parameters.Add("BMNEUBEN", OracleType.NVarChar).Value = dwData["BMNEUBEN"].ToString();
            or1.Parameters.Add("BMNEUDAT", OracleType.NVarChar).Value = dwData["BMNEUDAT"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBAAUF(DataRow dwData, string ITXDBVERSION = "50.24", int option = 2)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE BAAUF SET "
              + "BAMANDANT=:BAMANDANT,"
              + "BAAUFTYP=:BAAUFTYP,"
              + "BAAUFKRS=:BAAUFKRS,"
              + "BAAUFLFD=:BAAUFLFD,"
              + "BAAUFPOS=:BAAUFPOS,"
              + "BASA=:BASA,"
              + "BAPOS=:BAPOS,"
              + "BAAFOLGE=:BAAFOLGE,"
              + "BADATVON=:BADATVON,"
              + "BADATBIS=:BADATBIS,"
              + "BAKART=:BAKART,"
              + "BAKVAR=:BAKVAR,"
              + "BAKFARBE=:BAKFARBE,"
              + "BAMTR1=:BAMTR1,"
              + "BAANZ1=:BAANZ1,"
              + "BAMTR2=:BAMTR2,"
              + "BAANZ2=:BAANZ2,"
              + "BAMTR3=:BAMTR3,"
              + "BAANZ3=:BAANZ3,"
              + "BAMTR4=:BAMTR4,"
              + "BAANZ4=:BAANZ4,"
              + "BAMTR5=:BAMTR5,"
              + "BAANZ5=:BAANZ5,"
              + "BAMTR6=:BAMTR6,"
              + "BAANZ6=:BAANZ6,"
              + "BAMTR7=:BAMTR7,"
              + "BAANZ7=:BAANZ7,"
              + "BAERLKZ=:BAERLKZ,"
              + "BABAUMART=:BABAUMART,"
              + "BADRKZ=:BADRKZ,"
              + "BADISPOKZ=:BADISPOKZ,"
              + "BALO=:BALO,"
              + "BALB=:BALB,"
              + "BALP=:BALP,"
              + "BAAUFBKZ=:BAAUFBKZ,"
              + "BAURKVAR=:BAURKVAR,"
              + "BAAENDZL=:BAAENDZL,"
              + "BAAENDBEN=:BAAENDBEN,"
              + "BAAENDDAT=:BAAENDDAT,"
              + "BANEUBEN=:BANEUBEN,"
              + "BANEUDAT=:BANEUDAT,"
              + "BADOMKZ=:BADOMKZ,"
              + "BABASMG=:BABASMG,"
              + "BALLEIST=:BALLEIST,"
              + "BARLEIST=:BARLEIST,"
              + "BASCHIENE=:BASCHIENE,"
              + "BATLPOS=:BATLPOS,"
              + "BAINFOKZ=:BAINFOKZ,"
              + "BAVARKZ=:BAVARKZ,"
              + "BATLSA=:BATLSA,"
              + "BAABF2=:BAABF2,"
              + "BAZBEDKG=:BAZBEDKG,"
              + "BAZBEDMTR=:BAZBEDMTR,"
              + "BAFILLER=:BAFILLER"
              + " WHERE  "
              + "  BAMANDANT=:BAMANDANT AND BAAUFTYP=:BAAUFTYP AND BAAUFKRS=:BAAUFKRS AND BAAUFLFD=:BAAUFLFD AND BAAUFPOS=:BAAUFPOS AND BASA=:BASA AND BAPOS=:BAPOS";


                    or1.Parameters.Add("BAMANDANT", OracleType.NVarChar).Value = dwData["BAMANDANT"].ToString();
                    or1.Parameters.Add("BAAUFTYP", OracleType.NVarChar).Value = dwData["BAAUFTYP"].ToString();
                    or1.Parameters.Add("BAAUFKRS", OracleType.NVarChar).Value = dwData["BAAUFKRS"].ToString();
                    or1.Parameters.Add("BAAUFLFD", OracleType.NVarChar).Value = dwData["BAAUFLFD"].ToString();
                    or1.Parameters.Add("BAAUFPOS", OracleType.NVarChar).Value = dwData["BAAUFPOS"].ToString();
                    or1.Parameters.Add("BASA", OracleType.NVarChar).Value = dwData["BASA"].ToString();
                    or1.Parameters.Add("BAPOS", OracleType.NVarChar).Value = dwData["BAPOS"].ToString();
                    or1.Parameters.Add("BAAFOLGE", OracleType.NVarChar).Value = dwData["BAAFOLGE"].ToString();
                    or1.Parameters.Add("BADATVON", OracleType.NVarChar).Value = dwData["BADATVON"].ToString();
                    or1.Parameters.Add("BADATBIS", OracleType.NVarChar).Value = dwData["BADATBIS"].ToString();
                    or1.Parameters.Add("BAKART", OracleType.NVarChar).Value = dwData["BAKART"].ToString();
                    or1.Parameters.Add("BAKVAR", OracleType.NVarChar).Value = dwData["BAKVAR"].ToString();
                    or1.Parameters.Add("BAKFARBE", OracleType.NVarChar).Value = dwData["BAKFARBE"].ToString();
                    or1.Parameters.Add("BAMTR1", OracleType.NVarChar).Value = dwData["BAMTR1"].ToString();
                    or1.Parameters.Add("BAANZ1", OracleType.NVarChar).Value = dwData["BAANZ1"].ToString();
                    or1.Parameters.Add("BAMTR2", OracleType.NVarChar).Value = dwData["BAMTR2"].ToString();
                    or1.Parameters.Add("BAANZ2", OracleType.NVarChar).Value = dwData["BAANZ2"].ToString();
                    or1.Parameters.Add("BAMTR3", OracleType.NVarChar).Value = dwData["BAMTR3"].ToString();
                    or1.Parameters.Add("BAANZ3", OracleType.NVarChar).Value = dwData["BAANZ3"].ToString();
                    or1.Parameters.Add("BAMTR4", OracleType.NVarChar).Value = dwData["BAMTR4"].ToString();
                    or1.Parameters.Add("BAANZ4", OracleType.NVarChar).Value = dwData["BAANZ4"].ToString();
                    or1.Parameters.Add("BAMTR5", OracleType.NVarChar).Value = dwData["BAMTR5"].ToString();
                    or1.Parameters.Add("BAANZ5", OracleType.NVarChar).Value = dwData["BAANZ5"].ToString();
                    or1.Parameters.Add("BAMTR6", OracleType.NVarChar).Value = dwData["BAMTR6"].ToString();
                    or1.Parameters.Add("BAANZ6", OracleType.NVarChar).Value = dwData["BAANZ6"].ToString();
                    or1.Parameters.Add("BAMTR7", OracleType.NVarChar).Value = dwData["BAMTR7"].ToString();
                    or1.Parameters.Add("BAANZ7", OracleType.NVarChar).Value = dwData["BAANZ7"].ToString();
                    or1.Parameters.Add("BAERLKZ", OracleType.NVarChar).Value = dwData["BAERLKZ"].ToString();
                    or1.Parameters.Add("BABAUMART", OracleType.NVarChar).Value = dwData["BABAUMART"].ToString();
                    or1.Parameters.Add("BADRKZ", OracleType.NVarChar).Value = dwData["BADRKZ"].ToString();
                    or1.Parameters.Add("BADISPOKZ", OracleType.NVarChar).Value = dwData["BADISPOKZ"].ToString();
                    or1.Parameters.Add("BALO", OracleType.NVarChar).Value = dwData["BALO"].ToString();
                    or1.Parameters.Add("BALB", OracleType.NVarChar).Value = dwData["BALB"].ToString();
                    or1.Parameters.Add("BALP", OracleType.NVarChar).Value = dwData["BALP"].ToString();
                    or1.Parameters.Add("BAAUFBKZ", OracleType.NVarChar).Value = dwData["BAAUFBKZ"].ToString();
                    or1.Parameters.Add("BAURKVAR", OracleType.NVarChar).Value = dwData["BAURKVAR"].ToString();
                    or1.Parameters.Add("BAAENDZL", OracleType.NVarChar).Value = dwData["BAAENDZL"].ToString();
                    or1.Parameters.Add("BAAENDBEN", OracleType.NVarChar).Value = dwData["BAAENDBEN"].ToString();
                    or1.Parameters.Add("BAAENDDAT", OracleType.NVarChar).Value = dwData["BAAENDDAT"].ToString();
                    or1.Parameters.Add("BANEUBEN", OracleType.NVarChar).Value = dwData["BANEUBEN"].ToString();
                    or1.Parameters.Add("BANEUDAT", OracleType.NVarChar).Value = dwData["BANEUDAT"].ToString();
                    or1.Parameters.Add("BADOMKZ", OracleType.NVarChar).Value = dwData["BADOMKZ"].ToString();
                    or1.Parameters.Add("BABASMG", OracleType.NVarChar).Value = dwData["BABASMG"].ToString();
                    or1.Parameters.Add("BALLEIST", OracleType.NVarChar).Value = dwData["BALLEIST"].ToString();
                    or1.Parameters.Add("BARLEIST", OracleType.NVarChar).Value = dwData["BARLEIST"].ToString();
                    or1.Parameters.Add("BASCHIENE", OracleType.NVarChar).Value = dwData["BASCHIENE"].ToString();
                    or1.Parameters.Add("BATLPOS", OracleType.NVarChar).Value = dwData["BATLPOS"].ToString();
                    or1.Parameters.Add("BAINFOKZ", OracleType.NVarChar).Value = dwData["BAINFOKZ"].ToString();
                    or1.Parameters.Add("BAVARKZ", OracleType.NVarChar).Value = dwData["BAVARKZ"].ToString();
                    or1.Parameters.Add("BATLSA", OracleType.NVarChar).Value = dwData["BATLSA"].ToString();
                    or1.Parameters.Add("BAABF2", OracleType.NVarChar).Value = dwData["BAABF2"].ToString();
                    or1.Parameters.Add("BAZBEDKG", OracleType.NVarChar).Value = dwData["BAZBEDKG"].ToString();
                    or1.Parameters.Add("BAZBEDMTR", OracleType.NVarChar).Value = dwData["BAZBEDMTR"].ToString();
                    or1.Parameters.Add("BAFILLER", OracleType.NVarChar).Value = dwData["BAFILLER"].ToString();
                    break;
                case 2:
                    or1.CommandText = "UPDATE BAAUF SET "
              + "BAMTR2=:BAMTR2,"
              + "BAANZ2=:BAANZ2"
              + " WHERE  "
              + "  BAMANDANT=:BAMANDANT AND BAAUFTYP=:BAAUFTYP AND BAAUFKRS=:BAAUFKRS AND BAAUFLFD=:BAAUFLFD AND BAAUFPOS=:BAAUFPOS AND BASA=:BASA AND BAPOS=:BAPOS";
                    or1.Parameters.Add("BAMANDANT", OracleType.NVarChar).Value = dwData["BAMANDANT"].ToString();
                    or1.Parameters.Add("BAAUFTYP", OracleType.NVarChar).Value = dwData["BAAUFTYP"].ToString();
                    or1.Parameters.Add("BAAUFKRS", OracleType.NVarChar).Value = dwData["BAAUFKRS"].ToString();
                    or1.Parameters.Add("BAAUFLFD", OracleType.NVarChar).Value = dwData["BAAUFLFD"].ToString();
                    or1.Parameters.Add("BAAUFPOS", OracleType.NVarChar).Value = dwData["BAAUFPOS"].ToString();
                    or1.Parameters.Add("BASA", OracleType.NVarChar).Value = dwData["BASA"].ToString();
                    or1.Parameters.Add("BAPOS", OracleType.NVarChar).Value = dwData["BAPOS"].ToString();
                    or1.Parameters.Add("BAMTR2", OracleType.NVarChar).Value = dwData["BAMTR2"].ToString();
                    or1.Parameters.Add("BAANZ2", OracleType.NVarChar).Value = dwData["BAANZ2"].ToString();
                    break;
            }

            Connect2Proxy(or1);
        }
        public void UpdateBSSATZ(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BSSATZ SET "
                + "BSMANDANT=:BSMANDANT,"
                + "BSKART=:BSKART,"
                + "BSAENDZL=:BSAENDZL,"
                + "BSAENDBEN=:BSAENDBEN,"
                + "BSAENDDAT=:BSAENDDAT,"
                + "BSNEUBEN=:BSNEUBEN,"
                + "BSNEUDAT=:BSNEUDAT,"
                + "BSMTART=:BSMTART,"
                + "BSBEZ=:BSBEZ,"
                + "BSSTDKVAR=:BSSTDKVAR,"
                + "BSSTAKZ=:BSSTAKZ,"
                + "BSMUSTER=:BSMUSTER,"
                + "BSFARBVW=:BSFARBVW,"
                + "BSFARBSTUE=:BSFARBSTUE,"
                + "BSPFVARN=:BSPFVARN,"
                + "BSPROGRP=:BSPROGRP,"
                + "BSARTGRP=:BSARTGRP,"
                + "BSPMGRP=:BSPMGRP,"
                + "BSBAUMKZ=:BSBAUMKZ,"
                + "BSVERWEN=:BSVERWEN,"
                + "BSFDZ=:BSFDZ,"
                + "BSFDZLEIST=:BSFDZLEIST,"
                + "BSKNOTEN=:BSKNOTEN,"
                + "BSFAKTOR=:BSFAKTOR,"
                + "BSSRFNR=:BSSRFNR,"
                + "BSCADKEY=:BSCADKEY,"
                + "BSANZTB=:BSANZTB,"
                + "BSKRANF=:BSKRANF,"
                + "BSKRENDE=:BSKRENDE,"
                + "BSKRMITTE=:BSKRMITTE,"
                + "BSFDFLGKR=:BSFDFLGKR,"
                + "BSKRART=:BSKRART,"
                + "BSSCHAERBR=:BSSCHAERBR,"
                + "BSRIETF=:BSRIETF,"
                + "BSFDFLGRI=:BSFDFLGRI,"
                + "BSBEM=:BSBEM,"
                + "BSZOLLTNR=:BSZOLLTNR,"
                + "BSSUBSTGR=:BSSUBSTGR,"
                + "BSHANDICAP=:BSHANDICAP,"
                + "BSAFFINITY=:BSAFFINITY,"
                + "BSSUBST1=:BSSUBST1,"
                + "BSSUBST2=:BSSUBST2,"
                + "BSBLEACHED=:BSBLEACHED,"
                + "BSCLORINEST=:BSCLORINEST,"
                + "BSFIXTEMP=:BSFIXTEMP,"
                + "BSPRODH=:BSPRODH,"
                + "BSMATKL=:BSMATKL,"
                + "BSPLGRP=:BSPLGRP,"
                + "BSPLANART=:BSPLANART,"
                + "BSEKGRP=:BSEKGRP,"
                + "BSBSTME=:BSBSTME,"
                + "BSVABME=:BSVABME,"
                + "BSEKWSL=:BSEKWSL,"
                + "BSINKZ=:BSINKZ,"
                + "BSINPR=:BSINPR,"
                + "BSBEWAB=:BSBEWAB,"
                + "BSFILLER=:BSFILLER "
                + " WHERE  "
                + "  BSMANDANT=:BSMANDANT AND BSKART=:BSKART";

            or1.Parameters.Add("BSMANDANT", OracleType.NVarChar).Value = dwData["BSMANDANT"].ToString();
            or1.Parameters.Add("BSKART", OracleType.NVarChar).Value = dwData["BSKART"].ToString();
            or1.Parameters.Add("BSAENDZL", OracleType.NVarChar).Value = dwData["BSAENDZL"].ToString();
            or1.Parameters.Add("BSAENDBEN", OracleType.NVarChar).Value = dwData["BSAENDBEN"].ToString();
            or1.Parameters.Add("BSAENDDAT", OracleType.NVarChar).Value = dwData["BSAENDDAT"].ToString();
            or1.Parameters.Add("BSNEUBEN", OracleType.NVarChar).Value = dwData["BSNEUBEN"].ToString();
            or1.Parameters.Add("BSNEUDAT", OracleType.NVarChar).Value = dwData["BSNEUDAT"].ToString();
            or1.Parameters.Add("BSMTART", OracleType.NVarChar).Value = dwData["BSMTART"].ToString();
            or1.Parameters.Add("BSBEZ", OracleType.NVarChar).Value = dwData["BSBEZ"].ToString();
            or1.Parameters.Add("BSSTDKVAR", OracleType.NVarChar).Value = dwData["BSSTDKVAR"].ToString();
            or1.Parameters.Add("BSSTAKZ", OracleType.NVarChar).Value = dwData["BSSTAKZ"].ToString();
            or1.Parameters.Add("BSMUSTER", OracleType.NVarChar).Value = dwData["BSMUSTER"].ToString();
            or1.Parameters.Add("BSFARBVW", OracleType.NVarChar).Value = dwData["BSFARBVW"].ToString();
            or1.Parameters.Add("BSFARBSTUE", OracleType.NVarChar).Value = dwData["BSFARBSTUE"].ToString();
            or1.Parameters.Add("BSPFVARN", OracleType.NVarChar).Value = dwData["BSPFVARN"].ToString();
            or1.Parameters.Add("BSPROGRP", OracleType.NVarChar).Value = dwData["BSPROGRP"].ToString();
            or1.Parameters.Add("BSARTGRP", OracleType.NVarChar).Value = dwData["BSARTGRP"].ToString();
            or1.Parameters.Add("BSPMGRP", OracleType.NVarChar).Value = dwData["BSPMGRP"].ToString();
            or1.Parameters.Add("BSBAUMKZ", OracleType.NVarChar).Value = dwData["BSBAUMKZ"].ToString();
            or1.Parameters.Add("BSVERWEN", OracleType.NVarChar).Value = dwData["BSVERWEN"].ToString();
            or1.Parameters.Add("BSFDZ", OracleType.NVarChar).Value = dwData["BSFDZ"].ToString();
            or1.Parameters.Add("BSFDZLEIST", OracleType.NVarChar).Value = dwData["BSFDZLEIST"].ToString();
            or1.Parameters.Add("BSKNOTEN", OracleType.NVarChar).Value = dwData["BSKNOTEN"].ToString();
            or1.Parameters.Add("BSFAKTOR", OracleType.NVarChar).Value = dwData["BSFAKTOR"].ToString();
            or1.Parameters.Add("BSSRFNR", OracleType.NVarChar).Value = dwData["BSSRFNR"].ToString();
            or1.Parameters.Add("BSCADKEY", OracleType.NVarChar).Value = dwData["BSCADKEY"].ToString();
            or1.Parameters.Add("BSANZTB", OracleType.NVarChar).Value = dwData["BSANZTB"].ToString();
            or1.Parameters.Add("BSKRANF", OracleType.NVarChar).Value = dwData["BSKRANF"].ToString();
            or1.Parameters.Add("BSKRENDE", OracleType.NVarChar).Value = dwData["BSKRENDE"].ToString();
            or1.Parameters.Add("BSKRMITTE", OracleType.NVarChar).Value = dwData["BSKRMITTE"].ToString();
            or1.Parameters.Add("BSFDFLGKR", OracleType.NVarChar).Value = dwData["BSFDFLGKR"].ToString();
            or1.Parameters.Add("BSKRART", OracleType.NVarChar).Value = dwData["BSKRART"].ToString();
            or1.Parameters.Add("BSSCHAERBR", OracleType.NVarChar).Value = dwData["BSSCHAERBR"].ToString();
            or1.Parameters.Add("BSRIETF", OracleType.NVarChar).Value = dwData["BSRIETF"].ToString();
            or1.Parameters.Add("BSFDFLGRI", OracleType.NVarChar).Value = dwData["BSFDFLGRI"].ToString();
            or1.Parameters.Add("BSBEM", OracleType.NVarChar).Value = dwData["BSBEM"].ToString();
            or1.Parameters.Add("BSZOLLTNR", OracleType.NVarChar).Value = dwData["BSZOLLTNR"].ToString();
            or1.Parameters.Add("BSSUBSTGR", OracleType.NVarChar).Value = dwData["BSSUBSTGR"].ToString();
            or1.Parameters.Add("BSHANDICAP", OracleType.NVarChar).Value = dwData["BSHANDICAP"].ToString();
            or1.Parameters.Add("BSAFFINITY", OracleType.NVarChar).Value = dwData["BSAFFINITY"].ToString();
            or1.Parameters.Add("BSSUBST1", OracleType.NVarChar).Value = dwData["BSSUBST1"].ToString();
            or1.Parameters.Add("BSSUBST2", OracleType.NVarChar).Value = dwData["BSSUBST2"].ToString();
            or1.Parameters.Add("BSBLEACHED", OracleType.NVarChar).Value = dwData["BSBLEACHED"].ToString();
            or1.Parameters.Add("BSCLORINEST", OracleType.NVarChar).Value = dwData["BSCLORINEST"].ToString();
            or1.Parameters.Add("BSFIXTEMP", OracleType.NVarChar).Value = dwData["BSFIXTEMP"].ToString();
            or1.Parameters.Add("BSPRODH", OracleType.NVarChar).Value = dwData["BSPRODH"].ToString();
            or1.Parameters.Add("BSMATKL", OracleType.NVarChar).Value = dwData["BSMATKL"].ToString();
            or1.Parameters.Add("BSPLGRP", OracleType.NVarChar).Value = dwData["BSPLGRP"].ToString();
            or1.Parameters.Add("BSPLANART", OracleType.NVarChar).Value = dwData["BSPLANART"].ToString();
            or1.Parameters.Add("BSEKGRP", OracleType.NVarChar).Value = dwData["BSEKGRP"].ToString();
            or1.Parameters.Add("BSBSTME", OracleType.NVarChar).Value = dwData["BSBSTME"].ToString();
            or1.Parameters.Add("BSVABME", OracleType.NVarChar).Value = dwData["BSVABME"].ToString();
            or1.Parameters.Add("BSEKWSL", OracleType.NVarChar).Value = dwData["BSEKWSL"].ToString();
            or1.Parameters.Add("BSINKZ", OracleType.NVarChar).Value = dwData["BSINKZ"].ToString();
            or1.Parameters.Add("BSINPR", OracleType.NVarChar).Value = dwData["BSINPR"].ToString();
            or1.Parameters.Add("BSBEWAB", OracleType.NVarChar).Value = dwData["BSBEWAB"].ToString();
            or1.Parameters.Add("BSFILLER", OracleType.NVarChar).Value = dwData["BSFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBHSATZ(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BHSATZ SET "
                + "BHMANDANT=:BHMANDANT,"
                + "BHKART=:BHKART,"
                + "BHKVAR=:BHKVAR,"
                + "BHAENDZL=:BHAENDZL,"
                + "BHAENDBEN=:BHAENDBEN,"
                + "BHAENDDAT=:BHAENDDAT,"
                + "BHNEUBEN=:BHNEUBEN,"
                + "BHNEUDAT=:BHNEUDAT,"
                + "BHFERTKZ=:BHFERTKZ,"
                + "BHLIEFNR=:BHLIEFNR,"
                + "BHFILLER1=:BHFILLER1,"
                + "BHLAN=:BHLAN,"
                + "BHKUNDNR=:BHKUNDNR,"
                + "BHHERART=:BHHERART,"
                + "BHSTATUS=:BHSTATUS,"
                + "BHSTAKZ=:BHSTAKZ,"
                + "BHGASTUE=:BHGASTUE,"
                + "BHBASTUE=:BHBASTUE,"
                + "BHAUFTR=:BHAUFTR,"
                + "BHKGNET=:BHKGNET,"
                + "BHLGG=:BHLGG,"
                + "BHRSP=:BHRSP,"
                + "BHSCHLIGR1=:BHSCHLIGR1,"
                + "BHSCHLIGR2=:BHSCHLIGR2,"
                + "BHSCHLIGR3=:BHSCHLIGR3,"
                + "BHSCHLIGR4=:BHSCHLIGR4,"
                + "BHSCHLIGR5=:BHSCHLIGR5,"
                + "BHSCHLIGR6=:BHSCHLIGR6,"
                + "BHSCHLIGR7=:BHSCHLIGR7,"
                + "BHSCHLIGR8=:BHSCHLIGR8,"
                + "BHSCHLIGR9=:BHSCHLIGR9,"
                + "BHSCHLIGR10=:BHSCHLIGR10,"
                + "BHSCHLIGR11=:BHSCHLIGR11,"
                + "BHSCHLIGR12=:BHSCHLIGR12,"
                + "BHSCHLIGR13=:BHSCHLIGR13,"
                + "BHSCHLIGR14=:BHSCHLIGR14,"
                + "BHSCHLIGR15=:BHSCHLIGR15,"
                + "BHSCHLINR1=:BHSCHLINR1,"
                + "BHSCHLINR2=:BHSCHLINR2,"
                + "BHSCHLINR3=:BHSCHLINR3,"
                + "BHSCHLINR4=:BHSCHLINR4,"
                + "BHSCHLINR5=:BHSCHLINR5,"
                + "BHSCHLINR6=:BHSCHLINR6,"
                + "BHSCHLINR7=:BHSCHLINR7,"
                + "BHSCHLINR8=:BHSCHLINR8,"
                + "BHSCHLINR9=:BHSCHLINR9,"
                + "BHSCHLINR10=:BHSCHLINR10,"
                + "BHSCHLINR11=:BHSCHLINR11,"
                + "BHSCHLINR12=:BHSCHLINR12,"
                + "BHSCHLINR13=:BHSCHLINR13,"
                + "BHSCHLINR14=:BHSCHLINR14,"
                + "BHSCHLINR15=:BHSCHLINR15,"
                + "BHCADKEY=:BHCADKEY,"
                + "BHBEM=:BHBEM,"
                + "BHDEKPR=:BHDEKPR,"
                + "BHZUGMENG=:BHZUGMENG,"
                + "BHVRPR=:BHVRPR,"
                + "BHLEPR=:BHLEPR,"
                + "BHBWPR1=:BHBWPR1,"
                + "BHBWPR2=:BHBWPR2,"
                + "BHBWPR3=:BHBWPR3,"
                + "BHMATKTO=:BHMATKTO,"
                + "BHKTO1=:BHKTO1,"
                + "BHEG=:BHEG,"
                + "BHBON=:BHBON,"
                + "BHZUSCHL11=:BHZUSCHL11,"
                + "BHZUSCHL12=:BHZUSCHL12,"
                + "BHZUSCHL13=:BHZUSCHL13,"
                + "BHZUSCHL21=:BHZUSCHL21,"
                + "BHZUSCHL22=:BHZUSCHL22,"
                + "BHZUSCHL23=:BHZUSCHL23,"
                + "BHABSABF=:BHABSABF,"
                + "BHKALABF=:BHKALABF,"
                + "BHAUFKZ=:BHAUFKZ,"
                + "BHKETTLG=:BHKETTLG,"
                + "BHFERTZT=:BHFERTZT,"
                + "BHWDBSZT=:BHWDBSZT,"
                + "BHDISPOKZ=:BHDISPOKZ,"
                + "BHDISPOZR=:BHDISPOZR,"
                + "BHMINBST=:BHMINBST,"
                + "BHMAXBST=:BHMAXBST,"
                + "BHBSLPKT=:BHBSLPKT,"
                + "BHLO=:BHLO,"
                + "BHLB=:BHLB,"
                + "BHABCKL=:BHABCKL,"
                + "BHSACHDSP=:BHSACHDSP,"
                + "BHPROF=:BHPROF,"
                + "BHPRUEFANW=:BHPRUEFANW,"
                + "BHTAX=:BHTAX,"
                + "BHFILLER=:BHFILLER "
                + " WHERE  "
                + "  BHMANDANT=:BHMANDANT AND BHKART=:BHKART  AND BHKVAR=:BHKVAR";

            or1.Parameters.Add("BHMANDANT", OracleType.NVarChar).Value = dwData["BHMANDANT"].ToString();
            or1.Parameters.Add("BHKART", OracleType.NVarChar).Value = dwData["BHKART"].ToString();
            or1.Parameters.Add("BHKVAR", OracleType.NVarChar).Value = dwData["BHKVAR"].ToString();
            or1.Parameters.Add("BHAENDZL", OracleType.NVarChar).Value = dwData["BHAENDZL"].ToString();
            or1.Parameters.Add("BHAENDBEN", OracleType.NVarChar).Value = dwData["BHAENDBEN"].ToString();
            or1.Parameters.Add("BHAENDDAT", OracleType.NVarChar).Value = dwData["BHAENDDAT"].ToString();
            or1.Parameters.Add("BHNEUBEN", OracleType.NVarChar).Value = dwData["BHNEUBEN"].ToString();
            or1.Parameters.Add("BHNEUDAT", OracleType.NVarChar).Value = dwData["BHNEUDAT"].ToString();
            or1.Parameters.Add("BHFERTKZ", OracleType.NVarChar).Value = dwData["BHFERTKZ"].ToString();
            or1.Parameters.Add("BHLIEFNR", OracleType.NVarChar).Value = dwData["BHLIEFNR"].ToString();
            or1.Parameters.Add("BHFILLER1", OracleType.NVarChar).Value = dwData["BHFILLER1"].ToString();
            or1.Parameters.Add("BHLAN", OracleType.NVarChar).Value = dwData["BHLAN"].ToString();
            or1.Parameters.Add("BHKUNDNR", OracleType.NVarChar).Value = dwData["BHKUNDNR"].ToString();
            or1.Parameters.Add("BHHERART", OracleType.NVarChar).Value = dwData["BHHERART"].ToString();
            or1.Parameters.Add("BHSTATUS", OracleType.NVarChar).Value = dwData["BHSTATUS"].ToString();
            or1.Parameters.Add("BHSTAKZ", OracleType.NVarChar).Value = dwData["BHSTAKZ"].ToString();
            or1.Parameters.Add("BHGASTUE", OracleType.NVarChar).Value = dwData["BHGASTUE"].ToString();
            or1.Parameters.Add("BHBASTUE", OracleType.NVarChar).Value = dwData["BHBASTUE"].ToString();
            or1.Parameters.Add("BHAUFTR", OracleType.NVarChar).Value = dwData["BHAUFTR"].ToString();
            or1.Parameters.Add("BHKGNET", OracleType.NVarChar).Value = dwData["BHKGNET"].ToString();
            or1.Parameters.Add("BHLGG", OracleType.NVarChar).Value = dwData["BHLGG"].ToString();
            or1.Parameters.Add("BHRSP", OracleType.NVarChar).Value = dwData["BHRSP"].ToString();
            or1.Parameters.Add("BHSCHLIGR1", OracleType.NVarChar).Value = dwData["BHSCHLIGR1"].ToString();
            or1.Parameters.Add("BHSCHLIGR2", OracleType.NVarChar).Value = dwData["BHSCHLIGR2"].ToString();
            or1.Parameters.Add("BHSCHLIGR3", OracleType.NVarChar).Value = dwData["BHSCHLIGR3"].ToString();
            or1.Parameters.Add("BHSCHLIGR4", OracleType.NVarChar).Value = dwData["BHSCHLIGR4"].ToString();
            or1.Parameters.Add("BHSCHLIGR5", OracleType.NVarChar).Value = dwData["BHSCHLIGR5"].ToString();
            or1.Parameters.Add("BHSCHLIGR6", OracleType.NVarChar).Value = dwData["BHSCHLIGR6"].ToString();
            or1.Parameters.Add("BHSCHLIGR7", OracleType.NVarChar).Value = dwData["BHSCHLIGR7"].ToString();
            or1.Parameters.Add("BHSCHLIGR8", OracleType.NVarChar).Value = dwData["BHSCHLIGR8"].ToString();
            or1.Parameters.Add("BHSCHLIGR9", OracleType.NVarChar).Value = dwData["BHSCHLIGR9"].ToString();
            or1.Parameters.Add("BHSCHLIGR10", OracleType.NVarChar).Value = dwData["BHSCHLIGR10"].ToString();
            or1.Parameters.Add("BHSCHLIGR11", OracleType.NVarChar).Value = dwData["BHSCHLIGR11"].ToString();
            or1.Parameters.Add("BHSCHLIGR12", OracleType.NVarChar).Value = dwData["BHSCHLIGR12"].ToString();
            or1.Parameters.Add("BHSCHLIGR13", OracleType.NVarChar).Value = dwData["BHSCHLIGR13"].ToString();
            or1.Parameters.Add("BHSCHLIGR14", OracleType.NVarChar).Value = dwData["BHSCHLIGR14"].ToString();
            or1.Parameters.Add("BHSCHLIGR15", OracleType.NVarChar).Value = dwData["BHSCHLIGR15"].ToString();
            or1.Parameters.Add("BHSCHLINR1", OracleType.NVarChar).Value = dwData["BHSCHLINR1"].ToString();
            or1.Parameters.Add("BHSCHLINR2", OracleType.NVarChar).Value = dwData["BHSCHLINR2"].ToString();
            or1.Parameters.Add("BHSCHLINR3", OracleType.NVarChar).Value = dwData["BHSCHLINR3"].ToString();
            or1.Parameters.Add("BHSCHLINR4", OracleType.NVarChar).Value = dwData["BHSCHLINR4"].ToString();
            or1.Parameters.Add("BHSCHLINR5", OracleType.NVarChar).Value = dwData["BHSCHLINR5"].ToString();
            or1.Parameters.Add("BHSCHLINR6", OracleType.NVarChar).Value = dwData["BHSCHLINR6"].ToString();
            or1.Parameters.Add("BHSCHLINR7", OracleType.NVarChar).Value = dwData["BHSCHLINR7"].ToString();
            or1.Parameters.Add("BHSCHLINR8", OracleType.NVarChar).Value = dwData["BHSCHLINR8"].ToString();
            or1.Parameters.Add("BHSCHLINR9", OracleType.NVarChar).Value = dwData["BHSCHLINR9"].ToString();
            or1.Parameters.Add("BHSCHLINR10", OracleType.NVarChar).Value = dwData["BHSCHLINR10"].ToString();
            or1.Parameters.Add("BHSCHLINR11", OracleType.NVarChar).Value = dwData["BHSCHLINR11"].ToString();
            or1.Parameters.Add("BHSCHLINR12", OracleType.NVarChar).Value = dwData["BHSCHLINR12"].ToString();
            or1.Parameters.Add("BHSCHLINR13", OracleType.NVarChar).Value = dwData["BHSCHLINR13"].ToString();
            or1.Parameters.Add("BHSCHLINR14", OracleType.NVarChar).Value = dwData["BHSCHLINR14"].ToString();
            or1.Parameters.Add("BHSCHLINR15", OracleType.NVarChar).Value = dwData["BHSCHLINR15"].ToString();
            or1.Parameters.Add("BHCADKEY", OracleType.NVarChar).Value = dwData["BHCADKEY"].ToString();
            or1.Parameters.Add("BHBEM", OracleType.NVarChar).Value = dwData["BHBEM"].ToString();
            or1.Parameters.Add("BHDEKPR", OracleType.NVarChar).Value = dwData["BHDEKPR"].ToString();
            or1.Parameters.Add("BHZUGMENG", OracleType.NVarChar).Value = dwData["BHZUGMENG"].ToString();
            or1.Parameters.Add("BHVRPR", OracleType.NVarChar).Value = dwData["BHVRPR"].ToString();
            or1.Parameters.Add("BHLEPR", OracleType.NVarChar).Value = dwData["BHLEPR"].ToString();
            or1.Parameters.Add("BHBWPR1", OracleType.NVarChar).Value = dwData["BHBWPR1"].ToString();
            or1.Parameters.Add("BHBWPR2", OracleType.NVarChar).Value = dwData["BHBWPR2"].ToString();
            or1.Parameters.Add("BHBWPR3", OracleType.NVarChar).Value = dwData["BHBWPR3"].ToString();
            or1.Parameters.Add("BHMATKTO", OracleType.NVarChar).Value = dwData["BHMATKTO"].ToString();
            or1.Parameters.Add("BHKTO1", OracleType.NVarChar).Value = dwData["BHKTO1"].ToString();
            or1.Parameters.Add("BHEG", OracleType.NVarChar).Value = dwData["BHEG"].ToString();
            or1.Parameters.Add("BHBON", OracleType.NVarChar).Value = dwData["BHBON"].ToString();
            or1.Parameters.Add("BHZUSCHL11", OracleType.NVarChar).Value = dwData["BHZUSCHL11"].ToString();
            or1.Parameters.Add("BHZUSCHL12", OracleType.NVarChar).Value = dwData["BHZUSCHL12"].ToString();
            or1.Parameters.Add("BHZUSCHL13", OracleType.NVarChar).Value = dwData["BHZUSCHL13"].ToString();
            or1.Parameters.Add("BHZUSCHL21", OracleType.NVarChar).Value = dwData["BHZUSCHL21"].ToString();
            or1.Parameters.Add("BHZUSCHL22", OracleType.NVarChar).Value = dwData["BHZUSCHL22"].ToString();
            or1.Parameters.Add("BHZUSCHL23", OracleType.NVarChar).Value = dwData["BHZUSCHL23"].ToString();
            or1.Parameters.Add("BHABSABF", OracleType.NVarChar).Value = dwData["BHABSABF"].ToString();
            or1.Parameters.Add("BHKALABF", OracleType.NVarChar).Value = dwData["BHKALABF"].ToString();
            or1.Parameters.Add("BHAUFKZ", OracleType.NVarChar).Value = dwData["BHAUFKZ"].ToString();
            or1.Parameters.Add("BHKETTLG", OracleType.NVarChar).Value = dwData["BHKETTLG"].ToString();
            or1.Parameters.Add("BHFERTZT", OracleType.NVarChar).Value = dwData["BHFERTZT"].ToString();
            or1.Parameters.Add("BHWDBSZT", OracleType.NVarChar).Value = dwData["BHWDBSZT"].ToString();
            or1.Parameters.Add("BHDISPOKZ", OracleType.NVarChar).Value = dwData["BHDISPOKZ"].ToString();
            or1.Parameters.Add("BHDISPOZR", OracleType.NVarChar).Value = dwData["BHDISPOZR"].ToString();
            or1.Parameters.Add("BHMINBST", OracleType.NVarChar).Value = dwData["BHMINBST"].ToString();
            or1.Parameters.Add("BHMAXBST", OracleType.NVarChar).Value = dwData["BHMAXBST"].ToString();
            or1.Parameters.Add("BHBSLPKT", OracleType.NVarChar).Value = dwData["BHBSLPKT"].ToString();
            or1.Parameters.Add("BHLO", OracleType.NVarChar).Value = dwData["BHLO"].ToString();
            or1.Parameters.Add("BHLB", OracleType.NVarChar).Value = dwData["BHLB"].ToString();
            or1.Parameters.Add("BHABCKL", OracleType.NVarChar).Value = dwData["BHABCKL"].ToString();
            or1.Parameters.Add("BHSACHDSP", OracleType.NVarChar).Value = dwData["BHSACHDSP"].ToString();
            or1.Parameters.Add("BHPROF", OracleType.NVarChar).Value = dwData["BHPROF"].ToString();
            or1.Parameters.Add("BHPRUEFANW", OracleType.NVarChar).Value = dwData["BHPRUEFANW"].ToString();
            or1.Parameters.Add("BHTAX", OracleType.NVarChar).Value = dwData["BHTAX"].ToString();
            or1.Parameters.Add("BHFILLER", OracleType.NVarChar).Value = dwData["BHFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBSGROE(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BSGROE SET "
                + "BSGMANDANT=:BSGMANDANT,"
                + "BSGART=:BSGART,"
                + "BSGMTYP=:BSGMTYP,"
                + "BSGLFD=:BSGLFD,"
                + "BSGAENDZL=:BSGAENDZL,"
                + "BSGAENDBEN=:BSGAENDBEN,"
                + "BSGAENDDAT=:BSGAENDDAT,"
                + "BSGNEUBEN=:BSGNEUBEN,"
                + "BSGNEUDAT=:BSGNEUDAT,"
                + "BSGKETTART=:BSGKETTART,"
                + "BSGMAXLG=:BSGMAXLG,"
                + "BSGMAXGW=:BSGMAXGW,"
                + "BSGLOS=:BSGLOS,"
                + "BSGANZTB=:BSGANZTB,"
                + "BSGLLEIST=:BSGLLEIST,"
                + "BSGRLEIST=:BSGRLEIST,"
                + "BSGFILLER=:BSGFILLER "
                + " WHERE  "
                + "  BSGMANDANT=:BSGMANDANT AND BSGART=:BSGART AND BSGMTYP=:BSGMTYP ";
            or1.Parameters.Add("BSGMANDANT", OracleType.NVarChar).Value = dwData["BSGMANDANT"].ToString();
            or1.Parameters.Add("BSGART", OracleType.NVarChar).Value = dwData["BSGART"].ToString();
            or1.Parameters.Add("BSGMTYP", OracleType.NVarChar).Value = dwData["BSGMTYP"].ToString();
            or1.Parameters.Add("BSGLFD", OracleType.NVarChar).Value = dwData["BSGLFD"].ToString();
            or1.Parameters.Add("BSGAENDZL", OracleType.NVarChar).Value = dwData["BSGAENDZL"].ToString();
            or1.Parameters.Add("BSGAENDBEN", OracleType.NVarChar).Value = dwData["BSGAENDBEN"].ToString();
            or1.Parameters.Add("BSGAENDDAT", OracleType.NVarChar).Value = dwData["BSGAENDDAT"].ToString();
            or1.Parameters.Add("BSGNEUBEN", OracleType.NVarChar).Value = dwData["BSGNEUBEN"].ToString();
            or1.Parameters.Add("BSGNEUDAT", OracleType.NVarChar).Value = dwData["BSGNEUDAT"].ToString();
            or1.Parameters.Add("BSGKETTART", OracleType.NVarChar).Value = dwData["BSGKETTART"].ToString();
            or1.Parameters.Add("BSGMAXLG", OracleType.NVarChar).Value = dwData["BSGMAXLG"].ToString();
            or1.Parameters.Add("BSGMAXGW", OracleType.NVarChar).Value = dwData["BSGMAXGW"].ToString();
            or1.Parameters.Add("BSGLOS", OracleType.NVarChar).Value = dwData["BSGLOS"].ToString();
            or1.Parameters.Add("BSGANZTB", OracleType.NVarChar).Value = dwData["BSGANZTB"].ToString();
            or1.Parameters.Add("BSGLLEIST", OracleType.NVarChar).Value = dwData["BSGLLEIST"].ToString();
            or1.Parameters.Add("BSGRLEIST", OracleType.NVarChar).Value = dwData["BSGRLEIST"].ToString();
            or1.Parameters.Add("BSGFILLER", OracleType.NVarChar).Value = dwData["BSGFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBSFARB(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BSFARB SET "
                 + "BSFMANDANT=:BSFMANDANT,"
                + "BSFKART=:BSFKART,"
                + "BSFKVAR=:BSFKVAR,"
                + "BSFKFARBE=:BSFKFARBE,"
                + "BSFKZKETTF=:BSFKZKETTF,"
                + "BSFSTATUS=:BSFSTATUS,"
                + "BSFSFKZ=:BSFSFKZ,"
                + "BSFBEZ=:BSFBEZ,"
                + "BSFTEXTSCHL=:BSFTEXTSCHL,"
                + "BSFFKARTNR=:BSFFKARTNR,"
                + "BSFROHFARBE=:BSFROHFARBE,"
                + "BSFMUDESS=:BSFMUDESS,"
                + "BSFUNIFARB=:BSFUNIFARB,"
                + "BSFZTWAHL=:BSFZTWAHL,"
                + "BSFRUESTGRP=:BSFRUESTGRP,"
                + "BSFPRUEFGRP=:BSFPRUEFGRP,"
                + "BSFFDVF=:BSFFDVF,"
                + "BSFPRGRP=:BSFPRGRP,"
                + "BSFGRPBEZ=:BSFGRPBEZ,"
                + "BSFPREIS=:BSFPREIS,"
                + "BSFZUABPR=:BSFZUABPR,"
                + "BSFZUABAB=:BSFZUABAB,"
                + "BSFNFART=:BSFNFART,"
                + "BSFWERT=:BSFWERT,"
                + "BSFKZPA=:BSFKZPA,"
                + "BSFZUABVH=:BSFZUABVH,"
                + "BSFZUABAK=:BSFZUABAK,"
                + "BSFZUABKU=:BSFZUABKU,"
                + "BSFZUABPROZ=:BSFZUABPROZ,"
                + "BSFFA=:BSFFA,"
                + "BSFGA=:BSFGA,"
                + "BSFQA=:BSFQA,"
                + "BSFQPKTH=:BSFQPKTH,"
                + "BSFQPKTLH=:BSFQPKTLH,"
                + "BSFLOAN=:BSFLOAN,"
                + "BSFLBAN=:BSFLBAN,"
                + "BSFLPAN=:BSFLPAN,"
                + "BSFABKZAN=:BSFABKZAN,"
                + "BSFPKL=:BSFPKL,"
                + "BSFVBBRT=:BSFVBBRT,"
                + "BSFBRTTOLPL=:BSFBRTTOLPL,"
                + "BSFBRTTOLMI=:BSFBRTTOLMI,"
                + "BSFVBGRQM=:BSFVBGRQM,"
                + "BSFVBGRLFD=:BSFVBGRLFD,"
                + "BSFGWTOLPL=:BSFGWTOLPL,"
                + "BSFGWTOLMIN=:BSFGWTOLMIN,"
                + "BSFLAEAEND=:BSFLAEAEND,"
                + "BSFGWVERL=:BSFGWVERL,"
                + "BSFRESTSCHL=:BSFRESTSCHL,"
                + "BSFPHWERTMI=:BSFPHWERTMI,"
                + "BSFPHWERTMA=:BSFPHWERTMA,"
                + "BSFWEISSGRD=:BSFWEISSGRD,"
                + "BSFNETZFVON=:BSFNETZFVON,"
                + "BSFNETZFBIS=:BSFNETZFBIS,"
                + "BSFNETZFSEK=:BSFNETZFSEK,"
                + "BSFRSSFTRKV=:BSFRSSFTRKV,"
                + "BSFRSSFTRKB=:BSFRSSFTRKB,"
                + "BSFUNIFAEH=:BSFUNIFAEH,"
                + "BSFFADGERAD=:BSFFADGERAD,"
                + "BSFMUSTFRB=:BSFMUSTFRB,"
                + "BSFVORB=:BSFVORB,"
                + "BSFNACHB=:BSFNACHB,"
                + "BSFMU=:BSFMU,"
                + "BSFMURLOD=:BSFMURLOD,"
                + "BSFMUPROD=:BSFMUPROD,"
                + "BSFMUCTOD=:BSFMUCTOD,"
                + "BSFMUDTRL=:BSFMUDTRL,"
                + "BSFMUBIRL=:BSFMUBIRL,"
                + "BSFLMANRKRS=:BSFLMANRKRS,"
                + "BSFLMALFDNR=:BSFLMALFDNR,"
                + "BSFLMAPOS=:BSFLMAPOS,"
                + "BSFLODKRS=:BSFLODKRS,"
                + "BSFLODLFD=:BSFLODLFD,"
                + "BSFLODPOS=:BSFLODPOS,"
                + "BSFFILLER=:BSFFILLER,"
                + "BSFAENZL=:BSFAENZL,"
                + "BSFAENB=:BSFAENB,"
                + "BSFAEND=:BSFAEND,"
                + "BSFNEUB=:BSFNEUB,"
                + "BSFNEUD=:BSFNEUD "
                + " WHERE  "
                + "  BSFMANDANT=:BSFMANDANT AND BSFKART=:BSFKART  AND BSFKVAR=:BSFKVAR  AND BSFKFARBE=:BSFKFARBE";
            or1.Parameters.Add("BSFMANDANT", OracleType.NVarChar).Value = dwData["BSFMANDANT"].ToString();
            or1.Parameters.Add("BSFKART", OracleType.NVarChar).Value = dwData["BSFKART"].ToString();
            or1.Parameters.Add("BSFKVAR", OracleType.NVarChar).Value = dwData["BSFKVAR"].ToString();
            or1.Parameters.Add("BSFKFARBE", OracleType.NVarChar).Value = dwData["BSFKFARBE"].ToString();
            or1.Parameters.Add("BSFKZKETTF", OracleType.NVarChar).Value = dwData["BSFKZKETTF"].ToString();
            or1.Parameters.Add("BSFSTATUS", OracleType.NVarChar).Value = dwData["BSFSTATUS"].ToString();
            or1.Parameters.Add("BSFSFKZ", OracleType.NVarChar).Value = dwData["BSFSFKZ"].ToString();
            or1.Parameters.Add("BSFBEZ", OracleType.NVarChar).Value = dwData["BSFBEZ"].ToString();
            or1.Parameters.Add("BSFTEXTSCHL", OracleType.NVarChar).Value = dwData["BSFTEXTSCHL"].ToString();
            or1.Parameters.Add("BSFFKARTNR", OracleType.NVarChar).Value = dwData["BSFFKARTNR"].ToString();
            or1.Parameters.Add("BSFROHFARBE", OracleType.NVarChar).Value = dwData["BSFROHFARBE"].ToString();
            or1.Parameters.Add("BSFMUDESS", OracleType.NVarChar).Value = dwData["BSFMUDESS"].ToString();
            or1.Parameters.Add("BSFUNIFARB", OracleType.NVarChar).Value = dwData["BSFUNIFARB"].ToString();
            or1.Parameters.Add("BSFZTWAHL", OracleType.NVarChar).Value = dwData["BSFZTWAHL"].ToString();
            or1.Parameters.Add("BSFRUESTGRP", OracleType.NVarChar).Value = dwData["BSFRUESTGRP"].ToString();
            or1.Parameters.Add("BSFPRUEFGRP", OracleType.NVarChar).Value = dwData["BSFPRUEFGRP"].ToString();
            or1.Parameters.Add("BSFFDVF", OracleType.NVarChar).Value = dwData["BSFFDVF"].ToString();
            or1.Parameters.Add("BSFPRGRP", OracleType.NVarChar).Value = dwData["BSFPRGRP"].ToString();
            or1.Parameters.Add("BSFGRPBEZ", OracleType.NVarChar).Value = dwData["BSFGRPBEZ"].ToString();
            or1.Parameters.Add("BSFPREIS", OracleType.NVarChar).Value = dwData["BSFPREIS"].ToString();
            or1.Parameters.Add("BSFZUABPR", OracleType.NVarChar).Value = dwData["BSFZUABPR"].ToString();
            or1.Parameters.Add("BSFZUABAB", OracleType.NVarChar).Value = dwData["BSFZUABAB"].ToString();
            or1.Parameters.Add("BSFNFART", OracleType.NVarChar).Value = dwData["BSFNFART"].ToString();
            or1.Parameters.Add("BSFWERT", OracleType.NVarChar).Value = dwData["BSFWERT"].ToString();
            or1.Parameters.Add("BSFKZPA", OracleType.NVarChar).Value = dwData["BSFKZPA"].ToString();
            or1.Parameters.Add("BSFZUABVH", OracleType.NVarChar).Value = dwData["BSFZUABVH"].ToString();
            or1.Parameters.Add("BSFZUABAK", OracleType.NVarChar).Value = dwData["BSFZUABAK"].ToString();
            or1.Parameters.Add("BSFZUABKU", OracleType.NVarChar).Value = dwData["BSFZUABKU"].ToString();
            or1.Parameters.Add("BSFZUABPROZ", OracleType.NVarChar).Value = dwData["BSFZUABPROZ"].ToString();
            or1.Parameters.Add("BSFFA", OracleType.NVarChar).Value = dwData["BSFFA"].ToString();
            or1.Parameters.Add("BSFGA", OracleType.NVarChar).Value = dwData["BSFGA"].ToString();
            or1.Parameters.Add("BSFQA", OracleType.NVarChar).Value = dwData["BSFQA"].ToString();
            or1.Parameters.Add("BSFQPKTH", OracleType.NVarChar).Value = dwData["BSFQPKTH"].ToString();
            or1.Parameters.Add("BSFQPKTLH", OracleType.NVarChar).Value = dwData["BSFQPKTLH"].ToString();
            or1.Parameters.Add("BSFLOAN", OracleType.NVarChar).Value = dwData["BSFLOAN"].ToString();
            or1.Parameters.Add("BSFLBAN", OracleType.NVarChar).Value = dwData["BSFLBAN"].ToString();
            or1.Parameters.Add("BSFLPAN", OracleType.NVarChar).Value = dwData["BSFLPAN"].ToString();
            or1.Parameters.Add("BSFABKZAN", OracleType.NVarChar).Value = dwData["BSFABKZAN"].ToString();
            or1.Parameters.Add("BSFPKL", OracleType.NVarChar).Value = dwData["BSFPKL"].ToString();
            or1.Parameters.Add("BSFVBBRT", OracleType.NVarChar).Value = dwData["BSFVBBRT"].ToString();
            or1.Parameters.Add("BSFBRTTOLPL", OracleType.NVarChar).Value = dwData["BSFBRTTOLPL"].ToString();
            or1.Parameters.Add("BSFBRTTOLMI", OracleType.NVarChar).Value = dwData["BSFBRTTOLMI"].ToString();
            or1.Parameters.Add("BSFVBGRQM", OracleType.NVarChar).Value = dwData["BSFVBGRQM"].ToString();
            or1.Parameters.Add("BSFVBGRLFD", OracleType.NVarChar).Value = dwData["BSFVBGRLFD"].ToString();
            or1.Parameters.Add("BSFGWTOLPL", OracleType.NVarChar).Value = dwData["BSFGWTOLPL"].ToString();
            or1.Parameters.Add("BSFGWTOLMIN", OracleType.NVarChar).Value = dwData["BSFGWTOLMIN"].ToString();
            or1.Parameters.Add("BSFLAEAEND", OracleType.NVarChar).Value = dwData["BSFLAEAEND"].ToString();
            or1.Parameters.Add("BSFGWVERL", OracleType.NVarChar).Value = dwData["BSFGWVERL"].ToString();
            or1.Parameters.Add("BSFRESTSCHL", OracleType.NVarChar).Value = dwData["BSFRESTSCHL"].ToString();
            or1.Parameters.Add("BSFPHWERTMI", OracleType.NVarChar).Value = dwData["BSFPHWERTMI"].ToString();
            or1.Parameters.Add("BSFPHWERTMA", OracleType.NVarChar).Value = dwData["BSFPHWERTMA"].ToString();
            or1.Parameters.Add("BSFWEISSGRD", OracleType.NVarChar).Value = dwData["BSFWEISSGRD"].ToString();
            or1.Parameters.Add("BSFNETZFVON", OracleType.NVarChar).Value = dwData["BSFNETZFVON"].ToString();
            or1.Parameters.Add("BSFNETZFBIS", OracleType.NVarChar).Value = dwData["BSFNETZFBIS"].ToString();
            or1.Parameters.Add("BSFNETZFSEK", OracleType.NVarChar).Value = dwData["BSFNETZFSEK"].ToString();
            or1.Parameters.Add("BSFRSSFTRKV", OracleType.NVarChar).Value = dwData["BSFRSSFTRKV"].ToString();
            or1.Parameters.Add("BSFRSSFTRKB", OracleType.NVarChar).Value = dwData["BSFRSSFTRKB"].ToString();
            or1.Parameters.Add("BSFUNIFAEH", OracleType.NVarChar).Value = dwData["BSFUNIFAEH"].ToString();
            or1.Parameters.Add("BSFFADGERAD", OracleType.NVarChar).Value = dwData["BSFFADGERAD"].ToString();
            or1.Parameters.Add("BSFMUSTFRB", OracleType.NVarChar).Value = dwData["BSFMUSTFRB"].ToString();
            or1.Parameters.Add("BSFVORB", OracleType.NVarChar).Value = dwData["BSFVORB"].ToString();
            or1.Parameters.Add("BSFNACHB", OracleType.NVarChar).Value = dwData["BSFNACHB"].ToString();
            or1.Parameters.Add("BSFMU", OracleType.NVarChar).Value = dwData["BSFMU"].ToString();
            or1.Parameters.Add("BSFMURLOD", OracleType.NVarChar).Value = dwData["BSFMURLOD"].ToString();
            or1.Parameters.Add("BSFMUPROD", OracleType.NVarChar).Value = dwData["BSFMUPROD"].ToString();
            or1.Parameters.Add("BSFMUCTOD", OracleType.NVarChar).Value = dwData["BSFMUCTOD"].ToString();
            or1.Parameters.Add("BSFMUDTRL", OracleType.NVarChar).Value = dwData["BSFMUDTRL"].ToString();
            or1.Parameters.Add("BSFMUBIRL", OracleType.NVarChar).Value = dwData["BSFMUBIRL"].ToString();
            or1.Parameters.Add("BSFLMANRKRS", OracleType.NVarChar).Value = dwData["BSFLMANRKRS"].ToString();
            or1.Parameters.Add("BSFLMALFDNR", OracleType.NVarChar).Value = dwData["BSFLMALFDNR"].ToString();
            or1.Parameters.Add("BSFLMAPOS", OracleType.NVarChar).Value = dwData["BSFLMAPOS"].ToString();
            or1.Parameters.Add("BSFLODKRS", OracleType.NVarChar).Value = dwData["BSFLODKRS"].ToString();
            or1.Parameters.Add("BSFLODLFD", OracleType.NVarChar).Value = dwData["BSFLODLFD"].ToString();
            or1.Parameters.Add("BSFLODPOS", OracleType.NVarChar).Value = dwData["BSFLODPOS"].ToString();
            or1.Parameters.Add("BSFFILLER", OracleType.NVarChar).Value = dwData["BSFFILLER"].ToString();
            or1.Parameters.Add("BSFAENZL", OracleType.NVarChar).Value = dwData["BSFAENZL"].ToString();
            or1.Parameters.Add("BSFAENB", OracleType.NVarChar).Value = dwData["BSFAENB"].ToString();
            or1.Parameters.Add("BSFAEND", OracleType.NVarChar).Value = dwData["BSFAEND"].ToString();
            or1.Parameters.Add("BSFNEUB", OracleType.NVarChar).Value = dwData["BSFNEUB"].ToString();
            or1.Parameters.Add("BSFNEUD", OracleType.NVarChar).Value = dwData["BSFNEUD"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBASTGA(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BASTGA SET "
                + "BAGMANDANT=:BAGMANDANT,"
                + "BAGART=:BAGART,"
                + "BAGVAR=:BAGVAR,"
                + "BAGFARBE=:BAGFARBE,"
                + "BAGPOS=:BAGPOS,"
                + "BAGGART=:BAGGART,"
                + "BAGGVAR=:BAGGVAR,"
                + "BAGGFARBE=:BAGGFARBE,"
                + "BAGFDZ=:BAGFDZ,"
                + "BAGABF=:BAGABF,"
                + "BAGKGNET=:BAGKGNET,"
                + "BAGKGBRUT=:BAGKGBRUT,"
                + "BAGDISPOKZ=:BAGDISPOKZ,"
                + "BAGBEM=:BAGBEM,"
                + "BAGVARKZ=:BAGVARKZ,"
                + "BAGAUFMSL=:BAGAUFMSL,"
                + "BAGFILLER=:BAGFILLER "
                + " WHERE  "
                + "  BAGMANDANT=:BAGMANDANT AND BAGART=:BAGART  AND BAGVAR=:BAGVAR  AND BAGFARBE=:BAGFARBE  AND BAGPOS=:BAGPOS";
            or1.Parameters.Add("BAGMANDANT", OracleType.NVarChar).Value = dwData["BAGMANDANT"].ToString();
            or1.Parameters.Add("BAGART", OracleType.NVarChar).Value = dwData["BAGART"].ToString();
            or1.Parameters.Add("BAGVAR", OracleType.NVarChar).Value = dwData["BAGVAR"].ToString();
            or1.Parameters.Add("BAGFARBE", OracleType.NVarChar).Value = dwData["BAGFARBE"].ToString();
            or1.Parameters.Add("BAGPOS", OracleType.NVarChar).Value = dwData["BAGPOS"].ToString();
            or1.Parameters.Add("BAGGART", OracleType.NVarChar).Value = dwData["BAGGART"].ToString();
            or1.Parameters.Add("BAGGVAR", OracleType.NVarChar).Value = dwData["BAGGVAR"].ToString();
            or1.Parameters.Add("BAGGFARBE", OracleType.NVarChar).Value = dwData["BAGGFARBE"].ToString();
            or1.Parameters.Add("BAGFDZ", OracleType.NVarChar).Value = dwData["BAGFDZ"].ToString();
            or1.Parameters.Add("BAGABF", OracleType.NVarChar).Value = dwData["BAGABF"].ToString();
            or1.Parameters.Add("BAGKGNET", OracleType.NVarChar).Value = dwData["BAGKGNET"].ToString();
            or1.Parameters.Add("BAGKGBRUT", OracleType.NVarChar).Value = dwData["BAGKGBRUT"].ToString();
            or1.Parameters.Add("BAGDISPOKZ", OracleType.NVarChar).Value = dwData["BAGDISPOKZ"].ToString();
            or1.Parameters.Add("BAGBEM", OracleType.NVarChar).Value = dwData["BAGBEM"].ToString();
            or1.Parameters.Add("BAGVARKZ", OracleType.NVarChar).Value = dwData["BAGVARKZ"].ToString();
            or1.Parameters.Add("BAGAUFMSL", OracleType.NVarChar).Value = dwData["BAGAUFMSL"].ToString();
            or1.Parameters.Add("BAGFILLER", OracleType.NVarChar).Value = dwData["BAGFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateBASTGAD(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE BASTGAD SET "
                + "BAGMANDANT=:BAGMANDANT,"
                + "BAGART=:BAGART,"
                + "BAGVAR=:BAGVAR,"
                + "BAGFARBE=:BAGFARBE,"
                + "BAGPOS=:BAGPOS,"
                + "BAGGART=:BAGGART,"
                + "BAGGVAR=:BAGGVAR,"
                + "BAGGFARBE=:BAGGFARBE,"
                + "BAGFDZ=:BAGFDZ,"
                + "BAGABF=:BAGABF,"
                + "BAGKGNET=:BAGKGNET,"
                + "BAGKGBRUT=:BAGKGBRUT,"
                + "BAGDISPOKZ=:BAGDISPOKZ,"
                + "BAGBEM=:BAGBEM,"
                + "BAGVARKZ=:BAGVARKZ,"
                + "BAGAUFMSL=:BAGAUFMSL,"
                + "BAGFILLER=:BAGFILLER "
                + " WHERE  "
                + "  BAGMANDANT=:BAGMANDANT AND BAGART=:BAGART  AND BAGVAR=:BAGVAR  AND BAGFARBE=:BAGFARBE  AND BAGPOS=:BAGPOS";
            or1.Parameters.Add("BAGMANDANT", OracleType.NVarChar).Value = dwData["BAGMANDANT"].ToString();
            or1.Parameters.Add("BAGART", OracleType.NVarChar).Value = dwData["BAGART"].ToString();
            or1.Parameters.Add("BAGVAR", OracleType.NVarChar).Value = dwData["BAGVAR"].ToString();
            or1.Parameters.Add("BAGFARBE", OracleType.NVarChar).Value = dwData["BAGFARBE"].ToString();
            or1.Parameters.Add("BAGPOS", OracleType.NVarChar).Value = dwData["BAGPOS"].ToString();
            or1.Parameters.Add("BAGGART", OracleType.NVarChar).Value = dwData["BAGGART"].ToString();
            or1.Parameters.Add("BAGGVAR", OracleType.NVarChar).Value = dwData["BAGGVAR"].ToString();
            or1.Parameters.Add("BAGGFARBE", OracleType.NVarChar).Value = dwData["BAGGFARBE"].ToString();
            or1.Parameters.Add("BAGFDZ", OracleType.NVarChar).Value = dwData["BAGFDZ"].ToString();
            or1.Parameters.Add("BAGABF", OracleType.NVarChar).Value = dwData["BAGABF"].ToString();
            or1.Parameters.Add("BAGKGNET", OracleType.NVarChar).Value = dwData["BAGKGNET"].ToString();
            or1.Parameters.Add("BAGKGBRUT", OracleType.NVarChar).Value = dwData["BAGKGBRUT"].ToString();
            or1.Parameters.Add("BAGDISPOKZ", OracleType.NVarChar).Value = dwData["BAGDISPOKZ"].ToString();
            or1.Parameters.Add("BAGBEM", OracleType.NVarChar).Value = dwData["BAGBEM"].ToString();
            or1.Parameters.Add("BAGVARKZ", OracleType.NVarChar).Value = dwData["BAGVARKZ"].ToString();
            or1.Parameters.Add("BAGAUFMSL", OracleType.NVarChar).Value = dwData["BAGAUFMSL"].ToString();
            or1.Parameters.Add("BAGFILLER", OracleType.NVarChar).Value = dwData["BAGFILLER"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region======C==============
        #endregion

        #region======D==============
        #endregion

        #region======E==============
        public void UpdateEKKOPF(DataRow dwData, int option = 1, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region===================
                    or1.CommandText = "UPDATE EKKOPF SET "
                        + "EKKMANDANT=:EKKMANDANT,"
                        + "EKKAUFKRS=:EKKAUFKRS,"
                        + "EKKAUFLFD=:EKKAUFLFD,"
                        + "EKKAENZL=:EKKAENZL,"
                        + "EKKAENB=:EKKAENB,"
                        + "EKKAEND=:EKKAEND,"
                        + "EKKNEUB=:EKKNEUB,"
                        + "EKKNEUD=:EKKNEUD,"
                        + "EKKAUFGRP=:EKKAUFGRP,"
                        + "EKKAUFART=:EKKAUFART,"
                        + "EKKARTGR=:EKKARTGR,"
                        + "EKKZEICH=:EKKZEICH,"
                        + "EKKAKKRED=:EKKAKKRED,"
                        + "EKKSACHB=:EKKSACHB,"
                        + "EKKRSTBEZ=:EKKRSTBEZ,"
                        + "EKKLIEFKOMP=:EKKLIEFKOMP,"
                        + "EKKLIEFNR=:EKKLIEFNR,"
                        + "EKKBADR=:EKKBADR,"
                        + "EKKLADR=:EKKLADR,"
                        + "EKKRADR=:EKKRADR,"
                        + "EKKKONDSL=:EKKKONDSL,"
                        + "EKKWAEHRSL=:EKKWAEHRSL,"
                        + "EKKPREISLST=:EKKPREISLST,"
                        + "EKKKNTRNRL=:EKKKNTRNRL,"
                        + "EKKKOKRS=:EKKKOKRS,"
                        + "EKKKOLFD=:EKKKOLFD,"
                        + "EKKBDAT=:EKKBDAT,"
                        + "EKKDATV=:EKKDATV,"
                        + "EKKDATB=:EKKDATB,"
                        + "EKKANLFRLNR=:EKKANLFRLNR,"
                        + "EKKADRZU=:EKKADRZU,"
                        + "EKKLO=:EKKLO,"
                        + "EKKLB=:EKKLB,"
                        + "EKKLP=:EKKLP,"
                        + "EKKLIZENZME=:EKKLIZENZME,"
                        + "EKKVERBRME=:EKKVERBRME,"
                        + "EKKME1=:EKKME1,"
                        + "EKKME2=:EKKME2,"
                        + "EKKME3=:EKKME3,"
                        + "EKKME4=:EKKME4,"
                        + "EKKME5=:EKKME5,"
                        + "EKKME6=:EKKME6,"
                        + "EKKME7=:EKKME7,"
                        + "EKKME8=:EKKME8,"
                        + "EKKME9=:EKKME9,"
                        + "EKKME10=:EKKME10,"
                        + "EKKWE1=:EKKWE1,"
                        + "EKKWE2=:EKKWE2,"
                        + "EKKWE3=:EKKWE3,"
                        + "EKKWE4=:EKKWE4,"
                        + "EKKWE5=:EKKWE5,"
                        + "EKKWE6=:EKKWE6,"
                        + "EKKWE7=:EKKWE7,"
                        + "EKKWE8=:EKKWE8,"
                        + "EKKWE9=:EKKWE9,"
                        + "EKKWE10=:EKKWE10,"
                        + "EKKGESSTA=:EKKGESSTA,"
                        + "EKKEINSTA=:EKKEINSTA,"
                        + "EKKBUCHKRS=:EKKBUCHKRS,"
                        + "EKKABLADEST=:EKKABLADEST,"
                        + "EKKATEXTSL=:EKKATEXTSL,"
                        + "EKKSTKZAEHL=:EKKSTKZAEHL,"
                        + "EKKRABART1=:EKKRABART1,"
                        + "EKKRABPROZ1=:EKKRABPROZ1,"
                        + "EKKRABART2=:EKKRABART2,"
                        + "EKKRABPROZ2=:EKKRABPROZ2,"
                        + "EKKRABART3=:EKKRABART3,"
                        + "EKKRABPROZ3=:EKKRABPROZ3,"
                        + "EKKRABART4=:EKKRABART4,"
                        + "EKKRABPROZ4=:EKKRABPROZ4,"
                        + "EKKRABART5=:EKKRABART5,"
                        + "EKKRABPROZ5=:EKKRABPROZ5,"
                        + "EKKZUAB1=:EKKZUAB1,"
                        + "EKKZUABPR1=:EKKZUABPR1,"
                        + "EKKZUABWE1=:EKKZUABWE1,"
                        + "EKKZUABME1=:EKKZUABME1,"
                        + "EKKABRKZ1=:EKKABRKZ1,"
                        + "EKKZUAB2=:EKKZUAB2,"
                        + "EKKZUABPR2=:EKKZUABPR2,"
                        + "EKKZUABWE2=:EKKZUABWE2,"
                        + "EKKZUABME2=:EKKZUABME2,"
                        + "EKKABRKZ2=:EKKABRKZ2,"
                        + "EKKZUAB3=:EKKZUAB3,"
                        + "EKKZUABPR3=:EKKZUABPR3,"
                        + "EKKZUABWE3=:EKKZUABWE3,"
                        + "EKKZUABME3=:EKKZUABME3,"
                        + "EKKABRKZ3=:EKKABRKZ3,"
                        + "EKKZUAB4=:EKKZUAB4,"
                        + "EKKZUABPR4=:EKKZUABPR4,"
                        + "EKKZUABWE4=:EKKZUABWE4,"
                        + "EKKZUABME4=:EKKZUABME4,"
                        + "EKKABRKZ4=:EKKABRKZ4,"
                        + "EKKZUAB5=:EKKZUAB5,"
                        + "EKKZUABPR5=:EKKZUABPR5,"
                        + "EKKZUABWE5=:EKKZUABWE5,"
                        + "EKKZUABME5=:EKKZUABME5,"
                        + "EKKABRKZ5=:EKKABRKZ5,"
                        + "EKKZUARTF=:EKKZUARTF,"
                        + "EKKZUABPRF=:EKKZUABPRF,"
                        + "EKKZUABWEF=:EKKZUABWEF,"
                        + "EKKMEEHF=:EKKMEEHF,"
                        + "EKKABRKZF=:EKKABRKZF,"
                        + "EKKZUARTV=:EKKZUARTV,"
                        + "EKKZUABPRV=:EKKZUABPRV,"
                        + "EKKZUABWEV=:EKKZUABWEV,"
                        + "EKKMEEHV=:EKKMEEHV,"
                        + "EKKABRKZV=:EKKABRKZV,"
                        + "EKKVERSICH=:EKKVERSICH,"
                        + "EKKEDIKZ=:EKKEDIKZ,"
                        + "EKKKOMMNR=:EKKKOMMNR,"
                        + "EKKEDIDAT=:EKKEDIDAT,"
                        + "EKKEDIZEIT=:EKKEDIZEIT,"
                        + "EKKABSAUFART=:EKKABSAUFART,"
                        + "EKKFILLER=:EKKFILLER "
                        + " WHERE  "
                        + "  EKKMANDANT=:EKKMANDANT AND EKKAUFKRS=:EKKAUFKRS AND EKKAUFLFD=:EKKAUFLFD ";

                    or1.Parameters.Add("EKKMANDANT", OracleType.NVarChar).Value = dwData["EKKMANDANT"].ToString();
                    or1.Parameters.Add("EKKAUFKRS", OracleType.NVarChar).Value = dwData["EKKAUFKRS"].ToString();
                    or1.Parameters.Add("EKKAUFLFD", OracleType.NVarChar).Value = dwData["EKKAUFLFD"].ToString();
                    or1.Parameters.Add("EKKAENZL", OracleType.NVarChar).Value = dwData["EKKAENZL"].ToString();
                    or1.Parameters.Add("EKKAENB", OracleType.NVarChar).Value = dwData["EKKAENB"].ToString();
                    or1.Parameters.Add("EKKAEND", OracleType.NVarChar).Value = dwData["EKKAEND"].ToString();
                    or1.Parameters.Add("EKKNEUB", OracleType.NVarChar).Value = dwData["EKKNEUB"].ToString();
                    or1.Parameters.Add("EKKNEUD", OracleType.NVarChar).Value = dwData["EKKNEUD"].ToString();
                    or1.Parameters.Add("EKKAUFGRP", OracleType.NVarChar).Value = dwData["EKKAUFGRP"].ToString();
                    or1.Parameters.Add("EKKAUFART", OracleType.NVarChar).Value = dwData["EKKAUFART"].ToString();
                    or1.Parameters.Add("EKKARTGR", OracleType.NVarChar).Value = dwData["EKKARTGR"].ToString();
                    or1.Parameters.Add("EKKZEICH", OracleType.NVarChar).Value = dwData["EKKZEICH"].ToString();
                    or1.Parameters.Add("EKKAKKRED", OracleType.NVarChar).Value = dwData["EKKAKKRED"].ToString();
                    or1.Parameters.Add("EKKSACHB", OracleType.NVarChar).Value = dwData["EKKSACHB"].ToString();
                    or1.Parameters.Add("EKKRSTBEZ", OracleType.NVarChar).Value = dwData["EKKRSTBEZ"].ToString();
                    or1.Parameters.Add("EKKLIEFKOMP", OracleType.NVarChar).Value = dwData["EKKLIEFKOMP"].ToString();
                    or1.Parameters.Add("EKKLIEFNR", OracleType.NVarChar).Value = dwData["EKKLIEFNR"].ToString();
                    or1.Parameters.Add("EKKBADR", OracleType.NVarChar).Value = dwData["EKKBADR"].ToString();
                    or1.Parameters.Add("EKKLADR", OracleType.NVarChar).Value = dwData["EKKLADR"].ToString();
                    or1.Parameters.Add("EKKRADR", OracleType.NVarChar).Value = dwData["EKKRADR"].ToString();
                    or1.Parameters.Add("EKKKONDSL", OracleType.NVarChar).Value = dwData["EKKKONDSL"].ToString();
                    or1.Parameters.Add("EKKWAEHRSL", OracleType.NVarChar).Value = dwData["EKKWAEHRSL"].ToString();
                    or1.Parameters.Add("EKKPREISLST", OracleType.NVarChar).Value = dwData["EKKPREISLST"].ToString();
                    or1.Parameters.Add("EKKKNTRNRL", OracleType.NVarChar).Value = dwData["EKKKNTRNRL"].ToString();
                    or1.Parameters.Add("EKKKOKRS", OracleType.NVarChar).Value = dwData["EKKKOKRS"].ToString();
                    or1.Parameters.Add("EKKKOLFD", OracleType.NVarChar).Value = dwData["EKKKOLFD"].ToString();
                    or1.Parameters.Add("EKKBDAT", OracleType.NVarChar).Value = dwData["EKKBDAT"].ToString();
                    or1.Parameters.Add("EKKDATV", OracleType.NVarChar).Value = dwData["EKKDATV"].ToString();
                    or1.Parameters.Add("EKKDATB", OracleType.NVarChar).Value = dwData["EKKDATB"].ToString();
                    or1.Parameters.Add("EKKANLFRLNR", OracleType.NVarChar).Value = dwData["EKKANLFRLNR"].ToString();
                    or1.Parameters.Add("EKKADRZU", OracleType.NVarChar).Value = dwData["EKKADRZU"].ToString();
                    or1.Parameters.Add("EKKLO", OracleType.NVarChar).Value = dwData["EKKLO"].ToString();
                    or1.Parameters.Add("EKKLB", OracleType.NVarChar).Value = dwData["EKKLB"].ToString();
                    or1.Parameters.Add("EKKLP", OracleType.NVarChar).Value = dwData["EKKLP"].ToString();
                    or1.Parameters.Add("EKKLIZENZME", OracleType.NVarChar).Value = dwData["EKKLIZENZME"].ToString();
                    or1.Parameters.Add("EKKVERBRME", OracleType.NVarChar).Value = dwData["EKKVERBRME"].ToString();
                    or1.Parameters.Add("EKKME1", OracleType.NVarChar).Value = dwData["EKKME1"].ToString();
                    or1.Parameters.Add("EKKME2", OracleType.NVarChar).Value = dwData["EKKME2"].ToString();
                    or1.Parameters.Add("EKKME3", OracleType.NVarChar).Value = dwData["EKKME3"].ToString();
                    or1.Parameters.Add("EKKME4", OracleType.NVarChar).Value = dwData["EKKME4"].ToString();
                    or1.Parameters.Add("EKKME5", OracleType.NVarChar).Value = dwData["EKKME5"].ToString();
                    or1.Parameters.Add("EKKME6", OracleType.NVarChar).Value = dwData["EKKME6"].ToString();
                    or1.Parameters.Add("EKKME7", OracleType.NVarChar).Value = dwData["EKKME7"].ToString();
                    or1.Parameters.Add("EKKME8", OracleType.NVarChar).Value = dwData["EKKME8"].ToString();
                    or1.Parameters.Add("EKKME9", OracleType.NVarChar).Value = dwData["EKKME9"].ToString();
                    or1.Parameters.Add("EKKME10", OracleType.NVarChar).Value = dwData["EKKME10"].ToString();
                    or1.Parameters.Add("EKKWE1", OracleType.NVarChar).Value = dwData["EKKWE1"].ToString();
                    or1.Parameters.Add("EKKWE2", OracleType.NVarChar).Value = dwData["EKKWE2"].ToString();
                    or1.Parameters.Add("EKKWE3", OracleType.NVarChar).Value = dwData["EKKWE3"].ToString();
                    or1.Parameters.Add("EKKWE4", OracleType.NVarChar).Value = dwData["EKKWE4"].ToString();
                    or1.Parameters.Add("EKKWE5", OracleType.NVarChar).Value = dwData["EKKWE5"].ToString();
                    or1.Parameters.Add("EKKWE6", OracleType.NVarChar).Value = dwData["EKKWE6"].ToString();
                    or1.Parameters.Add("EKKWE7", OracleType.NVarChar).Value = dwData["EKKWE7"].ToString();
                    or1.Parameters.Add("EKKWE8", OracleType.NVarChar).Value = dwData["EKKWE8"].ToString();
                    or1.Parameters.Add("EKKWE9", OracleType.NVarChar).Value = dwData["EKKWE9"].ToString();
                    or1.Parameters.Add("EKKWE10", OracleType.NVarChar).Value = dwData["EKKWE10"].ToString();
                    or1.Parameters.Add("EKKGESSTA", OracleType.NVarChar).Value = dwData["EKKGESSTA"].ToString();
                    or1.Parameters.Add("EKKEINSTA", OracleType.NVarChar).Value = dwData["EKKEINSTA"].ToString();
                    or1.Parameters.Add("EKKBUCHKRS", OracleType.NVarChar).Value = dwData["EKKBUCHKRS"].ToString();
                    or1.Parameters.Add("EKKABLADEST", OracleType.NVarChar).Value = dwData["EKKABLADEST"].ToString();
                    or1.Parameters.Add("EKKATEXTSL", OracleType.NVarChar).Value = dwData["EKKATEXTSL"].ToString();
                    or1.Parameters.Add("EKKSTKZAEHL", OracleType.NVarChar).Value = dwData["EKKSTKZAEHL"].ToString();
                    or1.Parameters.Add("EKKRABART1", OracleType.NVarChar).Value = dwData["EKKRABART1"].ToString();
                    or1.Parameters.Add("EKKRABPROZ1", OracleType.NVarChar).Value = dwData["EKKRABPROZ1"].ToString();
                    or1.Parameters.Add("EKKRABART2", OracleType.NVarChar).Value = dwData["EKKRABART2"].ToString();
                    or1.Parameters.Add("EKKRABPROZ2", OracleType.NVarChar).Value = dwData["EKKRABPROZ2"].ToString();
                    or1.Parameters.Add("EKKRABART3", OracleType.NVarChar).Value = dwData["EKKRABART3"].ToString();
                    or1.Parameters.Add("EKKRABPROZ3", OracleType.NVarChar).Value = dwData["EKKRABPROZ3"].ToString();
                    or1.Parameters.Add("EKKRABART4", OracleType.NVarChar).Value = dwData["EKKRABART4"].ToString();
                    or1.Parameters.Add("EKKRABPROZ4", OracleType.NVarChar).Value = dwData["EKKRABPROZ4"].ToString();
                    or1.Parameters.Add("EKKRABART5", OracleType.NVarChar).Value = dwData["EKKRABART5"].ToString();
                    or1.Parameters.Add("EKKRABPROZ5", OracleType.NVarChar).Value = dwData["EKKRABPROZ5"].ToString();
                    or1.Parameters.Add("EKKZUAB1", OracleType.NVarChar).Value = dwData["EKKZUAB1"].ToString();
                    or1.Parameters.Add("EKKZUABPR1", OracleType.NVarChar).Value = dwData["EKKZUABPR1"].ToString();
                    or1.Parameters.Add("EKKZUABWE1", OracleType.NVarChar).Value = dwData["EKKZUABWE1"].ToString();
                    or1.Parameters.Add("EKKZUABME1", OracleType.NVarChar).Value = dwData["EKKZUABME1"].ToString();
                    or1.Parameters.Add("EKKABRKZ1", OracleType.NVarChar).Value = dwData["EKKABRKZ1"].ToString();
                    or1.Parameters.Add("EKKZUAB2", OracleType.NVarChar).Value = dwData["EKKZUAB2"].ToString();
                    or1.Parameters.Add("EKKZUABPR2", OracleType.NVarChar).Value = dwData["EKKZUABPR2"].ToString();
                    or1.Parameters.Add("EKKZUABWE2", OracleType.NVarChar).Value = dwData["EKKZUABWE2"].ToString();
                    or1.Parameters.Add("EKKZUABME2", OracleType.NVarChar).Value = dwData["EKKZUABME2"].ToString();
                    or1.Parameters.Add("EKKABRKZ2", OracleType.NVarChar).Value = dwData["EKKABRKZ2"].ToString();
                    or1.Parameters.Add("EKKZUAB3", OracleType.NVarChar).Value = dwData["EKKZUAB3"].ToString();
                    or1.Parameters.Add("EKKZUABPR3", OracleType.NVarChar).Value = dwData["EKKZUABPR3"].ToString();
                    or1.Parameters.Add("EKKZUABWE3", OracleType.NVarChar).Value = dwData["EKKZUABWE3"].ToString();
                    or1.Parameters.Add("EKKZUABME3", OracleType.NVarChar).Value = dwData["EKKZUABME3"].ToString();
                    or1.Parameters.Add("EKKABRKZ3", OracleType.NVarChar).Value = dwData["EKKABRKZ3"].ToString();
                    or1.Parameters.Add("EKKZUAB4", OracleType.NVarChar).Value = dwData["EKKZUAB4"].ToString();
                    or1.Parameters.Add("EKKZUABPR4", OracleType.NVarChar).Value = dwData["EKKZUABPR4"].ToString();
                    or1.Parameters.Add("EKKZUABWE4", OracleType.NVarChar).Value = dwData["EKKZUABWE4"].ToString();
                    or1.Parameters.Add("EKKZUABME4", OracleType.NVarChar).Value = dwData["EKKZUABME4"].ToString();
                    or1.Parameters.Add("EKKABRKZ4", OracleType.NVarChar).Value = dwData["EKKABRKZ4"].ToString();
                    or1.Parameters.Add("EKKZUAB5", OracleType.NVarChar).Value = dwData["EKKZUAB5"].ToString();
                    or1.Parameters.Add("EKKZUABPR5", OracleType.NVarChar).Value = dwData["EKKZUABPR5"].ToString();
                    or1.Parameters.Add("EKKZUABWE5", OracleType.NVarChar).Value = dwData["EKKZUABWE5"].ToString();
                    or1.Parameters.Add("EKKZUABME5", OracleType.NVarChar).Value = dwData["EKKZUABME5"].ToString();
                    or1.Parameters.Add("EKKABRKZ5", OracleType.NVarChar).Value = dwData["EKKABRKZ5"].ToString();
                    or1.Parameters.Add("EKKZUARTF", OracleType.NVarChar).Value = dwData["EKKZUARTF"].ToString();
                    or1.Parameters.Add("EKKZUABPRF", OracleType.NVarChar).Value = dwData["EKKZUABPRF"].ToString();
                    or1.Parameters.Add("EKKZUABWEF", OracleType.NVarChar).Value = dwData["EKKZUABWEF"].ToString();
                    or1.Parameters.Add("EKKMEEHF", OracleType.NVarChar).Value = dwData["EKKMEEHF"].ToString();
                    or1.Parameters.Add("EKKABRKZF", OracleType.NVarChar).Value = dwData["EKKABRKZF"].ToString();
                    or1.Parameters.Add("EKKZUARTV", OracleType.NVarChar).Value = dwData["EKKZUARTV"].ToString();
                    or1.Parameters.Add("EKKZUABPRV", OracleType.NVarChar).Value = dwData["EKKZUABPRV"].ToString();
                    or1.Parameters.Add("EKKZUABWEV", OracleType.NVarChar).Value = dwData["EKKZUABWEV"].ToString();
                    or1.Parameters.Add("EKKMEEHV", OracleType.NVarChar).Value = dwData["EKKMEEHV"].ToString();
                    or1.Parameters.Add("EKKABRKZV", OracleType.NVarChar).Value = dwData["EKKABRKZV"].ToString();
                    or1.Parameters.Add("EKKVERSICH", OracleType.NVarChar).Value = dwData["EKKVERSICH"].ToString();
                    or1.Parameters.Add("EKKEDIKZ", OracleType.NVarChar).Value = dwData["EKKEDIKZ"].ToString();
                    or1.Parameters.Add("EKKKOMMNR", OracleType.NVarChar).Value = dwData["EKKKOMMNR"].ToString();
                    or1.Parameters.Add("EKKEDIDAT", OracleType.NVarChar).Value = dwData["EKKEDIDAT"].ToString();
                    or1.Parameters.Add("EKKEDIZEIT", OracleType.NVarChar).Value = dwData["EKKEDIZEIT"].ToString();
                    or1.Parameters.Add("EKKABSAUFART", OracleType.NVarChar).Value = dwData["EKKABSAUFART"].ToString();
                    or1.Parameters.Add("EKKFILLER", OracleType.NVarChar).Value = dwData["EKKFILLER"].ToString();
                    #endregion
                    break;
                case 2:
                    or1.CommandText = "UPDATE EKKOPF SET (EKKWE1,EKKME1)=(SELECT SUM(EKPWE1),SUM(EKPME1) FROM EKPOS"
                    + " WHERE EKPSA='PO' AND EKPAUFKRS=EKKAUFKRS AND EKPAUFLFD=EKKAUFLFD  AND  EKKMANDANT=:EKKMANDANT AND EKKAUFKRS=:EKKAUFKRS AND EKKAUFLFD=:EKKAUFLFD GROUP BY EKPAUFKRS,EKPAUFLFD)"
                    + " WHERE EXISTS (SELECT 1 FROM EKPOS WHERE EKPSA='PO' AND EKPAUFKRS=EKKAUFKRS AND EKPAUFLFD=EKKAUFLFD  AND  EKKMANDANT=:EKKMANDANT AND EKKAUFKRS=:EKKAUFKRS AND EKKAUFLFD=:EKKAUFLFD)"
                     ;
                    or1.Parameters.Add("EKKMANDANT", OracleType.NVarChar).Value = dwData["EKKMANDANT"].ToString();
                    or1.Parameters.Add("EKKAUFKRS", OracleType.NVarChar).Value = dwData["EKKAUFKRS"].ToString();
                    or1.Parameters.Add("EKKAUFLFD", OracleType.NVarChar).Value = dwData["EKKAUFLFD"].ToString();
                    break;
                case 21:
                    or1.CommandText = "UPDATE EKKOPF SET (EKKWE1,EKKWE3)= (SELECT SUM(EKPWE1),SUM(EKPWE3) FROM EKPOS "
                        + " WHERE EKPSA ='PO' AND EKPAUFKRS=:EKKAUFKRS AND EKPAUFLFD = :EKKAUFLFD)"
                        + " WHERE EKKAUFKRS = :EKKAUFKRS AND EKKAUFLFD =:EKKAUFLFD";
                    or1.Parameters.Add("EKKMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKKAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKKAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    break;
                /*UPDATE EKKOPF SET (EKKWE1,EKKWE3)= (SELECT SUM(EKPWE1),SUM(EKPWE3) FROM EKPOS 
WHERE EKPSA ='PO' AND EKPAUFKRS= 'FP' AND EKPAUFLFD = '000288')
WHERE EKKAUFKRS = 'FP' AND EKKAUFLFD = '000288'*/
            }
            Connect2Proxy(or1);
        }
        public void UpdateEKVRECH(DataRow dwData, int option = 1, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region===================
                    or1.CommandText = "UPDATE EKVRECH SET "
                        + "EKVMANDANT=:EKVMANDANT,"
                        + "EKVABLAGE=:EKVABLAGE,"
                        + "EKVBELEG=:EKVBELEG,"
                        + "EKVLIEFNR=:EKVLIEFNR,"
                        + "EKVRECHNR=:EKVRECHNR,"
                        + "EKVBETRAG=:EKVBETRAG,"
                        + "EKVWAEHRSL=:EKVWAEHRSL,"
                        + "EKVKST=:EKVKST,"
                        + "EKVEMPF=:EKVEMPF,"
                        + "EKVKIR=:EKVKIR,"
                        + "EKVABRECHKZ=:EKVABRECHKZ,"
                        + "EKVFILLER=:EKVFILLER,"
                        + "EKVAENDZL=:EKVAENDZL,"
                        + "EKVAENDBEN=:EKVAENDBEN,"
                        + "EKVAENDDAT=:EKVAENDDAT,"
                        + "EKVNEUBEN=:EKVNEUBEN,"
                        + "EKVNEUDAT=:EKVNEUDAT "
                        + " WHERE  "
                        + "  EKVMANDANT=:EKVMANDANT AND EKVABLAGE=:EKVABLAGE AND EKVBELEG=:EKVBELEG ";

                    or1.Parameters.Add("EKVMANDANT", OracleType.NVarChar).Value = dwData["EKVMANDANT"].ToString();
                    or1.Parameters.Add("EKVABLAGE", OracleType.NVarChar).Value = dwData["EKVABLAGE"].ToString();
                    or1.Parameters.Add("EKVBELEG", OracleType.NVarChar).Value = dwData["EKVBELEG"].ToString();
                    or1.Parameters.Add("EKVLIEFNR", OracleType.NVarChar).Value = dwData["EKVLIEFNR"].ToString();
                    or1.Parameters.Add("EKVRECHNR", OracleType.NVarChar).Value = dwData["EKVRECHNR"].ToString();
                    or1.Parameters.Add("EKVBETRAG", OracleType.NVarChar).Value = dwData["EKVBETRAG"].ToString();
                    or1.Parameters.Add("EKVWAEHRSL", OracleType.NVarChar).Value = dwData["EKVWAEHRSL"].ToString();
                    or1.Parameters.Add("EKVKST", OracleType.NVarChar).Value = dwData["EKVKST"].ToString();
                    or1.Parameters.Add("EKVEMPF", OracleType.NVarChar).Value = dwData["EKVEMPF"].ToString();
                    or1.Parameters.Add("EKVKIR", OracleType.NVarChar).Value = dwData["EKVKIR"].ToString();
                    or1.Parameters.Add("EKVABRECHKZ", OracleType.NVarChar).Value = dwData["EKVABRECHKZ"].ToString();
                    or1.Parameters.Add("EKVFILLER", OracleType.NVarChar).Value = dwData["EKVFILLER"].ToString();
                    or1.Parameters.Add("EKVAENDZL", OracleType.NVarChar).Value = dwData["EKVAENDZL"].ToString();
                    or1.Parameters.Add("EKVAENDBEN", OracleType.NVarChar).Value = dwData["EKVAENDBEN"].ToString();
                    or1.Parameters.Add("EKVAENDDAT", OracleType.NVarChar).Value = dwData["EKVAENDDAT"].ToString();
                    or1.Parameters.Add("EKVNEUBEN", OracleType.NVarChar).Value = dwData["EKVNEUBEN"].ToString();
                    or1.Parameters.Add("EKVNEUDAT", OracleType.NVarChar).Value = dwData["EKVNEUDAT"].ToString();
                    #endregion
                    break;
                case 2:

                    break;
                case 21:

                    break;

            }
            Connect2Proxy(or1);
        }
        public void UpdateEKPOS(DataRow dwData, int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region============Command==============
                    or1.CommandText = "UPDATE EKPOS SET "
                        + "EKPSA=:EKPSA,"
                        + "EKPMANDANT=:EKPMANDANT,"
                        + "EKPAUFKRS=:EKPAUFKRS,"
                        + "EKPAUFLFD=:EKPAUFLFD,"
                        + "EKPAUFPOS=:EKPAUFPOS,"
                        + "EKPAENDST=:EKPAENDST,"
                        + "EKPAENZL=:EKPAENZL,"
                        + "EKPAENB=:EKPAENB,"
                        + "EKPAEND=:EKPAEND,"
                        + "EKPNEUB=:EKPNEUB,"
                        + "EKPNEUD=:EKPNEUD,"
                        + "EKPAUFGRP=:EKPAUFGRP,"
                        + "EKPAUFART=:EKPAUFART,"
                        + "EKPARTGR=:EKPARTGR,"
                        + "EKPKUNDNR=:EKPKUNDNR,"
                        + "EKPWERK=:EKPWERK,"
                        + "EKPABT=:EKPABT,"
                        + "EKPWAKZ=:EKPWAKZ,"
                        + "EKPART=utl_raw.cast_to_raw(:EKPART),"
                        + "EKPVAR=utl_raw.cast_to_raw(:EKPVAR),"
                        + "EKPFARBE=utl_raw.cast_to_raw(:EKPFARBE),"
                        + "EKPDESS=:EKPDESS,"
                        + "EKPCOL=:EKPCOL,"
                        + "EKPBESCH=:EKPBESCH,"
                        + "EKPZUSTAND=:EKPZUSTAND,"
                        + "EKPGROE=:EKPGROE,"
                        + "EKPSCHLIGR=:EKPSCHLIGR,"
                        + "EKPSCHLINR=:EKPSCHLINR,"
                        + "EKPLSART=:EKPLSART,"
                        + "EKPLSVAR=:EKPLSVAR,"
                        + "EKPLSFB=:EKPLSFB,"
                        + "EKPLSDESS=:EKPLSDESS,"
                        + "EKPLSCOL=:EKPLSCOL,"
                        + "EKPLSBE=:EKPLSBE,"
                        + "EKPLSZUSTAND=:EKPLSZUSTAND,"
                        + "EKPLSGROE=:EKPLSGROE,"
                        + "EKPLSGRPBEZ=:EKPLSGRPBEZ,"
                        + "EKPLSARTBEZ=:EKPLSARTBEZ,"
                        + "EKPSTKLGV=:EKPSTKLGV,"
                        + "EKPSTKLGB=:EKPSTKLGB,"
                        + "EKPPRKZ=:EKPPRKZ,"
                        + "EKPPRUEF=:EKPPRUEF,"
                        + "EKPMATKOMPDR=:EKPMATKOMPDR,"
                        + "EKPPARTIE=:EKPPARTIE,"
                        + "EKPSPUL=:EKPSPUL,"
                        + "EKPSPULG=:EKPSPULG,"
                        + "EKPSPULM=:EKPSPULM,"
                        + "EKPVPEINH=:EKPVPEINH,"
                        + "EKPAM=:EKPAM,"
                        + "EKPZUSAM=:EKPZUSAM,"
                        + "EKPHUELSE=:EKPHUELSE,"
                        + "EKPKF=:EKPKF,"
                        + "EKPFDRES=:EKPFDRES,"
                        + "EKPWI=:EKPWI,"
                        + "EKPANZTKB=:EKPANZTKB,"
                        + "EKPLOSGR=:EKPLOSGR,"
                        + "EKPWIRKGEW=:EKPWIRKGEW,"
                        + "EKPVKUNDNR=:EKPVKUNDNR,"
                        + "EKPVWERK=:EKPVWERK,"
                        + "EKPVABT=:EKPVABT,"
                        + "EKPVART=utl_raw.cast_to_raw(:EKPVART),"
                        + "EKPVVAR=utl_raw.cast_to_raw(:EKPVVAR),"
                        + "EKPVFARBE=utl_raw.cast_to_raw(:EKPVFARBE),"
                        + "EKPEKUNDNR=:EKPEKUNDNR,"
                        + "EKPEWERK=:EKPEWERK,"
                        + "EKPEABT=:EKPEABT,"
                        + "EKPEART=:EKPEART,"
                        + "EKPEVAR=:EKPEVAR,"
                        + "EKPEFARBE=:EKPEFARBE,"
                        + "EKPEDESS=:EKPEDESS,"
                        + "EKPECOL=:EKPECOL,"
                        + "EKPEBESCH=:EKPEBESCH,"
                        + "EKPEZUSTAND=:EKPEZUSTAND,"
                        + "EKPEGROE=:EKPEGROE,"
                        + "EKPMINLIME=:EKPMINLIME,"
                        + "EKPMINLISP=:EKPMINLISP,"
                        + "EKPMEEH=:EKPMEEH,"
                        + "EKPMEEHGRP=:EKPMEEHGRP,"
                        + "EKPMEEHFKT=:EKPMEEHFKT,"
                        + "EKPME1=:EKPME1,"
                        + "EKPME2=:EKPME2,"
                        + "EKPME3=:EKPME3,"
                        + "EKPME4=:EKPME4,"
                        + "EKPME5=:EKPME5,"
                        + "EKPME6=:EKPME6,"
                        + "EKPME7=:EKPME7,"
                        + "EKPME8=:EKPME8,"
                        + "EKPME9=:EKPME9,"
                        + "EKPMEO=:EKPMEO,"
                        + "EKPMEU=:EKPMEU,"
                        + "EKPSMENGE=:EKPSMENGE,"
                        + "EKPWE1=:EKPWE1,"
                        + "EKPWE2=:EKPWE2,"
                        + "EKPWE3=:EKPWE3,"
                        + "EKPWE4=:EKPWE4,"
                        + "EKPWE5=:EKPWE5,"
                        + "EKPWE6=:EKPWE6,"
                        + "EKPWE7=:EKPWE7,"
                        + "EKPWE8=:EKPWE8,"
                        + "EKPWE9=:EKPWE9,"
                        + "EKPBDAT=:EKPBDAT,"
                        + "EKPLTERM=:EKPLTERM,"
                        + "EKPFIX=:EKPFIX,"
                        + "EKPLDAT=:EKPLDAT,"
                        + "EKPDRUDAT=:EKPDRUDAT,"
                        + "EKPWVTERM=:EKPWVTERM,"
                        + "EKPWUTERM=:EKPWUTERM,"
                        + "EKPVEINDAT=:EKPVEINDAT,"
                        + "EKPVEINDALT=:EKPVEINDALT,"
                        + "EKPLTERMBE=:EKPLTERMBE,"
                        + "EKPLTERMKZ=:EKPLTERMKZ,"
                        + "EKPVTERMIN=:EKPVTERMIN,"
                        + "EKPVTERMEIN=:EKPVTERMEIN,"
                        + "EKPDATVON=:EKPDATVON,"
                        + "EKPBEDAT=:EKPBEDAT,"
                        + "EKPTERMTAB=:EKPTERMTAB,"
                        + "EKPTERMIND=:EKPTERMIND,"
                        + "EKPSOLLDAT1=:EKPSOLLDAT1,"
                        + "EKPISTDAT1=:EKPISTDAT1,"
                        + "EKPSOLLDAT2=:EKPSOLLDAT2,"
                        + "EKPISTDAT2=:EKPISTDAT2,"
                        + "EKPSOLLDAT3=:EKPSOLLDAT3,"
                        + "EKPISTDAT3=:EKPISTDAT3,"
                        + "EKPSOLLDAT4=:EKPSOLLDAT4,"
                        + "EKPISTDAT4=:EKPISTDAT4,"
                        + "EKPSOLLDAT5=:EKPSOLLDAT5,"
                        + "EKPISTDAT5=:EKPISTDAT5,"
                        + "EKPSOLLDAT6=:EKPSOLLDAT6,"
                        + "EKPISTDAT6=:EKPISTDAT6,"
                        + "EKPLRUECK=:EKPLRUECK,"
                        + "EKPPRME=:EKPPRME,"
                        + "EKPPREH=:EKPPREH,"
                        + "EKPPREHGRP=:EKPPREHGRP,"
                        + "EKPPREHFKT=:EKPPREHFKT,"
                        + "EKPPRDR=:EKPPRDR,"
                        + "EKPPREISKZ=:EKPPREISKZ,"
                        + "EKPPREISLST=:EKPPREISLST,"
                        + "EKPRABATTKZ=:EKPRABATTKZ,"
                        + "EKPRABATT=:EKPRABATT,"
                        + "EKPRABART1=:EKPRABART1,"
                        + "EKPRABPROZ1=:EKPRABPROZ1,"
                        + "EKPRABWERT1=:EKPRABWERT1,"
                        + "EKPRABART2=:EKPRABART2,"
                        + "EKPRABPROZ2=:EKPRABPROZ2,"
                        + "EKPRABWERT2=:EKPRABWERT2,"
                        + "EKPRABART3=:EKPRABART3,"
                        + "EKPRABPROZ3=:EKPRABPROZ3,"
                        + "EKPRABWERT3=:EKPRABWERT3,"
                        + "EKPRABART4=:EKPRABART4,"
                        + "EKPRABPROZ4=:EKPRABPROZ4,"
                        + "EKPRABWERT4=:EKPRABWERT4,"
                        + "EKPRABART5=:EKPRABART5,"
                        + "EKPRABPROZ5=:EKPRABPROZ5,"
                        + "EKPRABWERT5=:EKPRABWERT5,"
                        + "EKPZUAB1=:EKPZUAB1,"
                        + "EKPZUABPR1=:EKPZUABPR1,"
                        + "EKPZUABWE1=:EKPZUABWE1,"
                        + "EKPZUABME1=:EKPZUABME1,"
                        + "EKPABRKZ1=:EKPABRKZ1,"
                        + "EKPZUAB2=:EKPZUAB2,"
                        + "EKPZUABPR2=:EKPZUABPR2,"
                        + "EKPZUABWE2=:EKPZUABWE2,"
                        + "EKPZUABME2=:EKPZUABME2,"
                        + "EKPABRKZ2=:EKPABRKZ2,"
                        + "EKPZUAB3=:EKPZUAB3,"
                        + "EKPZUABPR3=:EKPZUABPR3,"
                        + "EKPZUABWE3=:EKPZUABWE3,"
                        + "EKPZUABME3=:EKPZUABME3,"
                        + "EKPABRKZ3=:EKPABRKZ3,"
                        + "EKPZUAB4=:EKPZUAB4,"
                        + "EKPZUABPR4=:EKPZUABPR4,"
                        + "EKPZUABWE4=:EKPZUABWE4,"
                        + "EKPZUABME4=:EKPZUABME4,"
                        + "EKPABRKZ4=:EKPABRKZ4,"
                        + "EKPZUAB5=:EKPZUAB5,"
                        + "EKPZUABPR5=:EKPZUABPR5,"
                        + "EKPZUABWE5=:EKPZUABWE5,"
                        + "EKPZUABME5=:EKPZUABME5,"
                        + "EKPABRKZ5=:EKPABRKZ5,"
                        + "EKPZUABWERT=:EKPZUABWERT,"
                        + "EKPFIXBONP=:EKPFIXBONP,"
                        + "EKPFIXBONA=:EKPFIXBONA,"
                        + "EKPKALBONP=:EKPKALBONP,"
                        + "EKPKALBONA=:EKPKALBONA,"
                        + "EKPCOUPON=:EKPCOUPON,"
                        + "EKPKOKRS=:EKPKOKRS,"
                        + "EKPKOLFD=:EKPKOLFD,"
                        + "EKPKOPOS=:EKPKOPOS,"
                        + "EKPSTA=:EKPSTA,"
                        + "EKPSTAKZ=:EKPSTAKZ,"
                        + "EKPMAHNKZ=:EKPMAHNKZ,"
                        + "EKPMAHNKZA=:EKPMAHNKZA,"
                        + "EKPMAHNDAT=:EKPMAHNDAT,"
                        + "EKPKTOKL4=:EKPKTOKL4,"
                        + "EKPKSTKRS=:EKPKSTKRS,"
                        + "EKPKST=:EKPKST,"
                        + "EKPBUDGET=:EKPBUDGET,"
                        + "EKPINVAUF=:EKPINVAUF,"
                        + "EKPFAUFTYP=:EKPFAUFTYP,"
                        + "EKPFAUFKRS=:EKPFAUFKRS,"
                        + "EKPFAUFLFD=:EKPFAUFLFD,"
                        + "EKPFAUFPOS=:EKPFAUFPOS,"
                        + "EKPANRKR=:EKPANRKR,"
                        + "EKPALFDNR=:EKPALFDNR,"
                        + "EKPWAEHRSL=:EKPWAEHRSL,"
                        + "EKPKURS=:EKPKURS,"
                        + "EKPBETRAG=:EKPBETRAG,"
                        + "EKPHWAEHRSL=:EKPHWAEHRSL,"
                        + "EKPHEUROKURS=:EKPHEUROKURS,"
                        + "EKPHEUROKURSVK=:EKPHEUROKURSVK,"
                        + "EKPFEUROKURS=:EKPFEUROKURS,"
                        + "EKPFEUROKURSVK=:EKPFEUROKURSVK,"
                        + "EKPTERMNR=:EKPTERMNR,"
                        + "EKPFAELLIG=:EKPFAELLIG,"
                        + "EKPSICHER=:EKPSICHER,"
                        + "EKPSICHP=:EKPSICHP,"
                        + "EKPAKKRED=:EKPAKKRED,"
                        + "EKPUDATUM=:EKPUDATUM,"
                        + "EKPUAENZL=:EKPUAENZL,"
                        + "EKPUAENB=:EKPUAENB,"
                        + "EKPLIEFNR=:EKPLIEFNR,"
                        + "EKPKONDSL=:EKPKONDSL,"
                        + "EKPLO=:EKPLO,"
                        + "EKPLB=:EKPLB,"
                        + "EKPLPLATZ=:EKPLPLATZ,"
                        + "EKPLIEFERSCH=:EKPLIEFERSCH,"
                        + "EKPZOLLSL=:EKPZOLLSL,"
                        + "EKPIMEXSL=:EKPIMEXSL,"
                        + "EKPKNTRNRL=:EKPKNTRNRL,"
                        + "EKPLIEFKOMP=:EKPLIEFKOMP,"
                        + "EKPABRUF=:EKPABRUF,"
                        + "EKPSACHB=:EKPSACHB,"
                        + "EKPLEBKZ=:EKPLEBKZ,"
                        + "EKPSPERR=:EKPSPERR,"
                        + "EKPWIEBEST=:EKPWIEBEST,"
                        + "EKPBEKZ=:EKPBEKZ,"
                        + "EKPPOSTYP=:EKPPOSTYP,"
                        + "EKPGESSTA=:EKPGESSTA,"
                        + "EKPEINSTA=:EKPEINSTA,"
                        + "EKPZENSUR=:EKPZENSUR,"
                        + "EKPTEXTKON=:EKPTEXTKON,"
                        + "EKPMCODE=:EKPMCODE,"
                        + "EKPGENBENID1=:EKPGENBENID1,"
                        + "EKPGENDAT1=:EKPGENDAT1,"
                        + "EKPGENBENID2=:EKPGENBENID2,"
                        + "EKPGENDAT2=:EKPGENDAT2,"
                        + "EKPGENBENID3=:EKPGENBENID3,"
                        + "EKPGENDAT3=:EKPGENDAT3,"
                        + "EKPGENSTUFE=:EKPGENSTUFE,"
                        + "EKPGENOFFEN=:EKPGENOFFEN,"
                        + "EKPABLADEST=:EKPABLADEST,"
                        + "EKPVERBENID=:EKPVERBENID,"
                        + "EKPWEMAIL=:EKPWEMAIL,"
                        + "EKPURLAND=:EKPURLAND,"
                        + "EKPETIDR=:EKPETIDR,"
                        + "EKPCHAR=:EKPCHAR,"
                        + "EKPGNR=:EKPGNR,"
                        + "EKPZUARTF=:EKPZUARTF,"
                        + "EKPZUABPRF=:EKPZUABPRF,"
                        + "EKPZUABWEF=:EKPZUABWEF,"
                        + "EKPMEEHF=:EKPMEEHF,"
                        + "EKPABRKZF=:EKPABRKZF,"
                        + "EKPZUARTV=:EKPZUARTV,"
                        + "EKPZUABPRV=:EKPZUABPRV,"
                        + "EKPZUABWEV=:EKPZUABWEV,"
                        + "EKPMEEHV=:EKPMEEHV,"
                        + "EKPABRKZV=:EKPABRKZV,"
                        + "EKPVERSICH=:EKPVERSICH,"
                        + "EKPEDIKZ=:EKPEDIKZ,"
                        + "EKPKOMMNR=:EKPKOMMNR,"
                        + "EKPKOMMPOS=:EKPKOMMPOS,"
                        + "EKPEDIDAT=:EKPEDIDAT,"
                        + "EKPEDIZEIT=:EKPEDIZEIT,"
                        + "EKPURBESTPOS=:EKPURBESTPOS,"
                        + "EKPVERTRNRK=:EKPVERTRNRK,"
                        + "EKPVERTRPOSK=:EKPVERTRPOSK,"
                        + "EKPTERMSTA=:EKPTERMSTA,"
                        + "EKPKONTSTA=:EKPKONTSTA,"
                        + "EKPZUABSTA=:EKPZUABSTA,"
                        + "EKPEXMANDANT=:EKPEXMANDANT,"
                        + "EKPWVTERMVG=:EKPWVTERMVG,"
                        + "EKPFILLER14=:EKPFILLER14 "
                        + " WHERE  "
                        + "  EKPMANDANT=:EKPMANDANT AND EKPAUFKRS=:EKPAUFKRS AND EKPAUFLFD=:EKPAUFLFD AND EKPAUFPOS=:EKPAUFPOS";
                    #endregion
                    #region============Parameters==============
                    or1.Parameters.Add("EKPSA", OracleType.NVarChar).Value = dwData["EKPSA"].ToString();
                    or1.Parameters.Add("EKPMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKPAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKPAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    or1.Parameters.Add("EKPAUFPOS", OracleType.NVarChar).Value = dwData["EKPAUFPOS"].ToString();
                    or1.Parameters.Add("EKPAENDST", OracleType.NVarChar).Value = dwData["EKPAENDST"].ToString();
                    or1.Parameters.Add("EKPAENZL", OracleType.NVarChar).Value = dwData["EKPAENZL"].ToString();
                    or1.Parameters.Add("EKPAENB", OracleType.NVarChar).Value = dwData["EKPAENB"].ToString();
                    or1.Parameters.Add("EKPAEND", OracleType.NVarChar).Value = dwData["EKPAEND"].ToString();
                    or1.Parameters.Add("EKPNEUB", OracleType.NVarChar).Value = dwData["EKPNEUB"].ToString();
                    or1.Parameters.Add("EKPNEUD", OracleType.NVarChar).Value = dwData["EKPNEUD"].ToString();
                    or1.Parameters.Add("EKPAUFGRP", OracleType.NVarChar).Value = dwData["EKPAUFGRP"].ToString();
                    or1.Parameters.Add("EKPAUFART", OracleType.NVarChar).Value = dwData["EKPAUFART"].ToString();
                    or1.Parameters.Add("EKPARTGR", OracleType.NVarChar).Value = dwData["EKPARTGR"].ToString();
                    or1.Parameters.Add("EKPKUNDNR", OracleType.NVarChar).Value = dwData["EKPKUNDNR"].ToString();
                    or1.Parameters.Add("EKPWERK", OracleType.NVarChar).Value = dwData["EKPWERK"].ToString();
                    or1.Parameters.Add("EKPABT", OracleType.NVarChar).Value = dwData["EKPABT"].ToString();
                    or1.Parameters.Add("EKPWAKZ", OracleType.NVarChar).Value = dwData["EKPWAKZ"].ToString();
                    or1.Parameters.Add("EKPART", OracleType.NVarChar).Value = dwData["EKPART"].ToString();
                    or1.Parameters.Add("EKPVAR", OracleType.NVarChar).Value = dwData["EKPVAR"].ToString();
                    or1.Parameters.Add("EKPFARBE", OracleType.NVarChar).Value = dwData["EKPFARBE"].ToString();
                    or1.Parameters.Add("EKPDESS", OracleType.NVarChar).Value = dwData["EKPDESS"].ToString();
                    or1.Parameters.Add("EKPCOL", OracleType.NVarChar).Value = dwData["EKPCOL"].ToString();
                    or1.Parameters.Add("EKPBESCH", OracleType.NVarChar).Value = dwData["EKPBESCH"].ToString();
                    or1.Parameters.Add("EKPZUSTAND", OracleType.NVarChar).Value = dwData["EKPZUSTAND"].ToString();
                    or1.Parameters.Add("EKPGROE", OracleType.NVarChar).Value = dwData["EKPGROE"].ToString();
                    or1.Parameters.Add("EKPSCHLIGR", OracleType.NVarChar).Value = dwData["EKPSCHLIGR"].ToString();
                    or1.Parameters.Add("EKPSCHLINR", OracleType.NVarChar).Value = dwData["EKPSCHLINR"].ToString();
                    or1.Parameters.Add("EKPLSART", OracleType.NVarChar).Value = dwData["EKPLSART"].ToString();
                    or1.Parameters.Add("EKPLSVAR", OracleType.NVarChar).Value = dwData["EKPLSVAR"].ToString();
                    or1.Parameters.Add("EKPLSFB", OracleType.NVarChar).Value = dwData["EKPLSFB"].ToString();
                    or1.Parameters.Add("EKPLSDESS", OracleType.NVarChar).Value = dwData["EKPLSDESS"].ToString();
                    or1.Parameters.Add("EKPLSCOL", OracleType.NVarChar).Value = dwData["EKPLSCOL"].ToString();
                    or1.Parameters.Add("EKPLSBE", OracleType.NVarChar).Value = dwData["EKPLSBE"].ToString();
                    or1.Parameters.Add("EKPLSZUSTAND", OracleType.NVarChar).Value = dwData["EKPLSZUSTAND"].ToString();
                    or1.Parameters.Add("EKPLSGROE", OracleType.NVarChar).Value = dwData["EKPLSGROE"].ToString();
                    or1.Parameters.Add("EKPLSGRPBEZ", OracleType.NVarChar).Value = dwData["EKPLSGRPBEZ"].ToString();
                    or1.Parameters.Add("EKPLSARTBEZ", OracleType.NVarChar).Value = dwData["EKPLSARTBEZ"].ToString();
                    or1.Parameters.Add("EKPSTKLGV", OracleType.NVarChar).Value = dwData["EKPSTKLGV"].ToString();
                    or1.Parameters.Add("EKPSTKLGB", OracleType.NVarChar).Value = dwData["EKPSTKLGB"].ToString();
                    or1.Parameters.Add("EKPPRKZ", OracleType.NVarChar).Value = dwData["EKPPRKZ"].ToString();
                    or1.Parameters.Add("EKPPRUEF", OracleType.NVarChar).Value = dwData["EKPPRUEF"].ToString();
                    or1.Parameters.Add("EKPMATKOMPDR", OracleType.NVarChar).Value = dwData["EKPMATKOMPDR"].ToString();
                    or1.Parameters.Add("EKPPARTIE", OracleType.NVarChar).Value = dwData["EKPPARTIE"].ToString();
                    or1.Parameters.Add("EKPSPUL", OracleType.NVarChar).Value = dwData["EKPSPUL"].ToString();
                    or1.Parameters.Add("EKPSPULG", OracleType.NVarChar).Value = dwData["EKPSPULG"].ToString();
                    or1.Parameters.Add("EKPSPULM", OracleType.NVarChar).Value = dwData["EKPSPULM"].ToString();
                    or1.Parameters.Add("EKPVPEINH", OracleType.NVarChar).Value = dwData["EKPVPEINH"].ToString();
                    or1.Parameters.Add("EKPAM", OracleType.NVarChar).Value = dwData["EKPAM"].ToString();
                    or1.Parameters.Add("EKPZUSAM", OracleType.NVarChar).Value = dwData["EKPZUSAM"].ToString();
                    or1.Parameters.Add("EKPHUELSE", OracleType.NVarChar).Value = dwData["EKPHUELSE"].ToString();
                    or1.Parameters.Add("EKPKF", OracleType.NVarChar).Value = dwData["EKPKF"].ToString();
                    or1.Parameters.Add("EKPFDRES", OracleType.NVarChar).Value = dwData["EKPFDRES"].ToString();
                    or1.Parameters.Add("EKPWI", OracleType.NVarChar).Value = dwData["EKPWI"].ToString();
                    or1.Parameters.Add("EKPANZTKB", OracleType.NVarChar).Value = dwData["EKPANZTKB"].ToString();
                    or1.Parameters.Add("EKPLOSGR", OracleType.NVarChar).Value = dwData["EKPLOSGR"].ToString();
                    or1.Parameters.Add("EKPWIRKGEW", OracleType.NVarChar).Value = dwData["EKPWIRKGEW"].ToString();
                    or1.Parameters.Add("EKPVKUNDNR", OracleType.NVarChar).Value = dwData["EKPVKUNDNR"].ToString();
                    or1.Parameters.Add("EKPVWERK", OracleType.NVarChar).Value = dwData["EKPVWERK"].ToString();
                    or1.Parameters.Add("EKPVABT", OracleType.NVarChar).Value = dwData["EKPVABT"].ToString();
                    or1.Parameters.Add("EKPVART", OracleType.NVarChar).Value = dwData["EKPVART"].ToString();
                    or1.Parameters.Add("EKPVVAR", OracleType.NVarChar).Value = dwData["EKPVVAR"].ToString();
                    or1.Parameters.Add("EKPVFARBE", OracleType.NVarChar).Value = dwData["EKPVFARBE"].ToString();
                    or1.Parameters.Add("EKPEKUNDNR", OracleType.NVarChar).Value = dwData["EKPEKUNDNR"].ToString();
                    or1.Parameters.Add("EKPEWERK", OracleType.NVarChar).Value = dwData["EKPEWERK"].ToString();
                    or1.Parameters.Add("EKPEABT", OracleType.NVarChar).Value = dwData["EKPEABT"].ToString();
                    or1.Parameters.Add("EKPEART", OracleType.NVarChar).Value = dwData["EKPEART"].ToString();
                    or1.Parameters.Add("EKPEVAR", OracleType.NVarChar).Value = dwData["EKPEVAR"].ToString();
                    or1.Parameters.Add("EKPEFARBE", OracleType.NVarChar).Value = dwData["EKPEFARBE"].ToString();
                    or1.Parameters.Add("EKPEDESS", OracleType.NVarChar).Value = dwData["EKPEDESS"].ToString();
                    or1.Parameters.Add("EKPECOL", OracleType.NVarChar).Value = dwData["EKPECOL"].ToString();
                    or1.Parameters.Add("EKPEBESCH", OracleType.NVarChar).Value = dwData["EKPEBESCH"].ToString();
                    or1.Parameters.Add("EKPEZUSTAND", OracleType.NVarChar).Value = dwData["EKPEZUSTAND"].ToString();
                    or1.Parameters.Add("EKPEGROE", OracleType.NVarChar).Value = dwData["EKPEGROE"].ToString();
                    or1.Parameters.Add("EKPMINLIME", OracleType.NVarChar).Value = dwData["EKPMINLIME"].ToString();
                    or1.Parameters.Add("EKPMINLISP", OracleType.NVarChar).Value = dwData["EKPMINLISP"].ToString();
                    or1.Parameters.Add("EKPMEEH", OracleType.NVarChar).Value = dwData["EKPMEEH"].ToString();
                    or1.Parameters.Add("EKPMEEHGRP", OracleType.NVarChar).Value = dwData["EKPMEEHGRP"].ToString();
                    or1.Parameters.Add("EKPMEEHFKT", OracleType.NVarChar).Value = dwData["EKPMEEHFKT"].ToString();
                    or1.Parameters.Add("EKPME1", OracleType.NVarChar).Value = dwData["EKPME1"].ToString();
                    or1.Parameters.Add("EKPME2", OracleType.NVarChar).Value = dwData["EKPME2"].ToString();
                    or1.Parameters.Add("EKPME3", OracleType.NVarChar).Value = dwData["EKPME3"].ToString();
                    or1.Parameters.Add("EKPME4", OracleType.NVarChar).Value = dwData["EKPME4"].ToString();
                    or1.Parameters.Add("EKPME5", OracleType.NVarChar).Value = dwData["EKPME5"].ToString();
                    or1.Parameters.Add("EKPME6", OracleType.NVarChar).Value = dwData["EKPME6"].ToString();
                    or1.Parameters.Add("EKPME7", OracleType.NVarChar).Value = dwData["EKPME7"].ToString();
                    or1.Parameters.Add("EKPME8", OracleType.NVarChar).Value = dwData["EKPME8"].ToString();
                    or1.Parameters.Add("EKPME9", OracleType.NVarChar).Value = dwData["EKPME9"].ToString();
                    or1.Parameters.Add("EKPMEO", OracleType.NVarChar).Value = dwData["EKPMEO"].ToString();
                    or1.Parameters.Add("EKPMEU", OracleType.NVarChar).Value = dwData["EKPMEU"].ToString();
                    or1.Parameters.Add("EKPSMENGE", OracleType.NVarChar).Value = dwData["EKPSMENGE"].ToString();
                    or1.Parameters.Add("EKPWE1", OracleType.NVarChar).Value = dwData["EKPWE1"].ToString();
                    or1.Parameters.Add("EKPWE2", OracleType.NVarChar).Value = dwData["EKPWE2"].ToString();
                    or1.Parameters.Add("EKPWE3", OracleType.NVarChar).Value = dwData["EKPWE3"].ToString();
                    or1.Parameters.Add("EKPWE4", OracleType.NVarChar).Value = dwData["EKPWE4"].ToString();
                    or1.Parameters.Add("EKPWE5", OracleType.NVarChar).Value = dwData["EKPWE5"].ToString();
                    or1.Parameters.Add("EKPWE6", OracleType.NVarChar).Value = dwData["EKPWE6"].ToString();
                    or1.Parameters.Add("EKPWE7", OracleType.NVarChar).Value = dwData["EKPWE7"].ToString();
                    or1.Parameters.Add("EKPWE8", OracleType.NVarChar).Value = dwData["EKPWE8"].ToString();
                    or1.Parameters.Add("EKPWE9", OracleType.NVarChar).Value = dwData["EKPWE9"].ToString();
                    or1.Parameters.Add("EKPBDAT", OracleType.NVarChar).Value = dwData["EKPBDAT"].ToString();
                    or1.Parameters.Add("EKPLTERM", OracleType.NVarChar).Value = dwData["EKPLTERM"].ToString();
                    or1.Parameters.Add("EKPFIX", OracleType.NVarChar).Value = dwData["EKPFIX"].ToString();
                    or1.Parameters.Add("EKPLDAT", OracleType.NVarChar).Value = dwData["EKPLDAT"].ToString();
                    or1.Parameters.Add("EKPDRUDAT", OracleType.NVarChar).Value = dwData["EKPDRUDAT"].ToString();
                    or1.Parameters.Add("EKPWVTERM", OracleType.NVarChar).Value = dwData["EKPWVTERM"].ToString();
                    or1.Parameters.Add("EKPWUTERM", OracleType.NVarChar).Value = dwData["EKPWUTERM"].ToString();
                    or1.Parameters.Add("EKPVEINDAT", OracleType.NVarChar).Value = dwData["EKPVEINDAT"].ToString();
                    or1.Parameters.Add("EKPVEINDALT", OracleType.NVarChar).Value = dwData["EKPVEINDALT"].ToString();
                    or1.Parameters.Add("EKPLTERMBE", OracleType.NVarChar).Value = dwData["EKPLTERMBE"].ToString();
                    or1.Parameters.Add("EKPLTERMKZ", OracleType.NVarChar).Value = dwData["EKPLTERMKZ"].ToString();
                    or1.Parameters.Add("EKPVTERMIN", OracleType.NVarChar).Value = dwData["EKPVTERMIN"].ToString();
                    or1.Parameters.Add("EKPVTERMEIN", OracleType.NVarChar).Value = dwData["EKPVTERMEIN"].ToString();
                    or1.Parameters.Add("EKPDATVON", OracleType.NVarChar).Value = dwData["EKPDATVON"].ToString();
                    or1.Parameters.Add("EKPBEDAT", OracleType.NVarChar).Value = dwData["EKPBEDAT"].ToString();
                    or1.Parameters.Add("EKPTERMTAB", OracleType.NVarChar).Value = dwData["EKPTERMTAB"].ToString();
                    or1.Parameters.Add("EKPTERMIND", OracleType.NVarChar).Value = dwData["EKPTERMIND"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT1", OracleType.NVarChar).Value = dwData["EKPSOLLDAT1"].ToString();
                    or1.Parameters.Add("EKPISTDAT1", OracleType.NVarChar).Value = dwData["EKPISTDAT1"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT2", OracleType.NVarChar).Value = dwData["EKPSOLLDAT2"].ToString();
                    or1.Parameters.Add("EKPISTDAT2", OracleType.NVarChar).Value = dwData["EKPISTDAT2"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT3", OracleType.NVarChar).Value = dwData["EKPSOLLDAT3"].ToString();
                    or1.Parameters.Add("EKPISTDAT3", OracleType.NVarChar).Value = dwData["EKPISTDAT3"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT4", OracleType.NVarChar).Value = dwData["EKPSOLLDAT4"].ToString();
                    or1.Parameters.Add("EKPISTDAT4", OracleType.NVarChar).Value = dwData["EKPISTDAT4"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT5", OracleType.NVarChar).Value = dwData["EKPSOLLDAT5"].ToString();
                    or1.Parameters.Add("EKPISTDAT5", OracleType.NVarChar).Value = dwData["EKPISTDAT5"].ToString();
                    or1.Parameters.Add("EKPSOLLDAT6", OracleType.NVarChar).Value = dwData["EKPSOLLDAT6"].ToString();
                    or1.Parameters.Add("EKPISTDAT6", OracleType.NVarChar).Value = dwData["EKPISTDAT6"].ToString();
                    or1.Parameters.Add("EKPLRUECK", OracleType.NVarChar).Value = dwData["EKPLRUECK"].ToString();
                    or1.Parameters.Add("EKPPRME", OracleType.NVarChar).Value = dwData["EKPPRME"].ToString();
                    or1.Parameters.Add("EKPPREH", OracleType.NVarChar).Value = dwData["EKPPREH"].ToString();
                    or1.Parameters.Add("EKPPREHGRP", OracleType.NVarChar).Value = dwData["EKPPREHGRP"].ToString();
                    or1.Parameters.Add("EKPPREHFKT", OracleType.NVarChar).Value = dwData["EKPPREHFKT"].ToString();
                    or1.Parameters.Add("EKPPRDR", OracleType.NVarChar).Value = dwData["EKPPRDR"].ToString();
                    or1.Parameters.Add("EKPPREISKZ", OracleType.NVarChar).Value = dwData["EKPPREISKZ"].ToString();
                    or1.Parameters.Add("EKPPREISLST", OracleType.NVarChar).Value = dwData["EKPPREISLST"].ToString();
                    or1.Parameters.Add("EKPRABATTKZ", OracleType.NVarChar).Value = dwData["EKPRABATTKZ"].ToString();
                    or1.Parameters.Add("EKPRABATT", OracleType.NVarChar).Value = dwData["EKPRABATT"].ToString();
                    or1.Parameters.Add("EKPRABART1", OracleType.NVarChar).Value = dwData["EKPRABART1"].ToString();
                    or1.Parameters.Add("EKPRABPROZ1", OracleType.NVarChar).Value = dwData["EKPRABPROZ1"].ToString();
                    or1.Parameters.Add("EKPRABWERT1", OracleType.NVarChar).Value = dwData["EKPRABWERT1"].ToString();
                    or1.Parameters.Add("EKPRABART2", OracleType.NVarChar).Value = dwData["EKPRABART2"].ToString();
                    or1.Parameters.Add("EKPRABPROZ2", OracleType.NVarChar).Value = dwData["EKPRABPROZ2"].ToString();
                    or1.Parameters.Add("EKPRABWERT2", OracleType.NVarChar).Value = dwData["EKPRABWERT2"].ToString();
                    or1.Parameters.Add("EKPRABART3", OracleType.NVarChar).Value = dwData["EKPRABART3"].ToString();
                    or1.Parameters.Add("EKPRABPROZ3", OracleType.NVarChar).Value = dwData["EKPRABPROZ3"].ToString();
                    or1.Parameters.Add("EKPRABWERT3", OracleType.NVarChar).Value = dwData["EKPRABWERT3"].ToString();
                    or1.Parameters.Add("EKPRABART4", OracleType.NVarChar).Value = dwData["EKPRABART4"].ToString();
                    or1.Parameters.Add("EKPRABPROZ4", OracleType.NVarChar).Value = dwData["EKPRABPROZ4"].ToString();
                    or1.Parameters.Add("EKPRABWERT4", OracleType.NVarChar).Value = dwData["EKPRABWERT4"].ToString();
                    or1.Parameters.Add("EKPRABART5", OracleType.NVarChar).Value = dwData["EKPRABART5"].ToString();
                    or1.Parameters.Add("EKPRABPROZ5", OracleType.NVarChar).Value = dwData["EKPRABPROZ5"].ToString();
                    or1.Parameters.Add("EKPRABWERT5", OracleType.NVarChar).Value = dwData["EKPRABWERT5"].ToString();
                    or1.Parameters.Add("EKPZUAB1", OracleType.NVarChar).Value = dwData["EKPZUAB1"].ToString();
                    or1.Parameters.Add("EKPZUABPR1", OracleType.NVarChar).Value = dwData["EKPZUABPR1"].ToString();
                    or1.Parameters.Add("EKPZUABWE1", OracleType.NVarChar).Value = dwData["EKPZUABWE1"].ToString();
                    or1.Parameters.Add("EKPZUABME1", OracleType.NVarChar).Value = dwData["EKPZUABME1"].ToString();
                    or1.Parameters.Add("EKPABRKZ1", OracleType.NVarChar).Value = dwData["EKPABRKZ1"].ToString();
                    or1.Parameters.Add("EKPZUAB2", OracleType.NVarChar).Value = dwData["EKPZUAB2"].ToString();
                    or1.Parameters.Add("EKPZUABPR2", OracleType.NVarChar).Value = dwData["EKPZUABPR2"].ToString();
                    or1.Parameters.Add("EKPZUABWE2", OracleType.NVarChar).Value = dwData["EKPZUABWE2"].ToString();
                    or1.Parameters.Add("EKPZUABME2", OracleType.NVarChar).Value = dwData["EKPZUABME2"].ToString();
                    or1.Parameters.Add("EKPABRKZ2", OracleType.NVarChar).Value = dwData["EKPABRKZ2"].ToString();
                    or1.Parameters.Add("EKPZUAB3", OracleType.NVarChar).Value = dwData["EKPZUAB3"].ToString();
                    or1.Parameters.Add("EKPZUABPR3", OracleType.NVarChar).Value = dwData["EKPZUABPR3"].ToString();
                    or1.Parameters.Add("EKPZUABWE3", OracleType.NVarChar).Value = dwData["EKPZUABWE3"].ToString();
                    or1.Parameters.Add("EKPZUABME3", OracleType.NVarChar).Value = dwData["EKPZUABME3"].ToString();
                    or1.Parameters.Add("EKPABRKZ3", OracleType.NVarChar).Value = dwData["EKPABRKZ3"].ToString();
                    or1.Parameters.Add("EKPZUAB4", OracleType.NVarChar).Value = dwData["EKPZUAB4"].ToString();
                    or1.Parameters.Add("EKPZUABPR4", OracleType.NVarChar).Value = dwData["EKPZUABPR4"].ToString();
                    or1.Parameters.Add("EKPZUABWE4", OracleType.NVarChar).Value = dwData["EKPZUABWE4"].ToString();
                    or1.Parameters.Add("EKPZUABME4", OracleType.NVarChar).Value = dwData["EKPZUABME4"].ToString();
                    or1.Parameters.Add("EKPABRKZ4", OracleType.NVarChar).Value = dwData["EKPABRKZ4"].ToString();
                    or1.Parameters.Add("EKPZUAB5", OracleType.NVarChar).Value = dwData["EKPZUAB5"].ToString();
                    or1.Parameters.Add("EKPZUABPR5", OracleType.NVarChar).Value = dwData["EKPZUABPR5"].ToString();
                    or1.Parameters.Add("EKPZUABWE5", OracleType.NVarChar).Value = dwData["EKPZUABWE5"].ToString();
                    or1.Parameters.Add("EKPZUABME5", OracleType.NVarChar).Value = dwData["EKPZUABME5"].ToString();
                    or1.Parameters.Add("EKPABRKZ5", OracleType.NVarChar).Value = dwData["EKPABRKZ5"].ToString();
                    or1.Parameters.Add("EKPZUABWERT", OracleType.NVarChar).Value = dwData["EKPZUABWERT"].ToString();
                    or1.Parameters.Add("EKPFIXBONP", OracleType.NVarChar).Value = dwData["EKPFIXBONP"].ToString();
                    or1.Parameters.Add("EKPFIXBONA", OracleType.NVarChar).Value = dwData["EKPFIXBONA"].ToString();
                    or1.Parameters.Add("EKPKALBONP", OracleType.NVarChar).Value = dwData["EKPKALBONP"].ToString();
                    or1.Parameters.Add("EKPKALBONA", OracleType.NVarChar).Value = dwData["EKPKALBONA"].ToString();
                    or1.Parameters.Add("EKPCOUPON", OracleType.NVarChar).Value = dwData["EKPCOUPON"].ToString();
                    or1.Parameters.Add("EKPKOKRS", OracleType.NVarChar).Value = dwData["EKPKOKRS"].ToString();
                    or1.Parameters.Add("EKPKOLFD", OracleType.NVarChar).Value = dwData["EKPKOLFD"].ToString();
                    or1.Parameters.Add("EKPKOPOS", OracleType.NVarChar).Value = dwData["EKPKOPOS"].ToString();
                    or1.Parameters.Add("EKPSTA", OracleType.NVarChar).Value = dwData["EKPSTA"].ToString();
                    or1.Parameters.Add("EKPSTAKZ", OracleType.NVarChar).Value = dwData["EKPSTAKZ"].ToString();
                    or1.Parameters.Add("EKPMAHNKZ", OracleType.NVarChar).Value = dwData["EKPMAHNKZ"].ToString();
                    or1.Parameters.Add("EKPMAHNKZA", OracleType.NVarChar).Value = dwData["EKPMAHNKZA"].ToString();
                    or1.Parameters.Add("EKPMAHNDAT", OracleType.NVarChar).Value = dwData["EKPMAHNDAT"].ToString();
                    or1.Parameters.Add("EKPKTOKL4", OracleType.NVarChar).Value = dwData["EKPKTOKL4"].ToString();
                    or1.Parameters.Add("EKPKSTKRS", OracleType.NVarChar).Value = dwData["EKPKSTKRS"].ToString();
                    or1.Parameters.Add("EKPKST", OracleType.NVarChar).Value = dwData["EKPKST"].ToString();
                    or1.Parameters.Add("EKPBUDGET", OracleType.NVarChar).Value = dwData["EKPBUDGET"].ToString();
                    or1.Parameters.Add("EKPINVAUF", OracleType.NVarChar).Value = dwData["EKPINVAUF"].ToString();
                    or1.Parameters.Add("EKPFAUFTYP", OracleType.NVarChar).Value = dwData["EKPFAUFTYP"].ToString();
                    or1.Parameters.Add("EKPFAUFKRS", OracleType.NVarChar).Value = dwData["EKPFAUFKRS"].ToString();
                    or1.Parameters.Add("EKPFAUFLFD", OracleType.NVarChar).Value = dwData["EKPFAUFLFD"].ToString();
                    or1.Parameters.Add("EKPFAUFPOS", OracleType.NVarChar).Value = dwData["EKPFAUFPOS"].ToString();
                    or1.Parameters.Add("EKPANRKR", OracleType.NVarChar).Value = dwData["EKPANRKR"].ToString();
                    or1.Parameters.Add("EKPALFDNR", OracleType.NVarChar).Value = dwData["EKPALFDNR"].ToString();
                    or1.Parameters.Add("EKPWAEHRSL", OracleType.NVarChar).Value = dwData["EKPWAEHRSL"].ToString();
                    or1.Parameters.Add("EKPKURS", OracleType.NVarChar).Value = dwData["EKPKURS"].ToString();
                    or1.Parameters.Add("EKPBETRAG", OracleType.NVarChar).Value = dwData["EKPBETRAG"].ToString();
                    or1.Parameters.Add("EKPHWAEHRSL", OracleType.NVarChar).Value = dwData["EKPHWAEHRSL"].ToString();
                    or1.Parameters.Add("EKPHEUROKURS", OracleType.NVarChar).Value = dwData["EKPHEUROKURS"].ToString();
                    or1.Parameters.Add("EKPHEUROKURSVK", OracleType.NVarChar).Value = dwData["EKPHEUROKURSVK"].ToString();
                    or1.Parameters.Add("EKPFEUROKURS", OracleType.NVarChar).Value = dwData["EKPFEUROKURS"].ToString();
                    or1.Parameters.Add("EKPFEUROKURSVK", OracleType.NVarChar).Value = dwData["EKPFEUROKURSVK"].ToString();
                    or1.Parameters.Add("EKPTERMNR", OracleType.NVarChar).Value = dwData["EKPTERMNR"].ToString();
                    or1.Parameters.Add("EKPFAELLIG", OracleType.NVarChar).Value = dwData["EKPFAELLIG"].ToString();
                    or1.Parameters.Add("EKPSICHER", OracleType.NVarChar).Value = dwData["EKPSICHER"].ToString();
                    or1.Parameters.Add("EKPSICHP", OracleType.NVarChar).Value = dwData["EKPSICHP"].ToString();
                    or1.Parameters.Add("EKPAKKRED", OracleType.NVarChar).Value = dwData["EKPAKKRED"].ToString();
                    or1.Parameters.Add("EKPUDATUM", OracleType.NVarChar).Value = dwData["EKPUDATUM"].ToString();
                    or1.Parameters.Add("EKPUAENZL", OracleType.NVarChar).Value = dwData["EKPUAENZL"].ToString();
                    or1.Parameters.Add("EKPUAENB", OracleType.NVarChar).Value = dwData["EKPUAENB"].ToString();
                    or1.Parameters.Add("EKPLIEFNR", OracleType.NVarChar).Value = dwData["EKPLIEFNR"].ToString();
                    or1.Parameters.Add("EKPKONDSL", OracleType.NVarChar).Value = dwData["EKPKONDSL"].ToString();
                    or1.Parameters.Add("EKPLO", OracleType.NVarChar).Value = dwData["EKPLO"].ToString();
                    or1.Parameters.Add("EKPLB", OracleType.NVarChar).Value = dwData["EKPLB"].ToString();
                    or1.Parameters.Add("EKPLPLATZ", OracleType.NVarChar).Value = dwData["EKPLPLATZ"].ToString();
                    or1.Parameters.Add("EKPLIEFERSCH", OracleType.NVarChar).Value = dwData["EKPLIEFERSCH"].ToString();
                    or1.Parameters.Add("EKPZOLLSL", OracleType.NVarChar).Value = dwData["EKPZOLLSL"].ToString();
                    or1.Parameters.Add("EKPIMEXSL", OracleType.NVarChar).Value = dwData["EKPIMEXSL"].ToString();
                    or1.Parameters.Add("EKPKNTRNRL", OracleType.NVarChar).Value = dwData["EKPKNTRNRL"].ToString();
                    or1.Parameters.Add("EKPLIEFKOMP", OracleType.NVarChar).Value = dwData["EKPLIEFKOMP"].ToString();
                    or1.Parameters.Add("EKPABRUF", OracleType.NVarChar).Value = dwData["EKPABRUF"].ToString();
                    or1.Parameters.Add("EKPSACHB", OracleType.NVarChar).Value = dwData["EKPSACHB"].ToString();
                    or1.Parameters.Add("EKPLEBKZ", OracleType.NVarChar).Value = dwData["EKPLEBKZ"].ToString();
                    or1.Parameters.Add("EKPSPERR", OracleType.NVarChar).Value = dwData["EKPSPERR"].ToString();
                    or1.Parameters.Add("EKPWIEBEST", OracleType.NVarChar).Value = dwData["EKPWIEBEST"].ToString();
                    or1.Parameters.Add("EKPBEKZ", OracleType.NVarChar).Value = dwData["EKPBEKZ"].ToString();
                    or1.Parameters.Add("EKPPOSTYP", OracleType.NVarChar).Value = dwData["EKPPOSTYP"].ToString();
                    or1.Parameters.Add("EKPGESSTA", OracleType.NVarChar).Value = dwData["EKPGESSTA"].ToString();
                    or1.Parameters.Add("EKPEINSTA", OracleType.NVarChar).Value = dwData["EKPEINSTA"].ToString();
                    or1.Parameters.Add("EKPZENSUR", OracleType.NVarChar).Value = dwData["EKPZENSUR"].ToString();
                    or1.Parameters.Add("EKPTEXTKON", OracleType.NVarChar).Value = dwData["EKPTEXTKON"].ToString();
                    or1.Parameters.Add("EKPMCODE", OracleType.NVarChar).Value = dwData["EKPMCODE"].ToString();
                    or1.Parameters.Add("EKPGENBENID1", OracleType.NVarChar).Value = dwData["EKPGENBENID1"].ToString();
                    or1.Parameters.Add("EKPGENDAT1", OracleType.NVarChar).Value = dwData["EKPGENDAT1"].ToString();
                    or1.Parameters.Add("EKPGENBENID2", OracleType.NVarChar).Value = dwData["EKPGENBENID2"].ToString();
                    or1.Parameters.Add("EKPGENDAT2", OracleType.NVarChar).Value = dwData["EKPGENDAT2"].ToString();
                    or1.Parameters.Add("EKPGENBENID3", OracleType.NVarChar).Value = dwData["EKPGENBENID3"].ToString();
                    or1.Parameters.Add("EKPGENDAT3", OracleType.NVarChar).Value = dwData["EKPGENDAT3"].ToString();
                    or1.Parameters.Add("EKPGENSTUFE", OracleType.NVarChar).Value = dwData["EKPGENSTUFE"].ToString();
                    or1.Parameters.Add("EKPGENOFFEN", OracleType.NVarChar).Value = dwData["EKPGENOFFEN"].ToString();
                    or1.Parameters.Add("EKPABLADEST", OracleType.NVarChar).Value = dwData["EKPABLADEST"].ToString();
                    or1.Parameters.Add("EKPVERBENID", OracleType.NVarChar).Value = dwData["EKPVERBENID"].ToString();
                    or1.Parameters.Add("EKPWEMAIL", OracleType.NVarChar).Value = dwData["EKPWEMAIL"].ToString();
                    or1.Parameters.Add("EKPURLAND", OracleType.NVarChar).Value = dwData["EKPURLAND"].ToString();
                    or1.Parameters.Add("EKPETIDR", OracleType.NVarChar).Value = dwData["EKPETIDR"].ToString();
                    or1.Parameters.Add("EKPCHAR", OracleType.NVarChar).Value = dwData["EKPCHAR"].ToString();
                    or1.Parameters.Add("EKPGNR", OracleType.NVarChar).Value = dwData["EKPGNR"].ToString();
                    or1.Parameters.Add("EKPZUARTF", OracleType.NVarChar).Value = dwData["EKPZUARTF"].ToString();
                    or1.Parameters.Add("EKPZUABPRF", OracleType.NVarChar).Value = dwData["EKPZUABPRF"].ToString();
                    or1.Parameters.Add("EKPZUABWEF", OracleType.NVarChar).Value = dwData["EKPZUABWEF"].ToString();
                    or1.Parameters.Add("EKPMEEHF", OracleType.NVarChar).Value = dwData["EKPMEEHF"].ToString();
                    or1.Parameters.Add("EKPABRKZF", OracleType.NVarChar).Value = dwData["EKPABRKZF"].ToString();
                    or1.Parameters.Add("EKPZUARTV", OracleType.NVarChar).Value = dwData["EKPZUARTV"].ToString();
                    or1.Parameters.Add("EKPZUABPRV", OracleType.NVarChar).Value = dwData["EKPZUABPRV"].ToString();
                    or1.Parameters.Add("EKPZUABWEV", OracleType.NVarChar).Value = dwData["EKPZUABWEV"].ToString();
                    or1.Parameters.Add("EKPMEEHV", OracleType.NVarChar).Value = dwData["EKPMEEHV"].ToString();
                    or1.Parameters.Add("EKPABRKZV", OracleType.NVarChar).Value = dwData["EKPABRKZV"].ToString();
                    or1.Parameters.Add("EKPVERSICH", OracleType.NVarChar).Value = dwData["EKPVERSICH"].ToString();
                    or1.Parameters.Add("EKPEDIKZ", OracleType.NVarChar).Value = dwData["EKPEDIKZ"].ToString();
                    or1.Parameters.Add("EKPKOMMNR", OracleType.NVarChar).Value = dwData["EKPKOMMNR"].ToString();
                    or1.Parameters.Add("EKPKOMMPOS", OracleType.NVarChar).Value = dwData["EKPKOMMPOS"].ToString();
                    or1.Parameters.Add("EKPEDIDAT", OracleType.NVarChar).Value = dwData["EKPEDIDAT"].ToString();
                    or1.Parameters.Add("EKPEDIZEIT", OracleType.NVarChar).Value = dwData["EKPEDIZEIT"].ToString();
                    or1.Parameters.Add("EKPURBESTPOS", OracleType.NVarChar).Value = dwData["EKPURBESTPOS"].ToString();
                    or1.Parameters.Add("EKPVERTRNRK", OracleType.NVarChar).Value = dwData["EKPVERTRNRK"].ToString();
                    or1.Parameters.Add("EKPVERTRPOSK", OracleType.NVarChar).Value = dwData["EKPVERTRPOSK"].ToString();
                    or1.Parameters.Add("EKPTERMSTA", OracleType.NVarChar).Value = dwData["EKPTERMSTA"].ToString();
                    or1.Parameters.Add("EKPKONTSTA", OracleType.NVarChar).Value = dwData["EKPKONTSTA"].ToString();
                    or1.Parameters.Add("EKPZUABSTA", OracleType.NVarChar).Value = dwData["EKPZUABSTA"].ToString();
                    or1.Parameters.Add("EKPEXMANDANT", OracleType.NVarChar).Value = dwData["EKPEXMANDANT"].ToString();
                    or1.Parameters.Add("EKPWVTERMVG", OracleType.NVarChar).Value = dwData["EKPWVTERMVG"].ToString();
                    or1.Parameters.Add("EKPFILLER14", OracleType.NVarChar).Value = dwData["EKPFILLER14"].ToString();
                    #endregion
                    break;
                case 2:
                    or1.CommandText = "UPDATE EKPOS SET "
                        + "EKPME1=:EKPME1,"
                        + "EKPPRME=:EKPPRME,"
                        + "EKPBEKZ=:EKPBEKZ,"
                        + "EKPEART=:EKPEART,"
                        + "EKPEFARBE=:EKPEFARBE,"
                        + "EKPWE1=:EKPWE1"
                        + " WHERE  "
                        + "  EKPSA='PO' AND EKPMANDANT=:EKPMANDANT AND EKPAUFKRS=:EKPAUFKRS AND EKPAUFLFD=:EKPAUFLFD AND EKPAUFPOS=:EKPAUFPOS";
                    or1.Parameters.Add("EKPMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKPAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKPAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    or1.Parameters.Add("EKPAUFPOS", OracleType.NVarChar).Value = dwData["EKPAUFPOS"].ToString();
                    or1.Parameters.Add("EKPEART", OracleType.NVarChar).Value = dwData["EKPEART"].ToString();
                    or1.Parameters.Add("EKPEFARBE", OracleType.NVarChar).Value = dwData["EKPEFARBE"].ToString();
                    or1.Parameters.Add("EKPME1", OracleType.NVarChar).Value = dwData["EKPME1"].ToString();
                    or1.Parameters.Add("EKPWE1", OracleType.NVarChar).Value = dwData["EKPWE1"].ToString();
                    or1.Parameters.Add("EKPPRME", OracleType.NVarChar).Value = dwData["EKPPRME"].ToString();
                    or1.Parameters.Add("EKPBEKZ", OracleType.NVarChar).Value = dwData["EKPBEKZ"].ToString();
                    break;
                case 21:
                    or1.CommandText = "UPDATE EKPOS SET EKPWE1 =TRUNC(EKPME1*EKPPRME*0.001+EKPZUABWERT),EKPWE3 = TRUNC(EKPME3*EKPPRME*0.001+EKPME3/EKPME1*EKPZUABWERT)"
                        + "  EKPSA='PO' AND EKPMANDANT=:EKPMANDANT AND EKPAUFKRS=:EKPAUFKRS AND EKPAUFLFD=:EKPAUFLFD AND EKPAUFPOS=:EKPAUFPOS";
                    or1.Parameters.Add("EKPMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKPAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKPAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    or1.Parameters.Add("EKPAUFPOS", OracleType.NVarChar).Value = dwData["EKPAUFPOS"].ToString();
                    break;
                case 3:
                    or1.CommandText = "UPDATE EKPOS SET "
                        + "EKPBEKZ=:EKPBEKZ "
                        + " WHERE  "
                        + "  EKPSA='PO' AND EKPMANDANT=:EKPMANDANT AND EKPAUFKRS=:EKPAUFKRS AND EKPAUFLFD=:EKPAUFLFD AND EKPAUFPOS=:EKPAUFPOS";
                    or1.Parameters.Add("EKPMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKPAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKPAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    or1.Parameters.Add("EKPAUFPOS", OracleType.NVarChar).Value = dwData["EKPAUFPOS"].ToString();
                    or1.Parameters.Add("EKPBEKZ", OracleType.NVarChar).Value = dwData["EKPBEKZ"].ToString();
                    break;
                case 4:
                    or1.CommandText = "UPDATE EKPOS SET "
                        + " EKPKNTRNRL=:EKPKNTRNRL"
                        + " WHERE  "
                        + "  EKPSA='PO' AND EKPMANDANT=:EKPMANDANT AND EKPAUFKRS=:EKPAUFKRS AND EKPAUFLFD=:EKPAUFLFD AND EKPAUFPOS=:EKPAUFPOS";
                    or1.Parameters.Add("EKPMANDANT", OracleType.NVarChar).Value = dwData["EKPMANDANT"].ToString();
                    or1.Parameters.Add("EKPAUFKRS", OracleType.NVarChar).Value = dwData["EKPAUFKRS"].ToString();
                    or1.Parameters.Add("EKPAUFLFD", OracleType.NVarChar).Value = dwData["EKPAUFLFD"].ToString();
                    or1.Parameters.Add("EKPAUFPOS", OracleType.NVarChar).Value = dwData["EKPAUFPOS"].ToString();
                    or1.Parameters.Add("EKPKNTRNRL", OracleType.NVarChar).Value = dwData["EKPKNTRNRL"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        #endregion

        #region======F==============
        public void UpdateFDECK(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:

                    or1.CommandText = "UPDATE FDECK SET "
                        + "FDMANDANT=:FDMANDANT,"
                        + "FDSA=:FDSA,"
                        + "FDAUFKRS=:FDAUFKRS,"
                        + "FDAUFLFD=:FDAUFLFD,"
                        + "FDAUFPOS=:FDAUFPOS,"
                        + "FDTYP=:FDTYP,"
                        + "FDAFOLGE=:FDAFOLGE,"
                        + "FDSETPOS=:FDSETPOS,"
                        + "FDART=:FDART,"
                        + "FDVAR=:FDVAR,"
                        + "FDFARBE=:FDFARBE,"
                        + "FDGROE=:FDGROE,"
                        + "FDAUFM=:FDAUFM,"
                        + "FDVPEINH=:FDVPEINH,"
                        + "FDZS=:FDZS,"
                        + "FDDAT=:FDDAT,"
                        + "FDLO=:FDLO,"
                        + "FDLB=:FDLB,"
                        + "FDLP=:FDLP,"
                        + "FDAUFBKZ=:FDAUFBKZ,"
                        + "FDMENGE=:FDMENGE,"
                        + "FDZUGET=:FDZUGET,"
                        + "FDFREIG=:FDFREIG,"
                        + "FDVERBR=:FDVERBR,"
                        + "FDRESERV=:FDRESERV,"
                        + "FDKOMMISS=:FDKOMMISS,"
                        + "FDSETANZ=:FDSETANZ,"
                        + "FDERLKZ=:FDERLKZ,"
                        + "FDDISPOKZ=:FDDISPOKZ,"
                        + "FDABRKZ=:FDABRKZ,"
                        + "FDFILLER=:FDFILLER "
                        + " WHERE  "
                        + "  FDMANDANT=:FDMANDANT AND FDSA=:FDSA AND FDAUFKRS=:FDAUFKRS AND FDAUFLFD=:FDAUFLFD"
                        + " AND FDAUFPOS=:FDAUFPOS AND FDTYP=:FDTYP AND FDAFOLGE=:FDAFOLGE AND FDSETPOS=:FDSETPOS";
                    or1.Parameters.Add("FDMANDANT", OracleType.NVarChar).Value = dwData["FDMANDANT"].ToString();
                    or1.Parameters.Add("FDSA", OracleType.NVarChar).Value = dwData["FDSA"].ToString();
                    or1.Parameters.Add("FDAUFKRS", OracleType.NVarChar).Value = dwData["FDAUFKRS"].ToString();
                    or1.Parameters.Add("FDAUFLFD", OracleType.NVarChar).Value = dwData["FDAUFLFD"].ToString();
                    or1.Parameters.Add("FDAUFPOS", OracleType.NVarChar).Value = dwData["FDAUFPOS"].ToString();
                    or1.Parameters.Add("FDTYP", OracleType.NVarChar).Value = dwData["FDTYP"].ToString();
                    or1.Parameters.Add("FDAFOLGE", OracleType.NVarChar).Value = dwData["FDAFOLGE"].ToString();
                    or1.Parameters.Add("FDSETPOS", OracleType.NVarChar).Value = dwData["FDSETPOS"].ToString();
                    or1.Parameters.Add("FDART", OracleType.NVarChar).Value = dwData["FDART"].ToString();
                    or1.Parameters.Add("FDVAR", OracleType.NVarChar).Value = dwData["FDVAR"].ToString();
                    or1.Parameters.Add("FDFARBE", OracleType.NVarChar).Value = dwData["FDFARBE"].ToString();
                    or1.Parameters.Add("FDGROE", OracleType.NVarChar).Value = dwData["FDGROE"].ToString();
                    or1.Parameters.Add("FDAUFM", OracleType.NVarChar).Value = dwData["FDAUFM"].ToString();
                    or1.Parameters.Add("FDVPEINH", OracleType.NVarChar).Value = dwData["FDVPEINH"].ToString();
                    or1.Parameters.Add("FDZS", OracleType.NVarChar).Value = dwData["FDZS"].ToString();
                    or1.Parameters.Add("FDDAT", OracleType.NVarChar).Value = dwData["FDDAT"].ToString();
                    or1.Parameters.Add("FDLO", OracleType.NVarChar).Value = dwData["FDLO"].ToString();
                    or1.Parameters.Add("FDLB", OracleType.NVarChar).Value = dwData["FDLB"].ToString();
                    or1.Parameters.Add("FDLP", OracleType.NVarChar).Value = dwData["FDLP"].ToString();
                    or1.Parameters.Add("FDAUFBKZ", OracleType.NVarChar).Value = dwData["FDAUFBKZ"].ToString();
                    or1.Parameters.Add("FDMENGE", OracleType.NVarChar).Value = dwData["FDMENGE"].ToString();
                    or1.Parameters.Add("FDZUGET", OracleType.NVarChar).Value = dwData["FDZUGET"].ToString();
                    or1.Parameters.Add("FDFREIG", OracleType.NVarChar).Value = dwData["FDFREIG"].ToString();
                    or1.Parameters.Add("FDVERBR", OracleType.NVarChar).Value = dwData["FDVERBR"].ToString();
                    or1.Parameters.Add("FDRESERV", OracleType.NVarChar).Value = dwData["FDRESERV"].ToString();
                    or1.Parameters.Add("FDKOMMISS", OracleType.NVarChar).Value = dwData["FDKOMMISS"].ToString();
                    or1.Parameters.Add("FDSETANZ", OracleType.NVarChar).Value = dwData["FDSETANZ"].ToString();
                    or1.Parameters.Add("FDERLKZ", OracleType.NVarChar).Value = dwData["FDERLKZ"].ToString();
                    or1.Parameters.Add("FDDISPOKZ", OracleType.NVarChar).Value = dwData["FDDISPOKZ"].ToString();
                    or1.Parameters.Add("FDABRKZ", OracleType.NVarChar).Value = dwData["FDABRKZ"].ToString();
                    or1.Parameters.Add("FDFILLER", OracleType.NVarChar).Value = dwData["FDFILLER"].ToString();
                    break;
                case 2:

                    or1.CommandText = "UPDATE FDECK SET "
                        + "FDMENGE=:FDMENGE"
                        + " WHERE  "
                        + "  FDMANDANT=:FDMANDANT  AND FDAUFKRS=:FDAUFKRS AND FDAUFLFD=:FDAUFLFD"
                        + " AND FDAUFPOS=:FDAUFPOS AND FDART=:FDART AND FDVAR=:FDVAR AND FDFARBE=:FDFARBE AND FDGROE=:FDGROE ";
                    or1.Parameters.Add("FDMANDANT", OracleType.NVarChar).Value = dwData["FDMANDANT"].ToString();
                    or1.Parameters.Add("FDAUFKRS", OracleType.NVarChar).Value = dwData["FDAUFKRS"].ToString();
                    or1.Parameters.Add("FDAUFLFD", OracleType.NVarChar).Value = dwData["FDAUFLFD"].ToString();
                    or1.Parameters.Add("FDAUFPOS", OracleType.NVarChar).Value = dwData["FDAUFPOS"].ToString();

                    or1.Parameters.Add("FDART", OracleType.NVarChar).Value = dwData["FDART"].ToString();
                    or1.Parameters.Add("FDVAR", OracleType.NVarChar).Value = dwData["FDVAR"].ToString();
                    or1.Parameters.Add("FDFARBE", OracleType.NVarChar).Value = dwData["FDFARBE"].ToString();
                    or1.Parameters.Add("FDGROE", OracleType.NVarChar).Value = dwData["FDGROE"].ToString();
                    or1.Parameters.Add("FDMENGE", OracleType.NVarChar).Value = dwData["FDMENGE"].ToString();

                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateFSSTUELI(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    dwData["FSSAENB"] = "ITXAUTO ";
                    or1.CommandText = "UPDATE FSSTUELI SET "
                           + "FSSMANDANT=:FSSMANDANT,"
                           + "FSSART=:FSSART,"
                           + "FSSPOS=:FSSPOS,"
                           + "FSSAENZL=:FSSAENZL,"
                           + "FSSAENB=:FSSAENB,"
                           + "FSSAEND=:FSSAEND,"
                           + "FSSNEUB=:FSSNEUB,"
                           + "FSSNEUD=:FSSNEUD,"
                           + "FSSVAR=:FSSVAR,"
                           + "FSSFARBE=:FSSFARBE,"
                           + "FSSGROE=:FSSGROE,"
                           + "FSSAUFM=:FSSAUFM,"
                           + "FSSVERP=:FSSVERP,"
                           + "FSSKONTR=:FSSKONTR,"
                           + "FSSPOSTYP=:FSSPOSTYP,"
                           + "FSSFKUNDNR=:FSSFKUNDNR,"
                           + "FSSMATKZ=:FSSMATKZ,"
                           + "FSSKUNDNR=:FSSKUNDNR,"
                           + "FSSWERK=:FSSWERK,"
                           + "FSSABT=:FSSABT,"
                           + "FSSMART=:FSSMART,"
                           + "FSSMVAR=:FSSMVAR,"
                           + "FSSMFARBE=:FSSMFARBE,"
                           + "FSSDESS=:FSSDESS,"
                           + "FSSCOL=:FSSCOL,"
                           + "FSSBESCH=:FSSBESCH,"
                           + "FSSMGROE=:FSSMGROE,"
                           + "FSSMAUFM=:FSSMAUFM,"
                           + "FSSMVERP=:FSSMVERP,"
                           + "FSSVERBR=:FSSVERBR,"
                           + "FSSVBME=:FSSVBME,"
                           + "FSSVBGRP=:FSSVBGRP,"
                           + "FSSVBFKT=:FSSVBFKT,"
                           + "FSSVERL=:FSSVERL,"
                           + "FSSVBKZ=:FSSVBKZ,"
                           + "FSSDKZ=:FSSDKZ,"
                           + "FSSPSEUDO=:FSSPSEUDO,"
                           + "FSSLO=:FSSLO,"
                           + "FSSABRKZ=:FSSABRKZ,"
                           + "FSSAUFKZ=:FSSAUFKZ,"
                           + "FSSMODKZ=:FSSMODKZ,"
                           + "FSSZUSCHN=:FSSZUSCHN,"
                           + "FSSTEXT=:FSSTEXT,"
                           + "FSSREFMOD=:FSSREFMOD,"
                           + "FSSRMODPOS=:FSSRMODPOS,"
                           + "FSSREFART=:FSSREFART,"
                           + "FSSRARTPOS=:FSSRARTPOS,"
                           + "FSSSW1=:FSSSW1,"
                           + "FSSSW2=:FSSSW2,"
                           + "FSSSW3=:FSSSW3,"
                           + "FSSSW4=:FSSSW4,"
                           + "FSSSW5=:FSSSW5,"
                           + "FSSTVERBR1=:FSSTVERBR1,"
                           + "FSSTVERBR2=:FSSTVERBR2,"
                           + "FSSTVERBR3=:FSSTVERBR3,"
                           + "FSSTVERBR4=:FSSTVERBR4,"
                           + "FSSTVERBR5=:FSSTVERBR5,"
                           + "FSSTVERBR6=:FSSTVERBR6,"
                           + "FSSTVERBR7=:FSSTVERBR7,"
                           + "FSSTVERBR8=:FSSTVERBR8,"
                           + "FSSTVERBR9=:FSSTVERBR9,"
                           + "FSSTVERBR10=:FSSTVERBR10,"
                           + "FSSTVERBR11=:FSSTVERBR11,"
                           + "FSSTVERBR12=:FSSTVERBR12,"
                           + "FSSTVERBR13=:FSSTVERBR13,"
                           + "FSSTVERBR14=:FSSTVERBR14,"
                           + "FSSTVERBR15=:FSSTVERBR15,"
                           + "FSSTVERBR16=:FSSTVERBR16,"
                           + "FSSTVERBR17=:FSSTVERBR17,"
                           + "FSSTVERBR18=:FSSTVERBR18,"
                           + "FSSTVERBR19=:FSSTVERBR19,"
                           + "FSSTVERBR20=:FSSTVERBR20,"
                           + "FSSTVERBR21=:FSSTVERBR21,"
                           + "FSSTVERBR22=:FSSTVERBR22,"
                           + "FSSTVERBR23=:FSSTVERBR23,"
                           + "FSSTVERBR24=:FSSTVERBR24,"
                           + "FSSTVERBR25=:FSSTVERBR25,"
                           + "FSSTVERBR26=:FSSTVERBR26,"
                           + "FSSTVERBR27=:FSSTVERBR27,"
                           + "FSSTVERBR28=:FSSTVERBR28,"
                           + "FSSTVERBR29=:FSSTVERBR29,"
                           + "FSSTVERBR30=:FSSTVERBR30,"
                           + "FSSTVERBR31=:FSSTVERBR31,"
                           + "FSSTVERBR32=:FSSTVERBR32,"
                           + "FSSTVERBR33=:FSSTVERBR33,"
                           + "FSSTVERBR34=:FSSTVERBR34,"
                           + "FSSTVERBR35=:FSSTVERBR35,"
                           + "FSSTVERBR36=:FSSTVERBR36,"
                           + "FSSTVERBR37=:FSSTVERBR37,"
                           + "FSSTVERBR38=:FSSTVERBR38,"
                           + "FSSTVERBR39=:FSSTVERBR39,"
                           + "FSSTVERBR40=:FSSTVERBR40,"
                           + "FSSTVERBR41=:FSSTVERBR41,"
                           + "FSSTVERBR42=:FSSTVERBR42,"
                           + "FSSTVERBR43=:FSSTVERBR43,"
                           + "FSSTVERBR44=:FSSTVERBR44,"
                           + "FSSTVERBR45=:FSSTVERBR45,"
                           + "FSSTVERBR46=:FSSTVERBR46,"
                           + "FSSTVERBR47=:FSSTVERBR47,"
                           + "FSSTVERBR48=:FSSTVERBR48,"
                           + "FSSVKNPOS=:FSSVKNPOS,"
                           + "FSSPGLKZ=:FSSPGLKZ,"
                           + "FSSFILLER=:FSSFILLER "
                           + " WHERE  "
                           + "  FSSMANDANT=:FSSMANDANT AND FSSART=:FSSART AND FSSPOS=:FSSPOS ";
                    or1.Parameters.Add("FSSMANDANT", OracleType.NVarChar).Value = dwData["FSSMANDANT"].ToString();
                    or1.Parameters.Add("FSSART", OracleType.NVarChar).Value = dwData["FSSART"].ToString();
                    or1.Parameters.Add("FSSPOS", OracleType.NVarChar).Value = dwData["FSSPOS"].ToString();
                    or1.Parameters.Add("FSSAENZL", OracleType.NVarChar).Value = dwData["FSSAENZL"].ToString();
                    or1.Parameters.Add("FSSAENB", OracleType.NVarChar).Value = dwData["FSSAENB"].ToString();
                    or1.Parameters.Add("FSSAEND", OracleType.NVarChar).Value = dwData["FSSAEND"].ToString();
                    or1.Parameters.Add("FSSNEUB", OracleType.NVarChar).Value = dwData["FSSNEUB"].ToString();
                    or1.Parameters.Add("FSSNEUD", OracleType.NVarChar).Value = dwData["FSSNEUD"].ToString();
                    or1.Parameters.Add("FSSVAR", OracleType.NVarChar).Value = dwData["FSSVAR"].ToString();
                    or1.Parameters.Add("FSSFARBE", OracleType.NVarChar).Value = dwData["FSSFARBE"].ToString();
                    or1.Parameters.Add("FSSGROE", OracleType.NVarChar).Value = dwData["FSSGROE"].ToString();
                    or1.Parameters.Add("FSSAUFM", OracleType.NVarChar).Value = dwData["FSSAUFM"].ToString();
                    or1.Parameters.Add("FSSVERP", OracleType.NVarChar).Value = dwData["FSSVERP"].ToString();
                    or1.Parameters.Add("FSSKONTR", OracleType.NVarChar).Value = dwData["FSSKONTR"].ToString();
                    or1.Parameters.Add("FSSPOSTYP", OracleType.NVarChar).Value = dwData["FSSPOSTYP"].ToString();
                    or1.Parameters.Add("FSSFKUNDNR", OracleType.NVarChar).Value = dwData["FSSFKUNDNR"].ToString();
                    or1.Parameters.Add("FSSMATKZ", OracleType.NVarChar).Value = dwData["FSSMATKZ"].ToString();
                    or1.Parameters.Add("FSSKUNDNR", OracleType.NVarChar).Value = dwData["FSSKUNDNR"].ToString();
                    or1.Parameters.Add("FSSWERK", OracleType.NVarChar).Value = dwData["FSSWERK"].ToString();
                    or1.Parameters.Add("FSSABT", OracleType.NVarChar).Value = dwData["FSSABT"].ToString();
                    or1.Parameters.Add("FSSMART", OracleType.NVarChar).Value = dwData["FSSMART"].ToString();
                    or1.Parameters.Add("FSSMVAR", OracleType.NVarChar).Value = dwData["FSSMVAR"].ToString();
                    or1.Parameters.Add("FSSMFARBE", OracleType.NVarChar).Value = dwData["FSSMFARBE"].ToString();
                    or1.Parameters.Add("FSSDESS", OracleType.NVarChar).Value = dwData["FSSDESS"].ToString();
                    or1.Parameters.Add("FSSCOL", OracleType.NVarChar).Value = dwData["FSSCOL"].ToString();
                    or1.Parameters.Add("FSSBESCH", OracleType.NVarChar).Value = dwData["FSSBESCH"].ToString();
                    or1.Parameters.Add("FSSMGROE", OracleType.NVarChar).Value = dwData["FSSMGROE"].ToString();
                    or1.Parameters.Add("FSSMAUFM", OracleType.NVarChar).Value = dwData["FSSMAUFM"].ToString();
                    or1.Parameters.Add("FSSMVERP", OracleType.NVarChar).Value = dwData["FSSMVERP"].ToString();
                    or1.Parameters.Add("FSSVERBR", OracleType.NVarChar).Value = dwData["FSSVERBR"].ToString();
                    or1.Parameters.Add("FSSVBME", OracleType.NVarChar).Value = dwData["FSSVBME"].ToString();
                    or1.Parameters.Add("FSSVBGRP", OracleType.NVarChar).Value = dwData["FSSVBGRP"].ToString();
                    or1.Parameters.Add("FSSVBFKT", OracleType.NVarChar).Value = dwData["FSSVBFKT"].ToString();
                    or1.Parameters.Add("FSSVERL", OracleType.NVarChar).Value = dwData["FSSVERL"].ToString();
                    or1.Parameters.Add("FSSVBKZ", OracleType.NVarChar).Value = dwData["FSSVBKZ"].ToString();
                    or1.Parameters.Add("FSSDKZ", OracleType.NVarChar).Value = dwData["FSSDKZ"].ToString();
                    or1.Parameters.Add("FSSPSEUDO", OracleType.NVarChar).Value = dwData["FSSPSEUDO"].ToString();
                    or1.Parameters.Add("FSSLO", OracleType.NVarChar).Value = dwData["FSSLO"].ToString();
                    or1.Parameters.Add("FSSABRKZ", OracleType.NVarChar).Value = dwData["FSSABRKZ"].ToString();
                    or1.Parameters.Add("FSSAUFKZ", OracleType.NVarChar).Value = dwData["FSSAUFKZ"].ToString();
                    or1.Parameters.Add("FSSMODKZ", OracleType.NVarChar).Value = dwData["FSSMODKZ"].ToString();
                    or1.Parameters.Add("FSSZUSCHN", OracleType.NVarChar).Value = dwData["FSSZUSCHN"].ToString();
                    or1.Parameters.Add("FSSTEXT", OracleType.NVarChar).Value = dwData["FSSTEXT"].ToString();
                    or1.Parameters.Add("FSSREFMOD", OracleType.NVarChar).Value = dwData["FSSREFMOD"].ToString();
                    or1.Parameters.Add("FSSRMODPOS", OracleType.NVarChar).Value = dwData["FSSRMODPOS"].ToString();
                    or1.Parameters.Add("FSSREFART", OracleType.NVarChar).Value = dwData["FSSREFART"].ToString();
                    or1.Parameters.Add("FSSRARTPOS", OracleType.NVarChar).Value = dwData["FSSRARTPOS"].ToString();
                    or1.Parameters.Add("FSSSW1", OracleType.NVarChar).Value = dwData["FSSSW1"].ToString();
                    or1.Parameters.Add("FSSSW2", OracleType.NVarChar).Value = dwData["FSSSW2"].ToString();
                    or1.Parameters.Add("FSSSW3", OracleType.NVarChar).Value = dwData["FSSSW3"].ToString();
                    or1.Parameters.Add("FSSSW4", OracleType.NVarChar).Value = dwData["FSSSW4"].ToString();
                    or1.Parameters.Add("FSSSW5", OracleType.NVarChar).Value = dwData["FSSSW5"].ToString();
                    or1.Parameters.Add("FSSTVERBR1", OracleType.NVarChar).Value = dwData["FSSTVERBR1"].ToString();
                    or1.Parameters.Add("FSSTVERBR2", OracleType.NVarChar).Value = dwData["FSSTVERBR2"].ToString();
                    or1.Parameters.Add("FSSTVERBR3", OracleType.NVarChar).Value = dwData["FSSTVERBR3"].ToString();
                    or1.Parameters.Add("FSSTVERBR4", OracleType.NVarChar).Value = dwData["FSSTVERBR4"].ToString();
                    or1.Parameters.Add("FSSTVERBR5", OracleType.NVarChar).Value = dwData["FSSTVERBR5"].ToString();
                    or1.Parameters.Add("FSSTVERBR6", OracleType.NVarChar).Value = dwData["FSSTVERBR6"].ToString();
                    or1.Parameters.Add("FSSTVERBR7", OracleType.NVarChar).Value = dwData["FSSTVERBR7"].ToString();
                    or1.Parameters.Add("FSSTVERBR8", OracleType.NVarChar).Value = dwData["FSSTVERBR8"].ToString();
                    or1.Parameters.Add("FSSTVERBR9", OracleType.NVarChar).Value = dwData["FSSTVERBR9"].ToString();
                    or1.Parameters.Add("FSSTVERBR10", OracleType.NVarChar).Value = dwData["FSSTVERBR10"].ToString();
                    or1.Parameters.Add("FSSTVERBR11", OracleType.NVarChar).Value = dwData["FSSTVERBR11"].ToString();
                    or1.Parameters.Add("FSSTVERBR12", OracleType.NVarChar).Value = dwData["FSSTVERBR12"].ToString();
                    or1.Parameters.Add("FSSTVERBR13", OracleType.NVarChar).Value = dwData["FSSTVERBR13"].ToString();
                    or1.Parameters.Add("FSSTVERBR14", OracleType.NVarChar).Value = dwData["FSSTVERBR14"].ToString();
                    or1.Parameters.Add("FSSTVERBR15", OracleType.NVarChar).Value = dwData["FSSTVERBR15"].ToString();
                    or1.Parameters.Add("FSSTVERBR16", OracleType.NVarChar).Value = dwData["FSSTVERBR16"].ToString();
                    or1.Parameters.Add("FSSTVERBR17", OracleType.NVarChar).Value = dwData["FSSTVERBR17"].ToString();
                    or1.Parameters.Add("FSSTVERBR18", OracleType.NVarChar).Value = dwData["FSSTVERBR18"].ToString();
                    or1.Parameters.Add("FSSTVERBR19", OracleType.NVarChar).Value = dwData["FSSTVERBR19"].ToString();
                    or1.Parameters.Add("FSSTVERBR20", OracleType.NVarChar).Value = dwData["FSSTVERBR20"].ToString();
                    or1.Parameters.Add("FSSTVERBR21", OracleType.NVarChar).Value = dwData["FSSTVERBR21"].ToString();
                    or1.Parameters.Add("FSSTVERBR22", OracleType.NVarChar).Value = dwData["FSSTVERBR22"].ToString();
                    or1.Parameters.Add("FSSTVERBR23", OracleType.NVarChar).Value = dwData["FSSTVERBR23"].ToString();
                    or1.Parameters.Add("FSSTVERBR24", OracleType.NVarChar).Value = dwData["FSSTVERBR24"].ToString();
                    or1.Parameters.Add("FSSTVERBR25", OracleType.NVarChar).Value = dwData["FSSTVERBR25"].ToString();
                    or1.Parameters.Add("FSSTVERBR26", OracleType.NVarChar).Value = dwData["FSSTVERBR26"].ToString();
                    or1.Parameters.Add("FSSTVERBR27", OracleType.NVarChar).Value = dwData["FSSTVERBR27"].ToString();
                    or1.Parameters.Add("FSSTVERBR28", OracleType.NVarChar).Value = dwData["FSSTVERBR28"].ToString();
                    or1.Parameters.Add("FSSTVERBR29", OracleType.NVarChar).Value = dwData["FSSTVERBR29"].ToString();
                    or1.Parameters.Add("FSSTVERBR30", OracleType.NVarChar).Value = dwData["FSSTVERBR30"].ToString();
                    or1.Parameters.Add("FSSTVERBR31", OracleType.NVarChar).Value = dwData["FSSTVERBR31"].ToString();
                    or1.Parameters.Add("FSSTVERBR32", OracleType.NVarChar).Value = dwData["FSSTVERBR32"].ToString();
                    or1.Parameters.Add("FSSTVERBR33", OracleType.NVarChar).Value = dwData["FSSTVERBR33"].ToString();
                    or1.Parameters.Add("FSSTVERBR34", OracleType.NVarChar).Value = dwData["FSSTVERBR34"].ToString();
                    or1.Parameters.Add("FSSTVERBR35", OracleType.NVarChar).Value = dwData["FSSTVERBR35"].ToString();
                    or1.Parameters.Add("FSSTVERBR36", OracleType.NVarChar).Value = dwData["FSSTVERBR36"].ToString();
                    or1.Parameters.Add("FSSTVERBR37", OracleType.NVarChar).Value = dwData["FSSTVERBR37"].ToString();
                    or1.Parameters.Add("FSSTVERBR38", OracleType.NVarChar).Value = dwData["FSSTVERBR38"].ToString();
                    or1.Parameters.Add("FSSTVERBR39", OracleType.NVarChar).Value = dwData["FSSTVERBR39"].ToString();
                    or1.Parameters.Add("FSSTVERBR40", OracleType.NVarChar).Value = dwData["FSSTVERBR40"].ToString();
                    or1.Parameters.Add("FSSTVERBR41", OracleType.NVarChar).Value = dwData["FSSTVERBR41"].ToString();
                    or1.Parameters.Add("FSSTVERBR42", OracleType.NVarChar).Value = dwData["FSSTVERBR42"].ToString();
                    or1.Parameters.Add("FSSTVERBR43", OracleType.NVarChar).Value = dwData["FSSTVERBR43"].ToString();
                    or1.Parameters.Add("FSSTVERBR44", OracleType.NVarChar).Value = dwData["FSSTVERBR44"].ToString();
                    or1.Parameters.Add("FSSTVERBR45", OracleType.NVarChar).Value = dwData["FSSTVERBR45"].ToString();
                    or1.Parameters.Add("FSSTVERBR46", OracleType.NVarChar).Value = dwData["FSSTVERBR46"].ToString();
                    or1.Parameters.Add("FSSTVERBR47", OracleType.NVarChar).Value = dwData["FSSTVERBR47"].ToString();
                    or1.Parameters.Add("FSSTVERBR48", OracleType.NVarChar).Value = dwData["FSSTVERBR48"].ToString();
                    or1.Parameters.Add("FSSVKNPOS", OracleType.NVarChar).Value = dwData["FSSVKNPOS"].ToString();
                    or1.Parameters.Add("FSSPGLKZ", OracleType.NVarChar).Value = dwData["FSSPGLKZ"].ToString();
                    or1.Parameters.Add("FSSFILLER", OracleType.NVarChar).Value = dwData["FSSFILLER"].ToString();
                    break;
                case 2:
                    dwData["FSSAENB"] = "ITXAUTO ";
                    or1.CommandText = "UPDATE FSSTUELI SET "
                        + "FSSAENB=:FSSAENB,FSSVERBR=:FSSVERBR "
                        + " WHERE  "
                        + "  FSSMANDANT=:FSSMANDANT AND FSSART=:FSSART AND FSSPOS=:FSSPOS ";
                    or1.Parameters.Add("FSSMANDANT", OracleType.NVarChar).Value = dwData["FSSMANDANT"].ToString();
                    or1.Parameters.Add("FSSART", OracleType.NVarChar).Value = dwData["FSSART"].ToString();
                    or1.Parameters.Add("FSSPOS", OracleType.NVarChar).Value = dwData["FSSPOS"].ToString();
                    or1.Parameters.Add("FSSVERBR", OracleType.NVarChar).Value = dwData["FSSVERBR"].ToString();
                    or1.Parameters.Add("FSSAENB", OracleType.NVarChar).Value = dwData["FSSAENB"].ToString();
                    break;
                default:
                    break;
            }

            Connect2Proxy(or1);
        }
        public void UpdateFBST(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE FBST SET "
                     + "FBMANDANT=:FBMANDANT,"
                     + "FBART=:FBART,"
                     + "FBVAR=:FBVAR,"
                     + "FBFARBE=:FBFARBE,"
                     + "FBGROE=:FBGROE,"
                     + "FBAUFM=:FBAUFM,"
                     + "FBVPEINH=:FBVPEINH,"
                     + "FBANZVP=:FBANZVP,"
                     + "FBZS=:FBZS,"
                     + "FBCHAR=:FBCHAR,"
                     + "FBGNR=:FBGNR,"
                     + "FBGNRPOS=:FBGNRPOS,"
                     + "FBLO=:FBLO,"
                     + "FBLB=:FBLB,"
                     + "FBLP=:FBLP,"
                     + "FBME=:FBME,"
                     + "FBZUME=:FBZUME,"
                     + "FBAUFBKZ=:FBAUFBKZ,"
                     + "FBCHARL=:FBCHARL,"
                     + "FBCHARLZUS=:FBCHARLZUS,"
                     + "FBSPKZ=:FBSPKZ,"
                     + "FBSPSTA=:FBSPSTA,"
                     + "FBSPGRD=:FBSPGRD,"
                     + "FBFILLER=:FBFILLER,"
                     + "FBAENDZL=:FBAENDZL"
                     + " WHERE  "
                     + "  FBMANDANT=:FBMANDANT AND FBCHAR=:FBCHAR AND FBLO=:FBLO AND FBLB=:FBLB AND FBLP=:FBLP ";
                    or1.Parameters.Add("FBMANDANT", OracleType.NVarChar).Value = dwData["FBMANDANT"].ToString();
                    or1.Parameters.Add("FBART", OracleType.NVarChar).Value = dwData["FBART"].ToString();
                    or1.Parameters.Add("FBVAR", OracleType.NVarChar).Value = dwData["FBVAR"].ToString();
                    or1.Parameters.Add("FBFARBE", OracleType.NVarChar).Value = dwData["FBFARBE"].ToString();
                    or1.Parameters.Add("FBGROE", OracleType.NVarChar).Value = dwData["FBGROE"].ToString();
                    or1.Parameters.Add("FBAUFM", OracleType.NVarChar).Value = dwData["FBAUFM"].ToString();
                    or1.Parameters.Add("FBVPEINH", OracleType.NVarChar).Value = dwData["FBVPEINH"].ToString();
                    or1.Parameters.Add("FBANZVP", OracleType.NVarChar).Value = dwData["FBANZVP"].ToString();
                    or1.Parameters.Add("FBZS", OracleType.NVarChar).Value = dwData["FBZS"].ToString();
                    or1.Parameters.Add("FBCHAR", OracleType.NVarChar).Value = dwData["FBCHAR"].ToString();
                    or1.Parameters.Add("FBGNR", OracleType.NVarChar).Value = dwData["FBGNR"].ToString();
                    or1.Parameters.Add("FBGNRPOS", OracleType.NVarChar).Value = dwData["FBGNRPOS"].ToString();
                    or1.Parameters.Add("FBLO", OracleType.NVarChar).Value = dwData["FBLO"].ToString();
                    or1.Parameters.Add("FBLB", OracleType.NVarChar).Value = dwData["FBLB"].ToString();
                    or1.Parameters.Add("FBLP", OracleType.NVarChar).Value = dwData["FBLP"].ToString();
                    or1.Parameters.Add("FBME", OracleType.NVarChar).Value = dwData["FBME"].ToString();
                    or1.Parameters.Add("FBZUME", OracleType.NVarChar).Value = dwData["FBZUME"].ToString();
                    or1.Parameters.Add("FBAUFBKZ", OracleType.NVarChar).Value = dwData["FBAUFBKZ"].ToString();
                    or1.Parameters.Add("FBCHARL", OracleType.NVarChar).Value = dwData["FBCHARL"].ToString();
                    or1.Parameters.Add("FBCHARLZUS", OracleType.NVarChar).Value = dwData["FBCHARLZUS"].ToString();
                    or1.Parameters.Add("FBSPKZ", OracleType.NVarChar).Value = dwData["FBSPKZ"].ToString();
                    or1.Parameters.Add("FBSPSTA", OracleType.NVarChar).Value = dwData["FBSPSTA"].ToString();
                    or1.Parameters.Add("FBSPGRD", OracleType.NVarChar).Value = dwData["FBSPGRD"].ToString();
                    or1.Parameters.Add("FBFILLER", OracleType.NVarChar).Value = dwData["FBFILLER"].ToString();
                    or1.Parameters.Add("FBAENDZL", OracleType.NVarChar).Value = dwData["FBAENDZL"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateFGBST(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE FGBST SET "
+ "FGMANDANT=:FGMANDANT,"
+ "FGSA=:FGSA,"
+ "FGART=:FGART,"
+ "FGVAR=:FGVAR,"
+ "FGFARBE=:FGFARBE,"
+ "FGGROE=:FGGROE,"
+ "FGAUFM=:FGAUFM,"
+ "FGVPEINH=:FGVPEINH,"
+ "FGZS=:FGZS,"
+ "FGLO=:FGLO,"
+ "FGMJJ=:FGMJJ,"
+ "FGMM=:FGMM,"
+ "FGAKTKZ=:FGAKTKZ,"
+ "FGME01=:FGME01,"
+ "FGME10=:FGME10,"
+ "FGME11=:FGME11,"
+ "FGME12=:FGME12,"
+ "FGME13=:FGME13,"
+ "FGME19=:FGME19,"
+ "FGME20=:FGME20,"
+ "FGME21=:FGME21,"
+ "FGME24=:FGME24,"
+ "FGME31=:FGME31,"
+ "FGME32=:FGME32,"
+ "FGME33=:FGME33,"
+ "FGME34=:FGME34,"
+ "FGME35=:FGME35,"
+ "FGME36=:FGME36,"
+ "FGME42=:FGME42,"
+ "FGME43=:FGME43,"
+ "FGME46=:FGME46,"
+ "FGME47=:FGME47,"
+ "FGME52=:FGME52,"
+ "FGME53=:FGME53,"
+ "FGME55=:FGME55,"
+ "FGME56=:FGME56,"
+ "FGMEIV=:FGMEIV,"
+ "FGME76=:FGME76,"
+ "FGME79=:FGME79,"
+ "FGME80=:FGME80,"
+ "FGME88=:FGME88,"
+ "FGME89=:FGME89,"
+ "FGME90=:FGME90,"
+ "FGME91=:FGME91,"
+ "FGRE01=:FGRE01,"
+ "FGRE02=:FGRE02,"
+ "FGRE03=:FGRE03,"
+ "FGRE04=:FGRE04,"
+ "FGRE05=:FGRE05,"
+ "FGRE06=:FGRE06,"
+ "FGRE07=:FGRE07,"
+ "FGRE08=:FGRE08,"
+ "FGRE09=:FGRE09,"
+ "FGRE10=:FGRE10,"
+ "FGBSTKMA=:FGBSTKMA,"
+ "FGBSTKME=:FGBSTKME,"
+ "FGBSTVMA=:FGBSTVMA,"
+ "FGBSTVME=:FGBSTVME,"
+ "FGBSTA=:FGBSTA,"
+ "FGBSTAN=:FGBSTAN,"
+ "FGBSTMA=:FGBSTMA,"
+ "FGBSTME=:FGBSTME,"
+ "FGINDAT=:FGINDAT,"
+ "FGINBST=:FGINBST,"
+ "FGINALT=:FGINALT,"
+ "FGEKPRMA=:FGEKPRMA,"
+ "FGEKPRME=:FGEKPRME,"
+ "FGEKPRZU=:FGEKPRZU,"
+ "FGVRPR=:FGVRPR,"
+ "FGDLABST=:FGDLABST,"
+ "FGDLATAG=:FGDLATAG,"
+ "FGMINBST=:FGMINBST,"
+ "FGMAXBST=:FGMAXBST,"
+ "FGFERTKZ=:FGFERTKZ,"
+ "FGUEBER=:FGUEBER,"
+ "FGFILLER=:FGFILLER,"
+ "FGAENDZL=:FGAENDZL,"
+ "FGAENDBEN=:FGAENDBEN,"
+ "FGAENDDAT=:FGAENDDAT "
+ " WHERE FGMANDANT=:FGMANDANT AND FGMJJ=:FGMJJ AND FGMM=:FGMM AND FGART=:FGART AND FGVAR=:FGVAR AND FGFARBE=:FGFARBE AND FGGROE=:FGGROE AND FGLO=:FGLO";
                    or1.Parameters.Add("FGMANDANT", OracleType.NVarChar).Value = dwData["FGMANDANT"].ToString();
                    or1.Parameters.Add("FGSA", OracleType.NVarChar).Value = dwData["FGSA"].ToString();
                    or1.Parameters.Add("FGART", OracleType.NVarChar).Value = dwData["FGART"].ToString();
                    or1.Parameters.Add("FGVAR", OracleType.NVarChar).Value = dwData["FGVAR"].ToString();
                    or1.Parameters.Add("FGFARBE", OracleType.NVarChar).Value = dwData["FGFARBE"].ToString();
                    or1.Parameters.Add("FGGROE", OracleType.NVarChar).Value = dwData["FGGROE"].ToString();
                    or1.Parameters.Add("FGAUFM", OracleType.NVarChar).Value = dwData["FGAUFM"].ToString();
                    or1.Parameters.Add("FGVPEINH", OracleType.NVarChar).Value = dwData["FGVPEINH"].ToString();
                    or1.Parameters.Add("FGZS", OracleType.NVarChar).Value = dwData["FGZS"].ToString();
                    or1.Parameters.Add("FGLO", OracleType.NVarChar).Value = dwData["FGLO"].ToString();
                    or1.Parameters.Add("FGMJJ", OracleType.NVarChar).Value = dwData["FGMJJ"].ToString();
                    or1.Parameters.Add("FGMM", OracleType.NVarChar).Value = dwData["FGMM"].ToString();
                    or1.Parameters.Add("FGAKTKZ", OracleType.NVarChar).Value = dwData["FGAKTKZ"].ToString();
                    or1.Parameters.Add("FGME01", OracleType.NVarChar).Value = dwData["FGME01"].ToString();
                    or1.Parameters.Add("FGME10", OracleType.NVarChar).Value = dwData["FGME10"].ToString();
                    or1.Parameters.Add("FGME11", OracleType.NVarChar).Value = dwData["FGME11"].ToString();
                    or1.Parameters.Add("FGME12", OracleType.NVarChar).Value = dwData["FGME12"].ToString();
                    or1.Parameters.Add("FGME13", OracleType.NVarChar).Value = dwData["FGME13"].ToString();
                    or1.Parameters.Add("FGME19", OracleType.NVarChar).Value = dwData["FGME19"].ToString();
                    or1.Parameters.Add("FGME20", OracleType.NVarChar).Value = dwData["FGME20"].ToString();
                    or1.Parameters.Add("FGME21", OracleType.NVarChar).Value = dwData["FGME21"].ToString();
                    or1.Parameters.Add("FGME24", OracleType.NVarChar).Value = dwData["FGME24"].ToString();
                    or1.Parameters.Add("FGME31", OracleType.NVarChar).Value = dwData["FGME31"].ToString();
                    or1.Parameters.Add("FGME32", OracleType.NVarChar).Value = dwData["FGME32"].ToString();
                    or1.Parameters.Add("FGME33", OracleType.NVarChar).Value = dwData["FGME33"].ToString();
                    or1.Parameters.Add("FGME34", OracleType.NVarChar).Value = dwData["FGME34"].ToString();
                    or1.Parameters.Add("FGME35", OracleType.NVarChar).Value = dwData["FGME35"].ToString();
                    or1.Parameters.Add("FGME36", OracleType.NVarChar).Value = dwData["FGME36"].ToString();
                    or1.Parameters.Add("FGME42", OracleType.NVarChar).Value = dwData["FGME42"].ToString();
                    or1.Parameters.Add("FGME43", OracleType.NVarChar).Value = dwData["FGME43"].ToString();
                    or1.Parameters.Add("FGME46", OracleType.NVarChar).Value = dwData["FGME46"].ToString();
                    or1.Parameters.Add("FGME47", OracleType.NVarChar).Value = dwData["FGME47"].ToString();
                    or1.Parameters.Add("FGME52", OracleType.NVarChar).Value = dwData["FGME52"].ToString();
                    or1.Parameters.Add("FGME53", OracleType.NVarChar).Value = dwData["FGME53"].ToString();
                    or1.Parameters.Add("FGME55", OracleType.NVarChar).Value = dwData["FGME55"].ToString();
                    or1.Parameters.Add("FGME56", OracleType.NVarChar).Value = dwData["FGME56"].ToString();
                    or1.Parameters.Add("FGMEIV", OracleType.NVarChar).Value = dwData["FGMEIV"].ToString();
                    or1.Parameters.Add("FGME76", OracleType.NVarChar).Value = dwData["FGME76"].ToString();
                    or1.Parameters.Add("FGME79", OracleType.NVarChar).Value = dwData["FGME79"].ToString();
                    or1.Parameters.Add("FGME80", OracleType.NVarChar).Value = dwData["FGME80"].ToString();
                    or1.Parameters.Add("FGME88", OracleType.NVarChar).Value = dwData["FGME88"].ToString();
                    or1.Parameters.Add("FGME89", OracleType.NVarChar).Value = dwData["FGME89"].ToString();
                    or1.Parameters.Add("FGME90", OracleType.NVarChar).Value = dwData["FGME90"].ToString();
                    or1.Parameters.Add("FGME91", OracleType.NVarChar).Value = dwData["FGME91"].ToString();
                    or1.Parameters.Add("FGRE01", OracleType.NVarChar).Value = dwData["FGRE01"].ToString();
                    or1.Parameters.Add("FGRE02", OracleType.NVarChar).Value = dwData["FGRE02"].ToString();
                    or1.Parameters.Add("FGRE03", OracleType.NVarChar).Value = dwData["FGRE03"].ToString();
                    or1.Parameters.Add("FGRE04", OracleType.NVarChar).Value = dwData["FGRE04"].ToString();
                    or1.Parameters.Add("FGRE05", OracleType.NVarChar).Value = dwData["FGRE05"].ToString();
                    or1.Parameters.Add("FGRE06", OracleType.NVarChar).Value = dwData["FGRE06"].ToString();
                    or1.Parameters.Add("FGRE07", OracleType.NVarChar).Value = dwData["FGRE07"].ToString();
                    or1.Parameters.Add("FGRE08", OracleType.NVarChar).Value = dwData["FGRE08"].ToString();
                    or1.Parameters.Add("FGRE09", OracleType.NVarChar).Value = dwData["FGRE09"].ToString();
                    or1.Parameters.Add("FGRE10", OracleType.NVarChar).Value = dwData["FGRE10"].ToString();
                    or1.Parameters.Add("FGBSTKMA", OracleType.NVarChar).Value = dwData["FGBSTKMA"].ToString();
                    or1.Parameters.Add("FGBSTKME", OracleType.NVarChar).Value = dwData["FGBSTKME"].ToString();
                    or1.Parameters.Add("FGBSTVMA", OracleType.NVarChar).Value = dwData["FGBSTVMA"].ToString();
                    or1.Parameters.Add("FGBSTVME", OracleType.NVarChar).Value = dwData["FGBSTVME"].ToString();
                    or1.Parameters.Add("FGBSTA", OracleType.NVarChar).Value = dwData["FGBSTA"].ToString();
                    or1.Parameters.Add("FGBSTAN", OracleType.NVarChar).Value = dwData["FGBSTAN"].ToString();
                    or1.Parameters.Add("FGBSTMA", OracleType.NVarChar).Value = dwData["FGBSTMA"].ToString();
                    or1.Parameters.Add("FGBSTME", OracleType.NVarChar).Value = dwData["FGBSTME"].ToString();
                    or1.Parameters.Add("FGINDAT", OracleType.NVarChar).Value = dwData["FGINDAT"].ToString();
                    or1.Parameters.Add("FGINBST", OracleType.NVarChar).Value = dwData["FGINBST"].ToString();
                    or1.Parameters.Add("FGINALT", OracleType.NVarChar).Value = dwData["FGINALT"].ToString();
                    or1.Parameters.Add("FGEKPRMA", OracleType.NVarChar).Value = dwData["FGEKPRMA"].ToString();
                    or1.Parameters.Add("FGEKPRME", OracleType.NVarChar).Value = dwData["FGEKPRME"].ToString();
                    or1.Parameters.Add("FGEKPRZU", OracleType.NVarChar).Value = dwData["FGEKPRZU"].ToString();
                    or1.Parameters.Add("FGVRPR", OracleType.NVarChar).Value = dwData["FGVRPR"].ToString();
                    or1.Parameters.Add("FGDLABST", OracleType.NVarChar).Value = dwData["FGDLABST"].ToString();
                    or1.Parameters.Add("FGDLATAG", OracleType.NVarChar).Value = dwData["FGDLATAG"].ToString();
                    or1.Parameters.Add("FGMINBST", OracleType.NVarChar).Value = dwData["FGMINBST"].ToString();
                    or1.Parameters.Add("FGMAXBST", OracleType.NVarChar).Value = dwData["FGMAXBST"].ToString();
                    or1.Parameters.Add("FGFERTKZ", OracleType.NVarChar).Value = dwData["FGFERTKZ"].ToString();
                    or1.Parameters.Add("FGUEBER", OracleType.NVarChar).Value = dwData["FGUEBER"].ToString();
                    or1.Parameters.Add("FGFILLER", OracleType.NVarChar).Value = dwData["FGFILLER"].ToString();
                    or1.Parameters.Add("FGAENDZL", OracleType.NVarChar).Value = dwData["FGAENDZL"].ToString();
                    or1.Parameters.Add("FGAENDBEN", OracleType.NVarChar).Value = dwData["FGAENDBEN"].ToString();
                    or1.Parameters.Add("FGAENDDAT", OracleType.NVarChar).Value = dwData["FGAENDDAT"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }

        public void UpdateFBEW(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE FBEW SET "
+ "FBWMANDANT=:FBWMANDANT,"
+ "FBWJJJJ=:FBWJJJJ,"
+ "FBWBELEG=:FBWBELEG,"
+ "FBWLFDNR=:FBWLFDNR,"
+ "FBWART=:FBWART,"
+ "FBWVAR=:FBWVAR,"
+ "FBWFARBE=:FBWFARBE,"
+ "FBWGROE=:FBWGROE,"
+ "FBWAUFM=:FBWAUFM,"
+ "FBWCHAR=:FBWCHAR,"
+ "FBWGNR=:FBWGNR,"
+ "FBWGNRPOS=:FBWGNRPOS,"
+ "FBWVPEINH=:FBWVPEINH,"
+ "FBWANZVP=:FBWANZVP,"
+ "FBWZS=:FBWZS,"
+ "FBWLO=:FBWLO,"
+ "FBWLB=:FBWLB,"
+ "FBWLP=:FBWLP,"
+ "FBWAUFBKZ=:FBWAUFBKZ,"
+ "FBWAUFTYP=:FBWAUFTYP,"
+ "FBWAUFKRS=:FBWAUFKRS,"
+ "FBWAUFLFD=:FBWAUFLFD,"
+ "FBWAUFPOS=:FBWAUFPOS,"
+ "FBWAFOLGE=:FBWAFOLGE,"
+ "FBWTEILNR=:FBWTEILNR,"
+ "FBWKSTKRS=:FBWKSTKRS,"
+ "FBWKST=:FBWKST,"
+ "FBWMNRKRS=:FBWMNRKRS,"
+ "FBWMLFDNR=:FBWMLFDNR,"
+ "FBWMPOS=:FBWMPOS,"
+ "FBWSCHICHT=:FBWSCHICHT,"
+ "FBWAPOS=:FBWAPOS,"
+ "FBWSETPOS=:FBWSETPOS,"
+ "FBWBUDGET=:FBWBUDGET,"
+ "FBWFCODE=:FBWFCODE,"
+ "FBWBS=:FBWBS,"
+ "FBWWERTDAT=:FBWWERTDAT,"
+ "FBWME=:FBWME,"
+ "FBWWERT=:FBWWERT,"
+ "FBWWEKORR=:FBWWEKORR,"
+ "FBWBUCHBEN=:FBWBUCHBEN,"
+ "FBWBUCHDAT=:FBWBUCHDAT,"
+ "FBWBUCHUHR=:FBWBUCHUHR,"
+ "FBWFC=:FBWFC,"
+ "FBWINVBLG=:FBWINVBLG,"
+ "FBWCHARL=:FBWCHARL,"
+ "FBWCHARLZUS=:FBWCHARLZUS,"
+ "FBWSTORKZ=:FBWSTORKZ,"
+ "FBWKONDAT=:FBWKONDAT,"
+ "FBWMATABR=:FBWMATABR,"
+ "FBWDISPOKZ=:FBWDISPOKZ,"
+ "FBWSAPKZ=:FBWSAPKZ,"
+ "FBWACTION=:FBWACTION,"
+ "FBWFILLER=:FBWFILLER "
+ " WHERE FBWMANDANT=:FBWMANDANT AND FBWJJJJ=:FBWJJJJ AND FBWBELEG=:FBWBELEG AND FBWLFDNR=:FBWLFDNR  ";
                    or1.Parameters.Add("FBWMANDANT", OracleType.NVarChar).Value = dwData["FBWMANDANT"].ToString();
                    or1.Parameters.Add("FBWJJJJ", OracleType.NVarChar).Value = dwData["FBWJJJJ"].ToString();
                    or1.Parameters.Add("FBWBELEG", OracleType.NVarChar).Value = dwData["FBWBELEG"].ToString();
                    or1.Parameters.Add("FBWLFDNR", OracleType.NVarChar).Value = dwData["FBWLFDNR"].ToString();
                    or1.Parameters.Add("FBWART", OracleType.NVarChar).Value = dwData["FBWART"].ToString();
                    or1.Parameters.Add("FBWVAR", OracleType.NVarChar).Value = dwData["FBWVAR"].ToString();
                    or1.Parameters.Add("FBWFARBE", OracleType.NVarChar).Value = dwData["FBWFARBE"].ToString();
                    or1.Parameters.Add("FBWGROE", OracleType.NVarChar).Value = dwData["FBWGROE"].ToString();
                    or1.Parameters.Add("FBWAUFM", OracleType.NVarChar).Value = dwData["FBWAUFM"].ToString();
                    or1.Parameters.Add("FBWCHAR", OracleType.NVarChar).Value = dwData["FBWCHAR"].ToString();
                    or1.Parameters.Add("FBWGNR", OracleType.NVarChar).Value = dwData["FBWGNR"].ToString();
                    or1.Parameters.Add("FBWGNRPOS", OracleType.NVarChar).Value = dwData["FBWGNRPOS"].ToString();
                    or1.Parameters.Add("FBWVPEINH", OracleType.NVarChar).Value = dwData["FBWVPEINH"].ToString();
                    or1.Parameters.Add("FBWANZVP", OracleType.NVarChar).Value = dwData["FBWANZVP"].ToString();
                    or1.Parameters.Add("FBWZS", OracleType.NVarChar).Value = dwData["FBWZS"].ToString();
                    or1.Parameters.Add("FBWLO", OracleType.NVarChar).Value = dwData["FBWLO"].ToString();
                    or1.Parameters.Add("FBWLB", OracleType.NVarChar).Value = dwData["FBWLB"].ToString();
                    or1.Parameters.Add("FBWLP", OracleType.NVarChar).Value = dwData["FBWLP"].ToString();
                    or1.Parameters.Add("FBWAUFBKZ", OracleType.NVarChar).Value = dwData["FBWAUFBKZ"].ToString();
                    or1.Parameters.Add("FBWAUFTYP", OracleType.NVarChar).Value = dwData["FBWAUFTYP"].ToString();
                    or1.Parameters.Add("FBWAUFKRS", OracleType.NVarChar).Value = dwData["FBWAUFKRS"].ToString();
                    or1.Parameters.Add("FBWAUFLFD", OracleType.NVarChar).Value = dwData["FBWAUFLFD"].ToString();
                    or1.Parameters.Add("FBWAUFPOS", OracleType.NVarChar).Value = dwData["FBWAUFPOS"].ToString();
                    or1.Parameters.Add("FBWAFOLGE", OracleType.NVarChar).Value = dwData["FBWAFOLGE"].ToString();
                    or1.Parameters.Add("FBWTEILNR", OracleType.NVarChar).Value = dwData["FBWTEILNR"].ToString();
                    or1.Parameters.Add("FBWKSTKRS", OracleType.NVarChar).Value = dwData["FBWKSTKRS"].ToString();
                    or1.Parameters.Add("FBWKST", OracleType.NVarChar).Value = dwData["FBWKST"].ToString();
                    or1.Parameters.Add("FBWMNRKRS", OracleType.NVarChar).Value = dwData["FBWMNRKRS"].ToString();
                    or1.Parameters.Add("FBWMLFDNR", OracleType.NVarChar).Value = dwData["FBWMLFDNR"].ToString();
                    or1.Parameters.Add("FBWMPOS", OracleType.NVarChar).Value = dwData["FBWMPOS"].ToString();
                    or1.Parameters.Add("FBWSCHICHT", OracleType.NVarChar).Value = dwData["FBWSCHICHT"].ToString();
                    or1.Parameters.Add("FBWAPOS", OracleType.NVarChar).Value = dwData["FBWAPOS"].ToString();
                    or1.Parameters.Add("FBWSETPOS", OracleType.NVarChar).Value = dwData["FBWSETPOS"].ToString();
                    or1.Parameters.Add("FBWBUDGET", OracleType.NVarChar).Value = dwData["FBWBUDGET"].ToString();
                    or1.Parameters.Add("FBWFCODE", OracleType.NVarChar).Value = dwData["FBWFCODE"].ToString();
                    or1.Parameters.Add("FBWBS", OracleType.NVarChar).Value = dwData["FBWBS"].ToString();
                    or1.Parameters.Add("FBWWERTDAT", OracleType.NVarChar).Value = dwData["FBWWERTDAT"].ToString();
                    or1.Parameters.Add("FBWME", OracleType.NVarChar).Value = dwData["FBWME"].ToString();
                    or1.Parameters.Add("FBWWERT", OracleType.NVarChar).Value = dwData["FBWWERT"].ToString();
                    or1.Parameters.Add("FBWWEKORR", OracleType.NVarChar).Value = dwData["FBWWEKORR"].ToString();
                    or1.Parameters.Add("FBWBUCHBEN", OracleType.NVarChar).Value = dwData["FBWBUCHBEN"].ToString();
                    or1.Parameters.Add("FBWBUCHDAT", OracleType.NVarChar).Value = dwData["FBWBUCHDAT"].ToString();
                    or1.Parameters.Add("FBWBUCHUHR", OracleType.NVarChar).Value = dwData["FBWBUCHUHR"].ToString();
                    or1.Parameters.Add("FBWFC", OracleType.NVarChar).Value = dwData["FBWFC"].ToString();
                    or1.Parameters.Add("FBWINVBLG", OracleType.NVarChar).Value = dwData["FBWINVBLG"].ToString();
                    or1.Parameters.Add("FBWCHARL", OracleType.NVarChar).Value = dwData["FBWCHARL"].ToString();
                    or1.Parameters.Add("FBWCHARLZUS", OracleType.NVarChar).Value = dwData["FBWCHARLZUS"].ToString();
                    or1.Parameters.Add("FBWSTORKZ", OracleType.NVarChar).Value = dwData["FBWSTORKZ"].ToString();
                    or1.Parameters.Add("FBWKONDAT", OracleType.NVarChar).Value = dwData["FBWKONDAT"].ToString();
                    or1.Parameters.Add("FBWMATABR", OracleType.NVarChar).Value = dwData["FBWMATABR"].ToString();
                    or1.Parameters.Add("FBWDISPOKZ", OracleType.NVarChar).Value = dwData["FBWDISPOKZ"].ToString();
                    or1.Parameters.Add("FBWSAPKZ", OracleType.NVarChar).Value = dwData["FBWSAPKZ"].ToString();
                    or1.Parameters.Add("FBWACTION", OracleType.NVarChar).Value = dwData["FBWACTION"].ToString();
                    or1.Parameters.Add("FBWFILLER", OracleType.NVarChar).Value = dwData["FBWFILLER"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateFCHAR(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE FCHAR SET "
                        + "FCART=:FCART,"
                        + "FCVAR=:FCVAR,"
                        + "FCFARBE=:FCFARBE,"
                        + "FCGROE=:FCGROE,"
                        + "FCAUFM=:FCAUFM,"
                        + "FCZS=:FCZS,"
                        + "FCEINDAT=:FCEINDAT,"
                        + "FCENTKZ=:FCENTKZ,"
                        + "FCEINLO=:FCEINLO,"
                        + "FCSPSTA=:FCSPSTA,"
                        + "FCSPGRD=:FCSPGRD,"
                        + "FCME=:FCME,"
                        + "FCEME=:FCEME,"
                        + "FCEGEB=:FCEGEB,"
                        + "FCGNRL=:FCGNRL,"
                        + "FCGNRLPOS=:FCGNRLPOS,"
                        + "FCLIEFNR=:FCLIEFNR,"
                        + "FCLIEFSCH=:FCLIEFSCH,"
                        + "FCLIEFDAT=:FCLIEFDAT,"
                        + "FCKZZOLL=:FCKZZOLL,"
                        + "FCGEBANZ=:FCGEBANZ,"
                        + "FCVPEINH=:FCVPEINH,"
                        + "FCAUFTYP=:FCAUFTYP,"
                        + "FCBESTKRS=:FCBESTKRS,"
                        + "FCBESTLFD=:FCBESTLFD,"
                        + "FCBESTPOS=:FCBESTPOS,"
                        + "FCABHS=:FCABHS,"
                        + "FCBUDGET=:FCBUDGET,"
                        + "FCRENR=:FCRENR,"
                        + "FCREDAT=:FCREDAT,"
                        + "FCREWERT=:FCREWERT,"
                        + "FCKZKONSI=:FCKZKONSI,"
                        + "FCSTKNR=:FCSTKNR,"
                        + "FCFCODE=:FCFCODE,"
                        + "FCFILLER=:FCFILLER,"
                        + "FCAENDZL=:FCAENDZL,"
                        + "FCAENDBEN=:FCAENDBEN,"
                        + "FCAENDDAT=:FCAENDDAT,"
                        + "FCNEUBEN=:FCNEUBEN,"
                        + "FCNEUDAT=:FCNEUDAT "
                        + " WHERE FCMANDANT=:FCMANDANT AND FCCHAR=:FCCHAR  ";
                    or1.Parameters.Add("FCMANDANT", OracleType.NVarChar).Value = dwData["FCMANDANT"].ToString();
                    or1.Parameters.Add("FCCHAR", OracleType.NVarChar).Value = dwData["FCCHAR"].ToString();
                    or1.Parameters.Add("FCART", OracleType.NVarChar).Value = dwData["FCART"].ToString();
                    or1.Parameters.Add("FCVAR", OracleType.NVarChar).Value = dwData["FCVAR"].ToString();
                    or1.Parameters.Add("FCFARBE", OracleType.NVarChar).Value = dwData["FCFARBE"].ToString();
                    or1.Parameters.Add("FCGROE", OracleType.NVarChar).Value = dwData["FCGROE"].ToString();
                    or1.Parameters.Add("FCAUFM", OracleType.NVarChar).Value = dwData["FCAUFM"].ToString();
                    or1.Parameters.Add("FCZS", OracleType.NVarChar).Value = dwData["FCZS"].ToString();
                    or1.Parameters.Add("FCEINDAT", OracleType.NVarChar).Value = dwData["FCEINDAT"].ToString();
                    or1.Parameters.Add("FCENTKZ", OracleType.NVarChar).Value = dwData["FCENTKZ"].ToString();
                    or1.Parameters.Add("FCEINLO", OracleType.NVarChar).Value = dwData["FCEINLO"].ToString();
                    or1.Parameters.Add("FCSPSTA", OracleType.NVarChar).Value = dwData["FCSPSTA"].ToString();
                    or1.Parameters.Add("FCSPGRD", OracleType.NVarChar).Value = dwData["FCSPGRD"].ToString();
                    or1.Parameters.Add("FCME", OracleType.NVarChar).Value = dwData["FCME"].ToString();
                    or1.Parameters.Add("FCEME", OracleType.NVarChar).Value = dwData["FCEME"].ToString();
                    or1.Parameters.Add("FCEGEB", OracleType.NVarChar).Value = dwData["FCEGEB"].ToString();
                    or1.Parameters.Add("FCGNRL", OracleType.NVarChar).Value = dwData["FCGNRL"].ToString();
                    or1.Parameters.Add("FCGNRLPOS", OracleType.NVarChar).Value = dwData["FCGNRLPOS"].ToString();
                    or1.Parameters.Add("FCLIEFNR", OracleType.NVarChar).Value = dwData["FCLIEFNR"].ToString();
                    or1.Parameters.Add("FCLIEFSCH", OracleType.NVarChar).Value = dwData["FCLIEFSCH"].ToString();
                    or1.Parameters.Add("FCLIEFDAT", OracleType.NVarChar).Value = dwData["FCLIEFDAT"].ToString();
                    or1.Parameters.Add("FCKZZOLL", OracleType.NVarChar).Value = dwData["FCKZZOLL"].ToString();
                    or1.Parameters.Add("FCGEBANZ", OracleType.NVarChar).Value = dwData["FCGEBANZ"].ToString();
                    or1.Parameters.Add("FCVPEINH", OracleType.NVarChar).Value = dwData["FCVPEINH"].ToString();
                    or1.Parameters.Add("FCAUFTYP", OracleType.NVarChar).Value = dwData["FCAUFTYP"].ToString();
                    or1.Parameters.Add("FCBESTKRS", OracleType.NVarChar).Value = dwData["FCBESTKRS"].ToString();
                    or1.Parameters.Add("FCBESTLFD", OracleType.NVarChar).Value = dwData["FCBESTLFD"].ToString();
                    or1.Parameters.Add("FCBESTPOS", OracleType.NVarChar).Value = dwData["FCBESTPOS"].ToString();
                    or1.Parameters.Add("FCABHS", OracleType.NVarChar).Value = dwData["FCABHS"].ToString();
                    or1.Parameters.Add("FCBUDGET", OracleType.NVarChar).Value = dwData["FCBUDGET"].ToString();
                    or1.Parameters.Add("FCRENR", OracleType.NVarChar).Value = dwData["FCRENR"].ToString();
                    or1.Parameters.Add("FCREDAT", OracleType.NVarChar).Value = dwData["FCREDAT"].ToString();
                    or1.Parameters.Add("FCREWERT", OracleType.NVarChar).Value = dwData["FCREWERT"].ToString();
                    or1.Parameters.Add("FCKZKONSI", OracleType.NVarChar).Value = dwData["FCKZKONSI"].ToString();
                    or1.Parameters.Add("FCSTKNR", OracleType.NVarChar).Value = dwData["FCSTKNR"].ToString();
                    or1.Parameters.Add("FCFCODE", OracleType.NVarChar).Value = dwData["FCFCODE"].ToString();
                    or1.Parameters.Add("FCFILLER", OracleType.NVarChar).Value = dwData["FCFILLER"].ToString();
                    or1.Parameters.Add("FCAENDZL", OracleType.NVarChar).Value = dwData["FCAENDZL"].ToString();
                    or1.Parameters.Add("FCAENDBEN", OracleType.NVarChar).Value = dwData["FCAENDBEN"].ToString();
                    or1.Parameters.Add("FCAENDDAT", OracleType.NVarChar).Value = dwData["FCAENDDAT"].ToString();
                    or1.Parameters.Add("FCNEUBEN", OracleType.NVarChar).Value = dwData["FCNEUBEN"].ToString();
                    or1.Parameters.Add("FCNEUDAT", OracleType.NVarChar).Value = dwData["FCNEUDAT"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateFSEINK(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    break;
                case 2:
                    or1.CommandText = "UPDATE FSEINK SET FEMINBSLM1=1 WHERE  FEMINBSLM1=0";
                    break;
            }
            Connect2Proxy(or1);
        }

        #endregion

        #region======G==============
        public void UpdateGAAUF(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region====CASE 1=========
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE GAAUF SET "
                    + "GAMANDANT=:GAMANDANT,"
                    + "GAAUFKRS=:GAAUFKRS,"
                    + "GAAUFLFD=:GAAUFLFD,"
                    + "GAAUFPOS=:GAAUFPOS,"
                    + "GASA=:GASA,"
                    + "GAPOS=:GAPOS,"
                    + "GAAENDZL=:GAAENDZL,"
                    + "GAAENDBEN=:GAAENDBEN,"
                    + "GAAENDDAT=:GAAENDDAT,"
                    + "GANEUBEN=:GANEUBEN,"
                    + "GANEUDAT=:GANEUDAT,"
                    + "GADATVON=:GADATVON,"
                    + "GADATBIS=:GADATBIS,"
                    + "GADATVON1=:GADATVON1,"
                    + "GADATBIS1=:GADATBIS1,"
                    + "GAART=:GAART,"
                    + "GAVAR=:GAVAR,"
                    + "GAFARBE=:GAFARBE,"
                    + "GAURVAR=:GAURVAR,"
                    + "GADEZI=:GADEZI,"
                    + "GAKG1=:GAKG1,"
                    + "GASP1=:GASP1,"
                    + "GAKA1=:GAKA1,"
                    + "GAKG2=:GAKG2,"
                    + "GASP2=:GASP2,"
                    + "GAKA2=:GAKA2,"
                    + "GAKG3=:GAKG3,"
                    + "GASP3=:GASP3,"
                    + "GAKA3=:GAKA3,"
                    + "GAKG4=:GAKG4,"
                    + "GASP4=:GASP4,"
                    + "GAKA4=:GAKA4,"
                    + "GAKG5=:GAKG5,"
                    + "GASP5=:GASP5,"
                    + "GAKA5=:GAKA5,"
                    + "GAKG6=:GAKG6,"
                    + "GASP6=:GASP6,"
                    + "GAKA6=:GAKA6,"
                    + "GAKG7=:GAKG7,"
                    + "GASP7=:GASP7,"
                    + "GAKA7=:GAKA7,"
                    + "GAABF=:GAABF,"
                    + "GAERLKZ=:GAERLKZ,"
                    + "GADISPOKZ=:GADISPOKZ,"
                    + "GALO=:GALO,"
                    + "GALB=:GALB,"
                    + "GALP=:GALP,"
                    + "GAAUFBKZ=:GAAUFBKZ,"
                    + "GABEM=:GABEM,"
                    + "GAVPEINH=:GAVPEINH,"
                    + "GAHUELSE=:GAHUELSE,"
                    + "GAANZBAUM=:GAANZBAUM,"
                    + "GASPUL=:GASPUL,"
                    + "GALAENGE=:GALAENGE,"
                    + "GASPULGEW=:GASPULGEW,"
                    + "GAAG=:GAAG,"
                    + "GAPRODV=:GAPRODV,"
                    + "GAAUFMSL=:GAAUFMSL,"
                    + "GAKF=:GAKF,"
                    + "GAFDRES=:GAFDRES,"
                    + "GAWICKL=:GAWICKL,"
                    + "GASACHB=:GASACHB,"
                    + "GAANLO=:GAANLO,"
                    + "GAANLB=:GAANLB,"
                    + "GAANLP=:GAANLP,"
                    + "GAANAUFBKZ=:GAANAUFBKZ,"
                    + "GALIEFSCH=:GALIEFSCH,"
                    + "GAFREIDAT=:GAFREIDAT,"
                    + "GAFREIBEN=:GAFREIBEN,"
                    + "GALIEFNR=:GALIEFNR,"
                    + "GAMATKOMPDR=:GAMATKOMPDR,"
                    + "GAFUSSTEXT=:GAFUSSTEXT,"
                    + "GAAFOLGE=:GAAFOLGE,"
                    + "GAAUFTRKZ=:GAAUFTRKZ,"
                    + "GABDEKZ=:GABDEKZ,"
                    + "GABASMG2=:GABASMG2,"
                    + "GABRUTTOKZ=:GABRUTTOKZ,"
                    + "GAERSATZ=:GAERSATZ,"
                    + "GAURSA=:GAURSA,"
                    + "GAURPOS=:GAURPOS,"
                    + "GATLSA=:GATLSA,"
                    + "GATLPOS=:GATLPOS,"
                    + "GAINFOKZ=:GAINFOKZ,"
                    + "GADECKUNG=:GADECKUNG,"
                    + "GAUSERZK=:GAUSERZK,"
                    + "GAVARKZ=:GAVARKZ,"
                    + "GAZUKOMP=:GAZUKOMP,"
                    + "GAAFDLGS=:GAAFDLGS,"
                    + "GAAFDLGSZ=:GAAFDLGSZ,"
                    + "GAGESFDZ=:GAGESFDZ,"
                    + "GABEDFDZ=:GABEDFDZ,"
                    + "GAZLLG=:GAZLLG,"
                    + "GAABF2=:GAABF2,"
                    + "GAZBEDKG=:GAZBEDKG,"
                    + "GAFILLER=:GAFILLER "
                        + " WHERE  "
                        + "  GAMANDANT=:GAMANDANT AND GAAUFKRS=:GAAUFKRS AND GAAUFLFD=:GAAUFLFD AND GAAUFPOS=:GAAUFPOS AND GASA=:GASA AND GAPOS=:GAPOS";

                    or1.Parameters.Add("GAMANDANT", OracleType.NVarChar).Value = dwData["GAMANDANT"].ToString();
                    or1.Parameters.Add("GAAUFKRS", OracleType.NVarChar).Value = dwData["GAAUFKRS"].ToString();
                    or1.Parameters.Add("GAAUFLFD", OracleType.NVarChar).Value = dwData["GAAUFLFD"].ToString();
                    or1.Parameters.Add("GAAUFPOS", OracleType.NVarChar).Value = dwData["GAAUFPOS"].ToString();
                    or1.Parameters.Add("GASA", OracleType.NVarChar).Value = dwData["GASA"].ToString();
                    or1.Parameters.Add("GAPOS", OracleType.NVarChar).Value = dwData["GAPOS"].ToString();
                    or1.Parameters.Add("GAAENDZL", OracleType.NVarChar).Value = dwData["GAAENDZL"].ToString();
                    or1.Parameters.Add("GAAENDBEN", OracleType.NVarChar).Value = dwData["GAAENDBEN"].ToString();
                    or1.Parameters.Add("GAAENDDAT", OracleType.NVarChar).Value = dwData["GAAENDDAT"].ToString();
                    or1.Parameters.Add("GANEUBEN", OracleType.NVarChar).Value = dwData["GANEUBEN"].ToString();
                    or1.Parameters.Add("GANEUDAT", OracleType.NVarChar).Value = dwData["GANEUDAT"].ToString();
                    or1.Parameters.Add("GADATVON", OracleType.NVarChar).Value = dwData["GADATVON"].ToString();
                    or1.Parameters.Add("GADATBIS", OracleType.NVarChar).Value = dwData["GADATBIS"].ToString();
                    or1.Parameters.Add("GADATVON1", OracleType.NVarChar).Value = dwData["GADATVON1"].ToString();
                    or1.Parameters.Add("GADATBIS1", OracleType.NVarChar).Value = dwData["GADATBIS1"].ToString();
                    or1.Parameters.Add("GAART", OracleType.NVarChar).Value = dwData["GAART"].ToString();
                    or1.Parameters.Add("GAVAR", OracleType.NVarChar).Value = dwData["GAVAR"].ToString();
                    or1.Parameters.Add("GAFARBE", OracleType.NVarChar).Value = dwData["GAFARBE"].ToString();
                    or1.Parameters.Add("GAURVAR", OracleType.NVarChar).Value = dwData["GAURVAR"].ToString();
                    or1.Parameters.Add("GADEZI", OracleType.NVarChar).Value = dwData["GADEZI"].ToString();
                    or1.Parameters.Add("GAKG1", OracleType.NVarChar).Value = dwData["GAKG1"].ToString();
                    or1.Parameters.Add("GASP1", OracleType.NVarChar).Value = dwData["GASP1"].ToString();
                    or1.Parameters.Add("GAKA1", OracleType.NVarChar).Value = dwData["GAKA1"].ToString();
                    or1.Parameters.Add("GAKG2", OracleType.NVarChar).Value = dwData["GAKG2"].ToString();
                    or1.Parameters.Add("GASP2", OracleType.NVarChar).Value = dwData["GASP2"].ToString();
                    or1.Parameters.Add("GAKA2", OracleType.NVarChar).Value = dwData["GAKA2"].ToString();
                    or1.Parameters.Add("GAKG3", OracleType.NVarChar).Value = dwData["GAKG3"].ToString();
                    or1.Parameters.Add("GASP3", OracleType.NVarChar).Value = dwData["GASP3"].ToString();
                    or1.Parameters.Add("GAKA3", OracleType.NVarChar).Value = dwData["GAKA3"].ToString();
                    or1.Parameters.Add("GAKG4", OracleType.NVarChar).Value = dwData["GAKG4"].ToString();
                    or1.Parameters.Add("GASP4", OracleType.NVarChar).Value = dwData["GASP4"].ToString();
                    or1.Parameters.Add("GAKA4", OracleType.NVarChar).Value = dwData["GAKA4"].ToString();
                    or1.Parameters.Add("GAKG5", OracleType.NVarChar).Value = dwData["GAKG5"].ToString();
                    or1.Parameters.Add("GASP5", OracleType.NVarChar).Value = dwData["GASP5"].ToString();
                    or1.Parameters.Add("GAKA5", OracleType.NVarChar).Value = dwData["GAKA5"].ToString();
                    or1.Parameters.Add("GAKG6", OracleType.NVarChar).Value = dwData["GAKG6"].ToString();
                    or1.Parameters.Add("GASP6", OracleType.NVarChar).Value = dwData["GASP6"].ToString();
                    or1.Parameters.Add("GAKA6", OracleType.NVarChar).Value = dwData["GAKA6"].ToString();
                    or1.Parameters.Add("GAKG7", OracleType.NVarChar).Value = dwData["GAKG7"].ToString();
                    or1.Parameters.Add("GASP7", OracleType.NVarChar).Value = dwData["GASP7"].ToString();
                    or1.Parameters.Add("GAKA7", OracleType.NVarChar).Value = dwData["GAKA7"].ToString();
                    or1.Parameters.Add("GAABF", OracleType.NVarChar).Value = dwData["GAABF"].ToString();
                    or1.Parameters.Add("GAERLKZ", OracleType.NVarChar).Value = dwData["GAERLKZ"].ToString();
                    or1.Parameters.Add("GADISPOKZ", OracleType.NVarChar).Value = dwData["GADISPOKZ"].ToString();
                    or1.Parameters.Add("GALO", OracleType.NVarChar).Value = dwData["GALO"].ToString();
                    or1.Parameters.Add("GALB", OracleType.NVarChar).Value = dwData["GALB"].ToString();
                    or1.Parameters.Add("GALP", OracleType.NVarChar).Value = dwData["GALP"].ToString();
                    or1.Parameters.Add("GAAUFBKZ", OracleType.NVarChar).Value = dwData["GAAUFBKZ"].ToString();
                    or1.Parameters.Add("GABEM", OracleType.NVarChar).Value = dwData["GABEM"].ToString();
                    or1.Parameters.Add("GAVPEINH", OracleType.NVarChar).Value = dwData["GAVPEINH"].ToString();
                    or1.Parameters.Add("GAHUELSE", OracleType.NVarChar).Value = dwData["GAHUELSE"].ToString();
                    or1.Parameters.Add("GAANZBAUM", OracleType.NVarChar).Value = dwData["GAANZBAUM"].ToString();
                    or1.Parameters.Add("GASPUL", OracleType.NVarChar).Value = dwData["GASPUL"].ToString();
                    or1.Parameters.Add("GALAENGE", OracleType.NVarChar).Value = dwData["GALAENGE"].ToString();
                    or1.Parameters.Add("GASPULGEW", OracleType.NVarChar).Value = dwData["GASPULGEW"].ToString();
                    or1.Parameters.Add("GAAG", OracleType.NVarChar).Value = dwData["GAAG"].ToString();
                    or1.Parameters.Add("GAPRODV", OracleType.NVarChar).Value = dwData["GAPRODV"].ToString();
                    or1.Parameters.Add("GAAUFMSL", OracleType.NVarChar).Value = dwData["GAAUFMSL"].ToString();
                    or1.Parameters.Add("GAKF", OracleType.NVarChar).Value = dwData["GAKF"].ToString();
                    or1.Parameters.Add("GAFDRES", OracleType.NVarChar).Value = dwData["GAFDRES"].ToString();
                    or1.Parameters.Add("GAWICKL", OracleType.NVarChar).Value = dwData["GAWICKL"].ToString();
                    or1.Parameters.Add("GASACHB", OracleType.NVarChar).Value = dwData["GASACHB"].ToString();
                    or1.Parameters.Add("GAANLO", OracleType.NVarChar).Value = dwData["GAANLO"].ToString();
                    or1.Parameters.Add("GAANLB", OracleType.NVarChar).Value = dwData["GAANLB"].ToString();
                    or1.Parameters.Add("GAANLP", OracleType.NVarChar).Value = dwData["GAANLP"].ToString();
                    or1.Parameters.Add("GAANAUFBKZ", OracleType.NVarChar).Value = dwData["GAANAUFBKZ"].ToString();
                    or1.Parameters.Add("GALIEFSCH", OracleType.NVarChar).Value = dwData["GALIEFSCH"].ToString();
                    or1.Parameters.Add("GAFREIDAT", OracleType.NVarChar).Value = dwData["GAFREIDAT"].ToString();
                    or1.Parameters.Add("GAFREIBEN", OracleType.NVarChar).Value = dwData["GAFREIBEN"].ToString();
                    or1.Parameters.Add("GALIEFNR", OracleType.NVarChar).Value = dwData["GALIEFNR"].ToString();
                    or1.Parameters.Add("GAMATKOMPDR", OracleType.NVarChar).Value = dwData["GAMATKOMPDR"].ToString();
                    or1.Parameters.Add("GAFUSSTEXT", OracleType.NVarChar).Value = dwData["GAFUSSTEXT"].ToString();
                    or1.Parameters.Add("GAAFOLGE", OracleType.NVarChar).Value = dwData["GAAFOLGE"].ToString();
                    or1.Parameters.Add("GAAUFTRKZ", OracleType.NVarChar).Value = dwData["GAAUFTRKZ"].ToString();
                    or1.Parameters.Add("GABDEKZ", OracleType.NVarChar).Value = dwData["GABDEKZ"].ToString();
                    or1.Parameters.Add("GABASMG2", OracleType.NVarChar).Value = dwData["GABASMG2"].ToString();
                    or1.Parameters.Add("GABRUTTOKZ", OracleType.NVarChar).Value = dwData["GABRUTTOKZ"].ToString();
                    or1.Parameters.Add("GAERSATZ", OracleType.NVarChar).Value = dwData["GAERSATZ"].ToString();
                    or1.Parameters.Add("GAURSA", OracleType.NVarChar).Value = dwData["GAURSA"].ToString();
                    or1.Parameters.Add("GAURPOS", OracleType.NVarChar).Value = dwData["GAURPOS"].ToString();
                    or1.Parameters.Add("GATLSA", OracleType.NVarChar).Value = dwData["GATLSA"].ToString();
                    or1.Parameters.Add("GATLPOS", OracleType.NVarChar).Value = dwData["GATLPOS"].ToString();
                    or1.Parameters.Add("GAINFOKZ", OracleType.NVarChar).Value = dwData["GAINFOKZ"].ToString();
                    or1.Parameters.Add("GADECKUNG", OracleType.NVarChar).Value = dwData["GADECKUNG"].ToString();
                    or1.Parameters.Add("GAUSERZK", OracleType.NVarChar).Value = dwData["GAUSERZK"].ToString();
                    or1.Parameters.Add("GAVARKZ", OracleType.NVarChar).Value = dwData["GAVARKZ"].ToString();
                    or1.Parameters.Add("GAZUKOMP", OracleType.NVarChar).Value = dwData["GAZUKOMP"].ToString();
                    or1.Parameters.Add("GAAFDLGS", OracleType.NVarChar).Value = dwData["GAAFDLGS"].ToString();
                    or1.Parameters.Add("GAAFDLGSZ", OracleType.NVarChar).Value = dwData["GAAFDLGSZ"].ToString();
                    or1.Parameters.Add("GAGESFDZ", OracleType.NVarChar).Value = dwData["GAGESFDZ"].ToString();
                    or1.Parameters.Add("GABEDFDZ", OracleType.NVarChar).Value = dwData["GABEDFDZ"].ToString();
                    or1.Parameters.Add("GAZLLG", OracleType.NVarChar).Value = dwData["GAZLLG"].ToString();
                    or1.Parameters.Add("GAABF2", OracleType.NVarChar).Value = dwData["GAABF2"].ToString();
                    or1.Parameters.Add("GAZBEDKG", OracleType.NVarChar).Value = dwData["GAZBEDKG"].ToString();
                    or1.Parameters.Add("GAFILLER", OracleType.NVarChar).Value = dwData["GAFILLER"].ToString();
                    #endregion

                    break;
                case 2:
                    or1 = OracleDB.CreateCommand();
                    or1.CommandText = "UPDATE GAAUF SET "
                        + "GAKG2=:GAKG2 "
                        + " WHERE  "
                        + "  GAMANDANT=:GAMANDANT AND GAAUFKRS=:GAAUFKRS AND GAAUFLFD=:GAAUFLFD AND GAAUFPOS=:GAAUFPOS AND GASA=:GASA AND GAPOS=:GAPOS";

                    or1.Parameters.Add("GAMANDANT", OracleType.NVarChar).Value = dwData["GAMANDANT"].ToString();
                    or1.Parameters.Add("GAAUFKRS", OracleType.NVarChar).Value = dwData["GAAUFKRS"].ToString();
                    or1.Parameters.Add("GAAUFLFD", OracleType.NVarChar).Value = dwData["GAAUFLFD"].ToString();
                    or1.Parameters.Add("GAAUFPOS", OracleType.NVarChar).Value = dwData["GAAUFPOS"].ToString();
                    or1.Parameters.Add("GASA", OracleType.NVarChar).Value = dwData["GASA"].ToString();
                    or1.Parameters.Add("GAPOS", OracleType.NVarChar).Value = dwData["GAPOS"].ToString();
                    or1.Parameters.Add("GAKG2", OracleType.NVarChar).Value = dwData["GAKG2"].ToString();
                    break;
            }

            Connect2Proxy(or1);
        }
        public void UpdateGSCOLOR(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE GSCOLOR SET "
                + "GSCMANDANT=:GSCMANDANT,"
                + "GSCART=:GSCART,"
                + "GSCVAR=:GSCVAR,"
                + "GSCFARBE=:GSCFARBE,"
                + "GSCAENDZL=:GSCAENDZL,"
                + "GSCAENDBEN=:GSCAENDBEN,"
                + "GSCAENDDAT=:GSCAENDDAT,"
                + "GSCNEUBEN=:GSCNEUBEN,"
                + "GSCNEUDAT=:GSCNEUDAT,"
                + "GSCSTATUS=:GSCSTATUS,"
                + "GSCSFKZ=:GSCSFKZ,"
                + "GSCBEZ=:GSCBEZ,"
                + "GSCFKARTNR=:GSCFKARTNR,"
                + "GSCKTFARBE=:GSCKTFARBE,"
                + "GSCBOM=:GSCBOM,"
                + "GSCBOMCGRP=:GSCBOMCGRP,"
                + "GSCFDVF=:GSCFDVF,"
                + "GSCVORB=:GSCVORB,"
                + "GSCNACHB=:GSCNACHB,"
                + "GSCFA=:GSCFA,"
                + "GSCRUESTGRP=:GSCRUESTGRP,"
                + "GSCPRUEFGRP=:GSCPRUEFGRP,"
                + "GSCSTATVF=:GSCSTATVF,"
                + "GSCKZDUMCOL=:GSCKZDUMCOL,"
                + "GSCPSEUDOCOL=:GSCPSEUDOCOL,"
                + "GSCTEXTSCHL=:GSCTEXTSCHL,"
                + "GSCMUFRB=:GSCMUFRB,"
                + "GSCSCHLIAUF=:GSCSCHLIAUF,"
                + "GSCFIXTEMP=:GSCFIXTEMP,"
                + "GSCFIXTIME=:GSCFIXTIME,"
                + "GSCABRASION=:GSCABRASION,"
                + "GSCABRAMTR=:GSCABRAMTR,"
                + "GSCPROGRP=:GSCPROGRP,"
                + "GSCARTGRP=:GSCARTGRP,"
                + "GSCRECHNUM=:GSCRECHNUM,"
                + "GSCRECHNR=:GSCRECHNR,"
                + "GSCPRGRP=:GSCPRGRP,"
                + "GSCPREIS=:GSCPREIS,"
                + "GSCZUAK=:GSCZUAK,"
                + "GSCZUPROZ=:GSCZUPROZ,"
                + "GSCANFART=:GSCANFART,"
                + "GSCWERT=:GSCWERT,"
                + "GSCWERTPROZ=:GSCWERTPROZ,"
                + "GSCZUAB=:GSCZUAB,"
                + "GSCZUABPROZ=:GSCZUABPROZ,"
                + "GSCZTWAHL=:GSCZTWAHL,"
                + "GSCVERLUST=:GSCVERLUST,"
                + "GSCKALKMG=:GSCKALKMG,"
                + "GSCLOAN=:GSCLOAN,"
                + "GSCLBAN=:GSCLBAN,"
                + "GSCLPAN=:GSCLPAN,"
                + "GSCPKL=:GSCPKL,"
                + "GSCMU=:GSCMU,"
                + "GSCMURLOD=:GSCMURLOD,"
                + "GSCMUPROD=:GSCMUPROD,"
                + "GSCMUCTOD=:GSCMUCTOD,"
                + "GSCMUBIRL=:GSCMUBIRL,"
                + "GSCMUDTRL=:GSCMUDTRL,"
                + "GSCCOLPT1=:GSCCOLPT1,"
                + "GSCCOLPT2=:GSCCOLPT2,"
                + "GSCCOLPT3=:GSCCOLPT3,"
                + "GSCCOLPT4=:GSCCOLPT4,"
                + "GSCFILLER=:GSCFILLER"
                + " WHERE  "
                + "  GSCMANDANT=:GSCMANDANT AND GSCART=:GSCART  AND GSCVAR=:GSCVAR  AND GSCFARBE=:GSCFARBE";
            or1.Parameters.Add("GSCMANDANT", OracleType.NVarChar).Value = dwData["GSCMANDANT"].ToString();
            or1.Parameters.Add("GSCART", OracleType.NVarChar).Value = dwData["GSCART"].ToString();
            or1.Parameters.Add("GSCVAR", OracleType.NVarChar).Value = dwData["GSCVAR"].ToString();
            or1.Parameters.Add("GSCFARBE", OracleType.NVarChar).Value = dwData["GSCFARBE"].ToString();
            or1.Parameters.Add("GSCAENDZL", OracleType.NVarChar).Value = dwData["GSCAENDZL"].ToString();
            or1.Parameters.Add("GSCAENDBEN", OracleType.NVarChar).Value = dwData["GSCAENDBEN"].ToString();
            or1.Parameters.Add("GSCAENDDAT", OracleType.NVarChar).Value = dwData["GSCAENDDAT"].ToString();
            or1.Parameters.Add("GSCNEUBEN", OracleType.NVarChar).Value = dwData["GSCNEUBEN"].ToString();
            or1.Parameters.Add("GSCNEUDAT", OracleType.NVarChar).Value = dwData["GSCNEUDAT"].ToString();
            or1.Parameters.Add("GSCSTATUS", OracleType.NVarChar).Value = dwData["GSCSTATUS"].ToString();
            or1.Parameters.Add("GSCSFKZ", OracleType.NVarChar).Value = dwData["GSCSFKZ"].ToString();
            or1.Parameters.Add("GSCBEZ", OracleType.NVarChar).Value = dwData["GSCBEZ"].ToString();
            or1.Parameters.Add("GSCFKARTNR", OracleType.NVarChar).Value = dwData["GSCFKARTNR"].ToString();
            or1.Parameters.Add("GSCKTFARBE", OracleType.NVarChar).Value = dwData["GSCKTFARBE"].ToString();
            or1.Parameters.Add("GSCBOM", OracleType.NVarChar).Value = dwData["GSCBOM"].ToString();
            or1.Parameters.Add("GSCBOMCGRP", OracleType.NVarChar).Value = dwData["GSCBOMCGRP"].ToString();
            or1.Parameters.Add("GSCFDVF", OracleType.NVarChar).Value = dwData["GSCFDVF"].ToString();
            or1.Parameters.Add("GSCVORB", OracleType.NVarChar).Value = dwData["GSCVORB"].ToString();
            or1.Parameters.Add("GSCNACHB", OracleType.NVarChar).Value = dwData["GSCNACHB"].ToString();
            or1.Parameters.Add("GSCFA", OracleType.NVarChar).Value = dwData["GSCFA"].ToString();
            or1.Parameters.Add("GSCRUESTGRP", OracleType.NVarChar).Value = dwData["GSCRUESTGRP"].ToString();
            or1.Parameters.Add("GSCPRUEFGRP", OracleType.NVarChar).Value = dwData["GSCPRUEFGRP"].ToString();
            or1.Parameters.Add("GSCSTATVF", OracleType.NVarChar).Value = dwData["GSCSTATVF"].ToString();
            or1.Parameters.Add("GSCKZDUMCOL", OracleType.NVarChar).Value = dwData["GSCKZDUMCOL"].ToString();
            or1.Parameters.Add("GSCPSEUDOCOL", OracleType.NVarChar).Value = dwData["GSCPSEUDOCOL"].ToString();
            or1.Parameters.Add("GSCTEXTSCHL", OracleType.NVarChar).Value = dwData["GSCTEXTSCHL"].ToString();
            or1.Parameters.Add("GSCMUFRB", OracleType.NVarChar).Value = dwData["GSCMUFRB"].ToString();
            or1.Parameters.Add("GSCSCHLIAUF", OracleType.NVarChar).Value = dwData["GSCSCHLIAUF"].ToString();
            or1.Parameters.Add("GSCFIXTEMP", OracleType.NVarChar).Value = dwData["GSCFIXTEMP"].ToString();
            or1.Parameters.Add("GSCFIXTIME", OracleType.NVarChar).Value = dwData["GSCFIXTIME"].ToString();
            or1.Parameters.Add("GSCABRASION", OracleType.NVarChar).Value = dwData["GSCABRASION"].ToString();
            or1.Parameters.Add("GSCABRAMTR", OracleType.NVarChar).Value = dwData["GSCABRAMTR"].ToString();
            or1.Parameters.Add("GSCPROGRP", OracleType.NVarChar).Value = dwData["GSCPROGRP"].ToString();
            or1.Parameters.Add("GSCARTGRP", OracleType.NVarChar).Value = dwData["GSCARTGRP"].ToString();
            or1.Parameters.Add("GSCRECHNUM", OracleType.NVarChar).Value = dwData["GSCRECHNUM"].ToString();
            or1.Parameters.Add("GSCRECHNR", OracleType.NVarChar).Value = dwData["GSCRECHNR"].ToString();
            or1.Parameters.Add("GSCPRGRP", OracleType.NVarChar).Value = dwData["GSCPRGRP"].ToString();
            or1.Parameters.Add("GSCPREIS", OracleType.NVarChar).Value = dwData["GSCPREIS"].ToString();
            or1.Parameters.Add("GSCZUAK", OracleType.NVarChar).Value = dwData["GSCZUAK"].ToString();
            or1.Parameters.Add("GSCZUPROZ", OracleType.NVarChar).Value = dwData["GSCZUPROZ"].ToString();
            or1.Parameters.Add("GSCANFART", OracleType.NVarChar).Value = dwData["GSCANFART"].ToString();
            or1.Parameters.Add("GSCWERT", OracleType.NVarChar).Value = dwData["GSCWERT"].ToString();
            or1.Parameters.Add("GSCWERTPROZ", OracleType.NVarChar).Value = dwData["GSCWERTPROZ"].ToString();
            or1.Parameters.Add("GSCZUAB", OracleType.NVarChar).Value = dwData["GSCZUAB"].ToString();
            or1.Parameters.Add("GSCZUABPROZ", OracleType.NVarChar).Value = dwData["GSCZUABPROZ"].ToString();
            or1.Parameters.Add("GSCZTWAHL", OracleType.NVarChar).Value = dwData["GSCZTWAHL"].ToString();
            or1.Parameters.Add("GSCVERLUST", OracleType.NVarChar).Value = dwData["GSCVERLUST"].ToString();
            or1.Parameters.Add("GSCKALKMG", OracleType.NVarChar).Value = dwData["GSCKALKMG"].ToString();
            or1.Parameters.Add("GSCLOAN", OracleType.NVarChar).Value = dwData["GSCLOAN"].ToString();
            or1.Parameters.Add("GSCLBAN", OracleType.NVarChar).Value = dwData["GSCLBAN"].ToString();
            or1.Parameters.Add("GSCLPAN", OracleType.NVarChar).Value = dwData["GSCLPAN"].ToString();
            or1.Parameters.Add("GSCPKL", OracleType.NVarChar).Value = dwData["GSCPKL"].ToString();
            or1.Parameters.Add("GSCMU", OracleType.NVarChar).Value = dwData["GSCMU"].ToString();
            or1.Parameters.Add("GSCMURLOD", OracleType.NVarChar).Value = dwData["GSCMURLOD"].ToString();
            or1.Parameters.Add("GSCMUPROD", OracleType.NVarChar).Value = dwData["GSCMUPROD"].ToString();
            or1.Parameters.Add("GSCMUCTOD", OracleType.NVarChar).Value = dwData["GSCMUCTOD"].ToString();
            or1.Parameters.Add("GSCMUBIRL", OracleType.NVarChar).Value = dwData["GSCMUBIRL"].ToString();
            or1.Parameters.Add("GSCMUDTRL", OracleType.NVarChar).Value = dwData["GSCMUDTRL"].ToString();
            or1.Parameters.Add("GSCCOLPT1", OracleType.NVarChar).Value = dwData["GSCCOLPT1"].ToString();
            or1.Parameters.Add("GSCCOLPT2", OracleType.NVarChar).Value = dwData["GSCCOLPT2"].ToString();
            or1.Parameters.Add("GSCCOLPT3", OracleType.NVarChar).Value = dwData["GSCCOLPT3"].ToString();
            or1.Parameters.Add("GSCCOLPT4", OracleType.NVarChar).Value = dwData["GSCCOLPT4"].ToString();
            or1.Parameters.Add("GSCFILLER", OracleType.NVarChar).Value = dwData["GSCFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateGASTGA(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE GASTGA SET "
+ "GAGMANDANT=:GAGMANDANT,"
+ "GAGART=:GAGART,"
+ "GAGVAR=:GAGVAR,"
+ "GAGFARBE=:GAGFARBE,"
+ "GAGPOS=:GAGPOS,"
+ "GAGGART=:GAGGART,"
+ "GAGGVAR=:GAGGVAR,"
+ "GAGGFARBE=:GAGGFARBE,"
+ "GAGABF=:GAGABF,"
+ "GAGKGNET=:GAGKGNET,"
+ "GAGKGBRUT=:GAGKGBRUT,"
+ "GAGDISPOKZ=:GAGDISPOKZ,"
+ "GAGBEM=:GAGBEM,"
+ "GAGFDZANZ=:GAGFDZANZ,"
+ "GAGANTEIL=:GAGANTEIL,"
+ "GAGBASIS=:GAGBASIS,"
+ "GAGFILLER=:GAGFILLER "
                + " WHERE  "
                + "  GAGMANDANT=:GAGMANDANT AND GAGART=:GAGART  AND GAGVAR=:GAGVAR  AND GAGFARBE=:GAGFARBE AND GAGPOS=:GAGPOS";

            or1.Parameters.Add("GAGMANDANT", OracleType.NVarChar).Value = dwData["GAGMANDANT"].ToString();
            or1.Parameters.Add("GAGART", OracleType.NVarChar).Value = dwData["GAGART"].ToString();
            or1.Parameters.Add("GAGVAR", OracleType.NVarChar).Value = dwData["GAGVAR"].ToString();
            or1.Parameters.Add("GAGFARBE", OracleType.NVarChar).Value = dwData["GAGFARBE"].ToString();
            or1.Parameters.Add("GAGPOS", OracleType.NVarChar).Value = dwData["GAGPOS"].ToString();
            or1.Parameters.Add("GAGGART", OracleType.NVarChar).Value = dwData["GAGGART"].ToString();
            or1.Parameters.Add("GAGGVAR", OracleType.NVarChar).Value = dwData["GAGGVAR"].ToString();
            or1.Parameters.Add("GAGGFARBE", OracleType.NVarChar).Value = dwData["GAGGFARBE"].ToString();
            or1.Parameters.Add("GAGABF", OracleType.NVarChar).Value = dwData["GAGABF"].ToString();
            or1.Parameters.Add("GAGKGNET", OracleType.NVarChar).Value = dwData["GAGKGNET"].ToString();
            or1.Parameters.Add("GAGKGBRUT", OracleType.NVarChar).Value = dwData["GAGKGBRUT"].ToString();
            or1.Parameters.Add("GAGDISPOKZ", OracleType.NVarChar).Value = dwData["GAGDISPOKZ"].ToString();
            or1.Parameters.Add("GAGBEM", OracleType.NVarChar).Value = dwData["GAGBEM"].ToString();
            or1.Parameters.Add("GAGFDZANZ", OracleType.NVarChar).Value = dwData["GAGFDZANZ"].ToString();
            or1.Parameters.Add("GAGANTEIL", OracleType.NVarChar).Value = dwData["GAGANTEIL"].ToString();
            or1.Parameters.Add("GAGBASIS", OracleType.NVarChar).Value = dwData["GAGBASIS"].ToString();
            or1.Parameters.Add("GAGFILLER", OracleType.NVarChar).Value = dwData["GAGFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateGZKON(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE GZKON SET "
                + "GZKMANDANT=:GZKMANDANT,"
                + "GZKART=:GZKART,"
                + "GZKVAR=:GZKVAR,"
                + "GZKFARBE=:GZKFARBE,"
                + "GZKPOS=:GZKPOS,"
                + "GZKGART=:GZKGART,"
                + "GZKGVAR=:GZKGVAR,"
                + "GZKGFARBE=:GZKGFARBE,"
                + "GZKZUAB=:GZKZUAB,"
                + "GZKANTEIL=:GZKANTEIL,"
                + "GZKABF=:GZKABF,"
                + "GZKDISPOKZ=:GZKDISPOKZ,"
                + "GZKFDZANZ=:GZKFDZANZ,"
                + "GZKEINZW1=:GZKEINZW1,"
                + "GZKEINZW2=:GZKEINZW2,"
                + "GZKEINZW3=:GZKEINZW3,"
                + "GZKEINZW4=:GZKEINZW4,"
                + "GZKTOUREN1=:GZKTOUREN1,"
                + "GZKDREHUNG1=:GZKDREHUNG1,"
                + "GZKTOUREN2=:GZKTOUREN2,"
                + "GZKDREHUNG2=:GZKDREHUNG2,"
                + "GZKTOUREN3=:GZKTOUREN3,"
                + "GZKDREHUNG3=:GZKDREHUNG3,"
                + "GZKTOUREN4=:GZKTOUREN4,"
                + "GZKDREHUNG4=:GZKDREHUNG4,"
                + "GZKFILLER=:GZKFILLER "
                + " WHERE  "
                + "  GZKMANDANT=:GZKMANDANT AND GZKART=:GZKART AND GZKVAR=:GZKVAR AND GZKFARBE=:GZKFARBE AND GZKPOS=:GZKPOS";
            or1.Parameters.Add("GZKMANDANT", OracleType.NVarChar).Value = dwData["GZKMANDANT"].ToString();
            or1.Parameters.Add("GZKART", OracleType.NVarChar).Value = dwData["GZKART"].ToString();
            or1.Parameters.Add("GZKVAR", OracleType.NVarChar).Value = dwData["GZKVAR"].ToString();
            or1.Parameters.Add("GZKFARBE", OracleType.NVarChar).Value = dwData["GZKFARBE"].ToString();
            or1.Parameters.Add("GZKPOS", OracleType.NVarChar).Value = dwData["GZKPOS"].ToString();
            or1.Parameters.Add("GZKGART", OracleType.NVarChar).Value = dwData["GZKGART"].ToString();
            or1.Parameters.Add("GZKGVAR", OracleType.NVarChar).Value = dwData["GZKGVAR"].ToString();
            or1.Parameters.Add("GZKGFARBE", OracleType.NVarChar).Value = dwData["GZKGFARBE"].ToString();
            or1.Parameters.Add("GZKZUAB", OracleType.NVarChar).Value = dwData["GZKZUAB"].ToString();
            or1.Parameters.Add("GZKANTEIL", OracleType.NVarChar).Value = dwData["GZKANTEIL"].ToString();
            or1.Parameters.Add("GZKABF", OracleType.NVarChar).Value = dwData["GZKABF"].ToString();
            or1.Parameters.Add("GZKDISPOKZ", OracleType.NVarChar).Value = dwData["GZKDISPOKZ"].ToString();
            or1.Parameters.Add("GZKFDZANZ", OracleType.NVarChar).Value = dwData["GZKFDZANZ"].ToString();
            or1.Parameters.Add("GZKEINZW1", OracleType.NVarChar).Value = dwData["GZKEINZW1"].ToString();
            or1.Parameters.Add("GZKEINZW2", OracleType.NVarChar).Value = dwData["GZKEINZW2"].ToString();
            or1.Parameters.Add("GZKEINZW3", OracleType.NVarChar).Value = dwData["GZKEINZW3"].ToString();
            or1.Parameters.Add("GZKEINZW4", OracleType.NVarChar).Value = dwData["GZKEINZW4"].ToString();
            or1.Parameters.Add("GZKTOUREN1", OracleType.NVarChar).Value = dwData["GZKTOUREN1"].ToString();
            or1.Parameters.Add("GZKDREHUNG1", OracleType.NVarChar).Value = dwData["GZKDREHUNG1"].ToString();
            or1.Parameters.Add("GZKTOUREN2", OracleType.NVarChar).Value = dwData["GZKTOUREN2"].ToString();
            or1.Parameters.Add("GZKDREHUNG2", OracleType.NVarChar).Value = dwData["GZKDREHUNG2"].ToString();
            or1.Parameters.Add("GZKTOUREN3", OracleType.NVarChar).Value = dwData["GZKTOUREN3"].ToString();
            or1.Parameters.Add("GZKDREHUNG3", OracleType.NVarChar).Value = dwData["GZKDREHUNG3"].ToString();
            or1.Parameters.Add("GZKTOUREN4", OracleType.NVarChar).Value = dwData["GZKTOUREN4"].ToString();
            or1.Parameters.Add("GZKDREHUNG4", OracleType.NVarChar).Value = dwData["GZKDREHUNG4"].ToString();
            or1.Parameters.Add("GZKFILLER", OracleType.NVarChar).Value = dwData["GZKFILLER"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region======H==============
        #endregion

        #region======K==============
        //KDSTAMM KUNDVER

        public void UpdateKDSTAMM(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====

            or1.CommandText = "UPDATE KDSTAMM SET "
+ "KDMANDANT=:KDMANDANT,"
+ "KDKUNDNR=:KDKUNDNR,"
+ "KDKUNDNA=:KDKUNDNA,"
+ "KDLAND=:KDLAND,"
+ "KDPLZ=:KDPLZ,"
+ "KDORT=:KDORT,"
+ "KDBZ=:KDBZ,"
+ "KDBZBEZ=:KDBZBEZ,"
+ "KDSTAKZ=:KDSTAKZ,"
+ "KDSTADAT=:KDSTADAT,"
+ "KDABCKL=:KDABCKL,"
+ "KDANREDE=:KDANREDE,"
+ "KDNAME1=:KDNAME1,"
+ "KDKNAME=:KDKNAME,"
+ "KDNAME2=:KDNAME2,"
+ "KDSTRASSE1=:KDSTRASSE1,"
+ "KDSTRASSE2=:KDSTRASSE2,"
+ "KDPLZPOSTF=:KDPLZPOSTF,"
+ "KDPOSTFACH=:KDPOSTFACH,"
+ "KDTEL=:KDTEL,"
+ "KDTELEX=:KDTELEX,"
+ "KDFAX=:KDFAX,"
+ "KDBTX=:KDBTX,"
+ "KDDATEX=:KDDATEX,"
+ "KDMBOX=:KDMBOX,"
+ "KDMAILADR=:KDMAILADR,"
+ "KDTTEX=:KDTTEX,"
+ "KDCOUNTY=:KDCOUNTY,"
+ "KDCITY=:KDCITY,"
+ "KDZENTR=:KDZENTR,"
+ "KDZENTRR=:KDZENTRR,"
+ "KDSPRKZ=:KDSPRKZ,"
+ "KDBBN=:KDBBN,"
+ "KDSONDSTA=:KDSONDSTA,"
+ "KDKDNRALT=:KDKDNRALT,"
+ "KDLO=:KDLO,"
+ "KDLB=:KDLB,"
+ "KDLP=:KDLP,"
+ "KDLIEFNR=:KDLIEFNR,"
+ "KDINVDAT=:KDINVDAT,"
+ "KDDEBNR=:KDDEBNR,"
+ "KDKREDNR=:KDKREDNR,"
+ "KDUEBKZ=:KDUEBKZ,"
+ "KDAUSK=:KDAUSK,"
+ "KDAUSKKZ=:KDAUSKKZ,"
+ "KDMAHNST=:KDMAHNST,"
+ "KDMAHNH=:KDMAHNH,"
+ "KDGRPCUNO=:KDGRPCUNO,"
+ "KDCLEARCUNO=:KDCLEARCUNO,"
+ "KDBIC1=:KDBIC1,"
+ "KDIBAN1=:KDIBAN1,"
+ "KDBIC2=:KDBIC2,"
+ "KDIBAN2=:KDIBAN2,"
+ "KDKREDLIM1=:KDKREDLIM1,"
+ "KDKREDVON1=:KDKREDVON1,"
+ "KDKREDBIS1=:KDKREDBIS1,"
+ "KDKREDNLDAT1=:KDKREDNLDAT1,"
+ "KDVERS1=:KDVERS1,"
+ "KDVERS21=:KDVERS21,"
+ "KDKREDSB1=:KDKREDSB1,"
+ "KDVERSTAGE1=:KDVERSTAGE1,"
+ "KDVERSNR1=:KDVERSNR1,"
+ "KDKREDLIM2=:KDKREDLIM2,"
+ "KDKREDVON2=:KDKREDVON2,"
+ "KDKREDBIS2=:KDKREDBIS2,"
+ "KDKREDNLDAT2=:KDKREDNLDAT2,"
+ "KDVERS2=:KDVERS2,"
+ "KDVERS22=:KDVERS22,"
+ "KDKREDSB2=:KDKREDSB2,"
+ "KDVERSTAGE2=:KDVERSTAGE2,"
+ "KDVERSNR2=:KDVERSNR2,"
+ "KDKREDLIM3=:KDKREDLIM3,"
+ "KDKREDVON3=:KDKREDVON3,"
+ "KDKREDBIS3=:KDKREDBIS3,"
+ "KDKREDNLDAT3=:KDKREDNLDAT3,"
+ "KDVERS3=:KDVERS3,"
+ "KDVERS23=:KDVERS23,"
+ "KDKREDSB3=:KDKREDSB3,"
+ "KDVERSTAGE3=:KDVERSTAGE3,"
+ "KDVERSNR3=:KDVERSNR3,"
+ "KDKREDLIM4=:KDKREDLIM4,"
+ "KDKREDVON4=:KDKREDVON4,"
+ "KDKREDBIS4=:KDKREDBIS4,"
+ "KDKREDNLDAT4=:KDKREDNLDAT4,"
+ "KDVERS4=:KDVERS4,"
+ "KDVERS24=:KDVERS24,"
+ "KDKREDSB4=:KDKREDSB4,"
+ "KDVERSTAGE4=:KDVERSTAGE4,"
+ "KDVERSNR4=:KDVERSNR4,"
+ "KDKREDLIM5=:KDKREDLIM5,"
+ "KDKREDVON5=:KDKREDVON5,"
+ "KDKREDBIS5=:KDKREDBIS5,"
+ "KDKREDNLDAT5=:KDKREDNLDAT5,"
+ "KDVERS5=:KDVERS5,"
+ "KDVERS25=:KDVERS25,"
+ "KDKREDSB5=:KDKREDSB5,"
+ "KDVERSTAGE5=:KDVERSTAGE5,"
+ "KDVERSNR5=:KDVERSNR5,"
+ "KDKREDEHA=:KDKREDEHA,"
+ "KDKREDEHAR=:KDKREDEHAR,"
+ "KDKREDNOLI=:KDKREDNOLI,"
+ "KDKREDNOLIV=:KDKREDNOLIV,"
+ "KDKREDNOLIB=:KDKREDNOLIB,"
+ "KDAUFBESTTO=:KDAUFBESTTO,"
+ "KDVERSUMLTO=:KDVERSUMLTO,"
+ "KDOPSALDOTO=:KDOPSALDOTO,"
+ "KDZUSKRED=:KDZUSKRED,"
+ "KDZKREVON=:KDZKREVON,"
+ "KDZKREBIS=:KDZKREBIS,"
+ "KDZKREDSB=:KDZKREDSB,"
+ "KDOPSALDO=:KDOPSALDO,"
+ "KDWEOBLIGO=:KDWEOBLIGO,"
+ "KDVERSUML=:KDVERSUML,"
+ "KDSPERRKZ=:KDSPERRKZ,"
+ "KDSPERRGRD=:KDSPERRGRD,"
+ "KDLAUFDAT=:KDLAUFDAT,"
+ "KDBUCHHDAT=:KDBUCHHDAT,"
+ "KDBRANCHE=:KDBRANCHE,"
+ "KDFAKTART=:KDFAKTART,"
+ "KDKORT=:KDKORT,"
+ "KDLIMITKZ=:KDLIMITKZ,"
+ "KDSPLIEFKZ=:KDSPLIEFKZ,"
+ "KDAUFBEST=:KDAUFBEST,"
+ "KDAUFBESTU=:KDAUFBESTU,"
+ "KDPREISPRF=:KDPREISPRF,"
+ "KDMATPRF=:KDMATPRF,"
+ "KDBRTPRF=:KDBRTPRF,"
+ "KDGQMPRF=:KDGQMPRF,"
+ "KDSTKGPRF=:KDSTKGPRF,"
+ "KDSCHLIPRF=:KDSCHLIPRF,"
+ "KDSCHLIABW=:KDSCHLIABW,"
+ "KDDRPAR=:KDDRPAR,"
+ "KDMWSTID=:KDMWSTID,"
+ "KDMWSTID2=:KDMWSTID2,"
+ "KDLBMUSTR=:KDLBMUSTR,"
+ "KDFBMUSTR=:KDFBMUSTR,"
+ "KDSTLAND=:KDSTLAND,"
+ "KDSTREGBZ=:KDSTREGBZ,"
+ "KDSTKREIS=:KDSTKREIS,"
+ "KDSTORT=:KDSTORT,"
+ "KDLSART=:KDLSART,"
+ "KDREGMWST=:KDREGMWST,"
+ "KDMUSTERKZ=:KDMUSTERKZ,"
+ "KDUMSVVJH=:KDUMSVVJH,"
+ "KDUMSVJH=:KDUMSVJH,"
+ "KDUMSLJH=:KDUMSLJH,"
+ "KDPRFZEUG=:KDPRFZEUG,"
+ "KDKONZMIT=:KDKONZMIT,"
+ "KDRAITING=:KDRAITING,"
+ "KDRECHWERT1=:KDRECHWERT1,"
+ "KDRECHWERT2=:KDRECHWERT2,"
+ "KDRECHWERT3=:KDRECHWERT3,"
+ "KDRECHWERT4=:KDRECHWERT4,"
+ "KDRECHWERT5=:KDRECHWERT5,"
+ "KDKREDKDNR=:KDKREDKDNR,"
+ "KDKOND=:KDKOND,"
+ "KDKDARTBEZ=:KDKDARTBEZ,"
+ "KDKFIBUDAT=:KDKFIBUDAT,"
+ "KDKFIBUZEIT=:KDKFIBUZEIT,"
+ "KDILN=:KDILN,"
+ "KDDEBNRLAE=:KDDEBNRLAE,"
+ "KDFACLIMIT=:KDFACLIMIT,"
+ "KDSHIPINVD=:KDSHIPINVD,"
+ "KDAUFBUTO=:KDAUFBUTO,"
+ "KDMAXBST=:KDMAXBST,"
+ "KDGRUPPE=:KDGRUPPE,"
+ "KDEORI=:KDEORI,"
+ "KDEORINL=:KDEORINL,"
+ "KDNTSCV=:KDNTSCV,"
+ "KDNTSCE=:KDNTSCE,"
+ "KDFILLER=:KDFILLER,"
+ "KDAENZL=:KDAENZL,"
+ "KDAENB=:KDAENB,"
+ "KDAEND=:KDAEND,"
+ "KDNEUB=:KDNEUB,"
+ "KDNEUD=:KDNEUD "
                + " WHERE  "
                + "  KDMANDANT=:KDMANDANT AND KDKUNDNR=:KDKUNDNR";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("KDMANDANT", OracleType.NVarChar).Value = dwData["KDMANDANT"].ToString();
            or1.Parameters.Add("KDKUNDNR", OracleType.NVarChar).Value = dwData["KDKUNDNR"].ToString();
            or1.Parameters.Add("KDKUNDNA", OracleType.NVarChar).Value = dwData["KDKUNDNA"].ToString();
            or1.Parameters.Add("KDLAND", OracleType.NVarChar).Value = dwData["KDLAND"].ToString();
            or1.Parameters.Add("KDPLZ", OracleType.NVarChar).Value = dwData["KDPLZ"].ToString();
            or1.Parameters.Add("KDORT", OracleType.NVarChar).Value = dwData["KDORT"].ToString();
            or1.Parameters.Add("KDBZ", OracleType.NVarChar).Value = dwData["KDBZ"].ToString();
            or1.Parameters.Add("KDBZBEZ", OracleType.NVarChar).Value = dwData["KDBZBEZ"].ToString();
            or1.Parameters.Add("KDSTAKZ", OracleType.NVarChar).Value = dwData["KDSTAKZ"].ToString();
            or1.Parameters.Add("KDSTADAT", OracleType.NVarChar).Value = dwData["KDSTADAT"].ToString();
            or1.Parameters.Add("KDABCKL", OracleType.NVarChar).Value = dwData["KDABCKL"].ToString();
            or1.Parameters.Add("KDANREDE", OracleType.NVarChar).Value = dwData["KDANREDE"].ToString();
            or1.Parameters.Add("KDNAME1", OracleType.NVarChar).Value = dwData["KDNAME1"].ToString();
            or1.Parameters.Add("KDKNAME", OracleType.NVarChar).Value = dwData["KDKNAME"].ToString();
            or1.Parameters.Add("KDNAME2", OracleType.NVarChar).Value = dwData["KDNAME2"].ToString();
            or1.Parameters.Add("KDSTRASSE1", OracleType.NVarChar).Value = dwData["KDSTRASSE1"].ToString();
            or1.Parameters.Add("KDSTRASSE2", OracleType.NVarChar).Value = dwData["KDSTRASSE2"].ToString();
            or1.Parameters.Add("KDPLZPOSTF", OracleType.NVarChar).Value = dwData["KDPLZPOSTF"].ToString();
            or1.Parameters.Add("KDPOSTFACH", OracleType.NVarChar).Value = dwData["KDPOSTFACH"].ToString();
            or1.Parameters.Add("KDTEL", OracleType.NVarChar).Value = dwData["KDTEL"].ToString();
            or1.Parameters.Add("KDTELEX", OracleType.NVarChar).Value = dwData["KDTELEX"].ToString();
            or1.Parameters.Add("KDFAX", OracleType.NVarChar).Value = dwData["KDFAX"].ToString();
            or1.Parameters.Add("KDBTX", OracleType.NVarChar).Value = dwData["KDBTX"].ToString();
            or1.Parameters.Add("KDDATEX", OracleType.NVarChar).Value = dwData["KDDATEX"].ToString();
            or1.Parameters.Add("KDMBOX", OracleType.NVarChar).Value = dwData["KDMBOX"].ToString();
            or1.Parameters.Add("KDMAILADR", OracleType.NVarChar).Value = dwData["KDMAILADR"].ToString();
            or1.Parameters.Add("KDTTEX", OracleType.NVarChar).Value = dwData["KDTTEX"].ToString();
            or1.Parameters.Add("KDCOUNTY", OracleType.NVarChar).Value = dwData["KDCOUNTY"].ToString();
            or1.Parameters.Add("KDCITY", OracleType.NVarChar).Value = dwData["KDCITY"].ToString();
            or1.Parameters.Add("KDZENTR", OracleType.NVarChar).Value = dwData["KDZENTR"].ToString();
            or1.Parameters.Add("KDZENTRR", OracleType.NVarChar).Value = dwData["KDZENTRR"].ToString();
            or1.Parameters.Add("KDSPRKZ", OracleType.NVarChar).Value = dwData["KDSPRKZ"].ToString();
            or1.Parameters.Add("KDBBN", OracleType.NVarChar).Value = dwData["KDBBN"].ToString();
            or1.Parameters.Add("KDSONDSTA", OracleType.NVarChar).Value = dwData["KDSONDSTA"].ToString();
            or1.Parameters.Add("KDKDNRALT", OracleType.NVarChar).Value = dwData["KDKDNRALT"].ToString();
            or1.Parameters.Add("KDLO", OracleType.NVarChar).Value = dwData["KDLO"].ToString();
            or1.Parameters.Add("KDLB", OracleType.NVarChar).Value = dwData["KDLB"].ToString();
            or1.Parameters.Add("KDLP", OracleType.NVarChar).Value = dwData["KDLP"].ToString();
            or1.Parameters.Add("KDLIEFNR", OracleType.NVarChar).Value = dwData["KDLIEFNR"].ToString();
            or1.Parameters.Add("KDINVDAT", OracleType.NVarChar).Value = dwData["KDINVDAT"].ToString();
            or1.Parameters.Add("KDDEBNR", OracleType.NVarChar).Value = dwData["KDDEBNR"].ToString();
            or1.Parameters.Add("KDKREDNR", OracleType.NVarChar).Value = dwData["KDKREDNR"].ToString();
            or1.Parameters.Add("KDUEBKZ", OracleType.NVarChar).Value = dwData["KDUEBKZ"].ToString();
            or1.Parameters.Add("KDAUSK", OracleType.NVarChar).Value = dwData["KDAUSK"].ToString();
            or1.Parameters.Add("KDAUSKKZ", OracleType.NVarChar).Value = dwData["KDAUSKKZ"].ToString();
            or1.Parameters.Add("KDMAHNST", OracleType.NVarChar).Value = dwData["KDMAHNST"].ToString();
            or1.Parameters.Add("KDMAHNH", OracleType.NVarChar).Value = dwData["KDMAHNH"].ToString();
            or1.Parameters.Add("KDGRPCUNO", OracleType.NVarChar).Value = dwData["KDGRPCUNO"].ToString();
            or1.Parameters.Add("KDCLEARCUNO", OracleType.NVarChar).Value = dwData["KDCLEARCUNO"].ToString();
            or1.Parameters.Add("KDBIC1", OracleType.NVarChar).Value = dwData["KDBIC1"].ToString();
            or1.Parameters.Add("KDIBAN1", OracleType.NVarChar).Value = dwData["KDIBAN1"].ToString();
            or1.Parameters.Add("KDBIC2", OracleType.NVarChar).Value = dwData["KDBIC2"].ToString();
            or1.Parameters.Add("KDIBAN2", OracleType.NVarChar).Value = dwData["KDIBAN2"].ToString();
            or1.Parameters.Add("KDKREDLIM1", OracleType.NVarChar).Value = dwData["KDKREDLIM1"].ToString();
            or1.Parameters.Add("KDKREDVON1", OracleType.NVarChar).Value = dwData["KDKREDVON1"].ToString();
            or1.Parameters.Add("KDKREDBIS1", OracleType.NVarChar).Value = dwData["KDKREDBIS1"].ToString();
            or1.Parameters.Add("KDKREDNLDAT1", OracleType.NVarChar).Value = dwData["KDKREDNLDAT1"].ToString();
            or1.Parameters.Add("KDVERS1", OracleType.NVarChar).Value = dwData["KDVERS1"].ToString();
            or1.Parameters.Add("KDVERS21", OracleType.NVarChar).Value = dwData["KDVERS21"].ToString();
            or1.Parameters.Add("KDKREDSB1", OracleType.NVarChar).Value = dwData["KDKREDSB1"].ToString();
            or1.Parameters.Add("KDVERSTAGE1", OracleType.NVarChar).Value = dwData["KDVERSTAGE1"].ToString();
            or1.Parameters.Add("KDVERSNR1", OracleType.NVarChar).Value = dwData["KDVERSNR1"].ToString();
            or1.Parameters.Add("KDKREDLIM2", OracleType.NVarChar).Value = dwData["KDKREDLIM2"].ToString();
            or1.Parameters.Add("KDKREDVON2", OracleType.NVarChar).Value = dwData["KDKREDVON2"].ToString();
            or1.Parameters.Add("KDKREDBIS2", OracleType.NVarChar).Value = dwData["KDKREDBIS2"].ToString();
            or1.Parameters.Add("KDKREDNLDAT2", OracleType.NVarChar).Value = dwData["KDKREDNLDAT2"].ToString();
            or1.Parameters.Add("KDVERS2", OracleType.NVarChar).Value = dwData["KDVERS2"].ToString();
            or1.Parameters.Add("KDVERS22", OracleType.NVarChar).Value = dwData["KDVERS22"].ToString();
            or1.Parameters.Add("KDKREDSB2", OracleType.NVarChar).Value = dwData["KDKREDSB2"].ToString();
            or1.Parameters.Add("KDVERSTAGE2", OracleType.NVarChar).Value = dwData["KDVERSTAGE2"].ToString();
            or1.Parameters.Add("KDVERSNR2", OracleType.NVarChar).Value = dwData["KDVERSNR2"].ToString();
            or1.Parameters.Add("KDKREDLIM3", OracleType.NVarChar).Value = dwData["KDKREDLIM3"].ToString();
            or1.Parameters.Add("KDKREDVON3", OracleType.NVarChar).Value = dwData["KDKREDVON3"].ToString();
            or1.Parameters.Add("KDKREDBIS3", OracleType.NVarChar).Value = dwData["KDKREDBIS3"].ToString();
            or1.Parameters.Add("KDKREDNLDAT3", OracleType.NVarChar).Value = dwData["KDKREDNLDAT3"].ToString();
            or1.Parameters.Add("KDVERS3", OracleType.NVarChar).Value = dwData["KDVERS3"].ToString();
            or1.Parameters.Add("KDVERS23", OracleType.NVarChar).Value = dwData["KDVERS23"].ToString();
            or1.Parameters.Add("KDKREDSB3", OracleType.NVarChar).Value = dwData["KDKREDSB3"].ToString();
            or1.Parameters.Add("KDVERSTAGE3", OracleType.NVarChar).Value = dwData["KDVERSTAGE3"].ToString();
            or1.Parameters.Add("KDVERSNR3", OracleType.NVarChar).Value = dwData["KDVERSNR3"].ToString();
            or1.Parameters.Add("KDKREDLIM4", OracleType.NVarChar).Value = dwData["KDKREDLIM4"].ToString();
            or1.Parameters.Add("KDKREDVON4", OracleType.NVarChar).Value = dwData["KDKREDVON4"].ToString();
            or1.Parameters.Add("KDKREDBIS4", OracleType.NVarChar).Value = dwData["KDKREDBIS4"].ToString();
            or1.Parameters.Add("KDKREDNLDAT4", OracleType.NVarChar).Value = dwData["KDKREDNLDAT4"].ToString();
            or1.Parameters.Add("KDVERS4", OracleType.NVarChar).Value = dwData["KDVERS4"].ToString();
            or1.Parameters.Add("KDVERS24", OracleType.NVarChar).Value = dwData["KDVERS24"].ToString();
            or1.Parameters.Add("KDKREDSB4", OracleType.NVarChar).Value = dwData["KDKREDSB4"].ToString();
            or1.Parameters.Add("KDVERSTAGE4", OracleType.NVarChar).Value = dwData["KDVERSTAGE4"].ToString();
            or1.Parameters.Add("KDVERSNR4", OracleType.NVarChar).Value = dwData["KDVERSNR4"].ToString();
            or1.Parameters.Add("KDKREDLIM5", OracleType.NVarChar).Value = dwData["KDKREDLIM5"].ToString();
            or1.Parameters.Add("KDKREDVON5", OracleType.NVarChar).Value = dwData["KDKREDVON5"].ToString();
            or1.Parameters.Add("KDKREDBIS5", OracleType.NVarChar).Value = dwData["KDKREDBIS5"].ToString();
            or1.Parameters.Add("KDKREDNLDAT5", OracleType.NVarChar).Value = dwData["KDKREDNLDAT5"].ToString();
            or1.Parameters.Add("KDVERS5", OracleType.NVarChar).Value = dwData["KDVERS5"].ToString();
            or1.Parameters.Add("KDVERS25", OracleType.NVarChar).Value = dwData["KDVERS25"].ToString();
            or1.Parameters.Add("KDKREDSB5", OracleType.NVarChar).Value = dwData["KDKREDSB5"].ToString();
            or1.Parameters.Add("KDVERSTAGE5", OracleType.NVarChar).Value = dwData["KDVERSTAGE5"].ToString();
            or1.Parameters.Add("KDVERSNR5", OracleType.NVarChar).Value = dwData["KDVERSNR5"].ToString();
            or1.Parameters.Add("KDKREDEHA", OracleType.NVarChar).Value = dwData["KDKREDEHA"].ToString();
            or1.Parameters.Add("KDKREDEHAR", OracleType.NVarChar).Value = dwData["KDKREDEHAR"].ToString();
            or1.Parameters.Add("KDKREDNOLI", OracleType.NVarChar).Value = dwData["KDKREDNOLI"].ToString();
            or1.Parameters.Add("KDKREDNOLIV", OracleType.NVarChar).Value = dwData["KDKREDNOLIV"].ToString();
            or1.Parameters.Add("KDKREDNOLIB", OracleType.NVarChar).Value = dwData["KDKREDNOLIB"].ToString();
            or1.Parameters.Add("KDAUFBESTTO", OracleType.NVarChar).Value = dwData["KDAUFBESTTO"].ToString();
            or1.Parameters.Add("KDVERSUMLTO", OracleType.NVarChar).Value = dwData["KDVERSUMLTO"].ToString();
            or1.Parameters.Add("KDOPSALDOTO", OracleType.NVarChar).Value = dwData["KDOPSALDOTO"].ToString();
            or1.Parameters.Add("KDZUSKRED", OracleType.NVarChar).Value = dwData["KDZUSKRED"].ToString();
            or1.Parameters.Add("KDZKREVON", OracleType.NVarChar).Value = dwData["KDZKREVON"].ToString();
            or1.Parameters.Add("KDZKREBIS", OracleType.NVarChar).Value = dwData["KDZKREBIS"].ToString();
            or1.Parameters.Add("KDZKREDSB", OracleType.NVarChar).Value = dwData["KDZKREDSB"].ToString();
            or1.Parameters.Add("KDOPSALDO", OracleType.NVarChar).Value = dwData["KDOPSALDO"].ToString();
            or1.Parameters.Add("KDWEOBLIGO", OracleType.NVarChar).Value = dwData["KDWEOBLIGO"].ToString();
            or1.Parameters.Add("KDVERSUML", OracleType.NVarChar).Value = dwData["KDVERSUML"].ToString();
            or1.Parameters.Add("KDSPERRKZ", OracleType.NVarChar).Value = dwData["KDSPERRKZ"].ToString();
            or1.Parameters.Add("KDSPERRGRD", OracleType.NVarChar).Value = dwData["KDSPERRGRD"].ToString();
            or1.Parameters.Add("KDLAUFDAT", OracleType.NVarChar).Value = dwData["KDLAUFDAT"].ToString();
            or1.Parameters.Add("KDBUCHHDAT", OracleType.NVarChar).Value = dwData["KDBUCHHDAT"].ToString();
            or1.Parameters.Add("KDBRANCHE", OracleType.NVarChar).Value = dwData["KDBRANCHE"].ToString();
            or1.Parameters.Add("KDFAKTART", OracleType.NVarChar).Value = dwData["KDFAKTART"].ToString();
            or1.Parameters.Add("KDKORT", OracleType.NVarChar).Value = dwData["KDKORT"].ToString();
            or1.Parameters.Add("KDLIMITKZ", OracleType.NVarChar).Value = dwData["KDLIMITKZ"].ToString();
            or1.Parameters.Add("KDSPLIEFKZ", OracleType.NVarChar).Value = dwData["KDSPLIEFKZ"].ToString();
            or1.Parameters.Add("KDAUFBEST", OracleType.NVarChar).Value = dwData["KDAUFBEST"].ToString();
            or1.Parameters.Add("KDAUFBESTU", OracleType.NVarChar).Value = dwData["KDAUFBESTU"].ToString();
            or1.Parameters.Add("KDPREISPRF", OracleType.NVarChar).Value = dwData["KDPREISPRF"].ToString();
            or1.Parameters.Add("KDMATPRF", OracleType.NVarChar).Value = dwData["KDMATPRF"].ToString();
            or1.Parameters.Add("KDBRTPRF", OracleType.NVarChar).Value = dwData["KDBRTPRF"].ToString();
            or1.Parameters.Add("KDGQMPRF", OracleType.NVarChar).Value = dwData["KDGQMPRF"].ToString();
            or1.Parameters.Add("KDSTKGPRF", OracleType.NVarChar).Value = dwData["KDSTKGPRF"].ToString();
            or1.Parameters.Add("KDSCHLIPRF", OracleType.NVarChar).Value = dwData["KDSCHLIPRF"].ToString();
            or1.Parameters.Add("KDSCHLIABW", OracleType.NVarChar).Value = dwData["KDSCHLIABW"].ToString();
            or1.Parameters.Add("KDDRPAR", OracleType.NVarChar).Value = dwData["KDDRPAR"].ToString();
            or1.Parameters.Add("KDMWSTID", OracleType.NVarChar).Value = dwData["KDMWSTID"].ToString();
            or1.Parameters.Add("KDMWSTID2", OracleType.NVarChar).Value = dwData["KDMWSTID2"].ToString();
            or1.Parameters.Add("KDLBMUSTR", OracleType.NVarChar).Value = dwData["KDLBMUSTR"].ToString();
            or1.Parameters.Add("KDFBMUSTR", OracleType.NVarChar).Value = dwData["KDFBMUSTR"].ToString();
            or1.Parameters.Add("KDSTLAND", OracleType.NVarChar).Value = dwData["KDSTLAND"].ToString();
            or1.Parameters.Add("KDSTREGBZ", OracleType.NVarChar).Value = dwData["KDSTREGBZ"].ToString();
            or1.Parameters.Add("KDSTKREIS", OracleType.NVarChar).Value = dwData["KDSTKREIS"].ToString();
            or1.Parameters.Add("KDSTORT", OracleType.NVarChar).Value = dwData["KDSTORT"].ToString();
            or1.Parameters.Add("KDLSART", OracleType.NVarChar).Value = dwData["KDLSART"].ToString();
            or1.Parameters.Add("KDREGMWST", OracleType.NVarChar).Value = dwData["KDREGMWST"].ToString();
            or1.Parameters.Add("KDMUSTERKZ", OracleType.NVarChar).Value = dwData["KDMUSTERKZ"].ToString();
            or1.Parameters.Add("KDUMSVVJH", OracleType.NVarChar).Value = dwData["KDUMSVVJH"].ToString();
            or1.Parameters.Add("KDUMSVJH", OracleType.NVarChar).Value = dwData["KDUMSVJH"].ToString();
            or1.Parameters.Add("KDUMSLJH", OracleType.NVarChar).Value = dwData["KDUMSLJH"].ToString();
            or1.Parameters.Add("KDPRFZEUG", OracleType.NVarChar).Value = dwData["KDPRFZEUG"].ToString();
            or1.Parameters.Add("KDKONZMIT", OracleType.NVarChar).Value = dwData["KDKONZMIT"].ToString();
            or1.Parameters.Add("KDRAITING", OracleType.NVarChar).Value = dwData["KDRAITING"].ToString();
            or1.Parameters.Add("KDRECHWERT1", OracleType.NVarChar).Value = dwData["KDRECHWERT1"].ToString();
            or1.Parameters.Add("KDRECHWERT2", OracleType.NVarChar).Value = dwData["KDRECHWERT2"].ToString();
            or1.Parameters.Add("KDRECHWERT3", OracleType.NVarChar).Value = dwData["KDRECHWERT3"].ToString();
            or1.Parameters.Add("KDRECHWERT4", OracleType.NVarChar).Value = dwData["KDRECHWERT4"].ToString();
            or1.Parameters.Add("KDRECHWERT5", OracleType.NVarChar).Value = dwData["KDRECHWERT5"].ToString();
            or1.Parameters.Add("KDKREDKDNR", OracleType.NVarChar).Value = dwData["KDKREDKDNR"].ToString();
            or1.Parameters.Add("KDKOND", OracleType.NVarChar).Value = dwData["KDKOND"].ToString();
            or1.Parameters.Add("KDKDARTBEZ", OracleType.NVarChar).Value = dwData["KDKDARTBEZ"].ToString();
            or1.Parameters.Add("KDKFIBUDAT", OracleType.NVarChar).Value = dwData["KDKFIBUDAT"].ToString();
            or1.Parameters.Add("KDKFIBUZEIT", OracleType.NVarChar).Value = dwData["KDKFIBUZEIT"].ToString();
            or1.Parameters.Add("KDILN", OracleType.NVarChar).Value = dwData["KDILN"].ToString();
            or1.Parameters.Add("KDDEBNRLAE", OracleType.NVarChar).Value = dwData["KDDEBNRLAE"].ToString();
            or1.Parameters.Add("KDFACLIMIT", OracleType.NVarChar).Value = dwData["KDFACLIMIT"].ToString();
            or1.Parameters.Add("KDSHIPINVD", OracleType.NVarChar).Value = dwData["KDSHIPINVD"].ToString();
            or1.Parameters.Add("KDAUFBUTO", OracleType.NVarChar).Value = dwData["KDAUFBUTO"].ToString();
            or1.Parameters.Add("KDMAXBST", OracleType.NVarChar).Value = dwData["KDMAXBST"].ToString();
            or1.Parameters.Add("KDGRUPPE", OracleType.NVarChar).Value = dwData["KDGRUPPE"].ToString();
            or1.Parameters.Add("KDEORI", OracleType.NVarChar).Value = dwData["KDEORI"].ToString();
            or1.Parameters.Add("KDEORINL", OracleType.NVarChar).Value = dwData["KDEORINL"].ToString();
            or1.Parameters.Add("KDNTSCV", OracleType.NVarChar).Value = dwData["KDNTSCV"].ToString();
            or1.Parameters.Add("KDNTSCE", OracleType.NVarChar).Value = dwData["KDNTSCE"].ToString();
            or1.Parameters.Add("KDFILLER", OracleType.NVarChar).Value = dwData["KDFILLER"].ToString();
            or1.Parameters.Add("KDAENZL", OracleType.NVarChar).Value = dwData["KDAENZL"].ToString();
            or1.Parameters.Add("KDAENB", OracleType.NVarChar).Value = dwData["KDAENB"].ToString();
            or1.Parameters.Add("KDAEND", OracleType.NVarChar).Value = dwData["KDAEND"].ToString();
            or1.Parameters.Add("KDNEUB", OracleType.NVarChar).Value = dwData["KDNEUB"].ToString();
            or1.Parameters.Add("KDNEUD", OracleType.NVarChar).Value = dwData["KDNEUD"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateKUNDVER(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE KUNDVER SET "
                + "KDVMANDANT=:KDVMANDANT,"
                + "KDVKUNDNR=:KDVKUNDNR,"
                + "KDVVB=:KDVVB,"
                + "KDVVG=:KDVVG,"
                + "KDVSTAKZ=:KDVSTAKZ,"
                + "KDVSTADAT=:KDVSTADAT,"
                + "KDVWAEHRSL=:KDVWAEHRSL,"
                + "KDVZAHLBED=:KDVZAHLBED,"
                + "KDVEKON=:KDVEKON,"
                + "KDVKDVKL=:KDVKDVKL,"
                + "KDVVALUTA=:KDVVALUTA,"
                + "KDVSTEUER=:KDVSTEUER,"
                + "KDVLIEFBED=:KDVLIEFBED,"
                + "KDVLANDU=:KDVLANDU,"
                + "KDVPLZU=:KDVPLZU,"
                + "KDVORTU=:KDVORTU,"
                + "KDVBZU=:KDVBZU,"
                + "KDVBZBEZU=:KDVBZBEZU,"
                + "KDVCOUNTRY=:KDVCOUNTRY,"
                + "KDVCITY=:KDVCITY,"
                + "KDVPREISGRP=:KDVPREISGRP,"
                + "KDVMINDST=:KDVMINDST,"
                + "KDVSTDBON=:KDVSTDBON,"
                + "KDVLIEFKOMP=:KDVLIEFKOMP,"
                + "KDVLIEFAUTO=:KDVLIEFAUTO,"
                + "KDVABNGRP=:KDVABNGRP,"
                + "KDVABSSCHL=:KDVABSSCHL,"
                + "KDVMUSTER=:KDVMUSTER,"
                + "KDVKOLLZYKL=:KDVKOLLZYKL,"
                + "KDVBONVON=:KDVBONVON,"
                + "KDVBONIN=:KDVBONIN,"
                + "KDVBONBIS=:KDVBONBIS,"
                + "KDVABRVB=:KDVABRVB,"
                + "KDVABRVG=:KDVABRVG,"
                + "KDVRABABRKZ=:KDVRABABRKZ,"
                + "KDVBONABRKZ=:KDVBONABRKZ,"
                + "KDVGBABRKZ=:KDVGBABRKZ,"
                + "KDVFBABRKZ=:KDVFBABRKZ,"
                + "KDVVBABRKZ=:KDVVBABRKZ,"
                + "KDVGABONA=:KDVGABONA,"
                + "KDVGABONP=:KDVGABONP,"
                + "KDVFIXBONP=:KDVFIXBONP,"
                + "KDVVORBONP=:KDVVORBONP,"
                + "KDVRABART1=:KDVRABART1,"
                + "KDVRABPROZ1=:KDVRABPROZ1,"
                + "KDVRABART2=:KDVRABART2,"
                + "KDVRABPROZ2=:KDVRABPROZ2,"
                + "KDVRABART3=:KDVRABART3,"
                + "KDVRABPROZ3=:KDVRABPROZ3,"
                + "KDVRABART4=:KDVRABART4,"
                + "KDVRABPROZ4=:KDVRABPROZ4,"
                + "KDVRABART5=:KDVRABART5,"
                + "KDVRABPROZ5=:KDVRABPROZ5,"
                + "KDVBONWE1=:KDVBONWE1,"
                + "KDVBONP1=:KDVBONP1,"
                + "KDVBONWE2=:KDVBONWE2,"
                + "KDVBONP2=:KDVBONP2,"
                + "KDVBONWE3=:KDVBONWE3,"
                + "KDVBONP3=:KDVBONP3,"
                + "KDVBONWE4=:KDVBONWE4,"
                + "KDVBONP4=:KDVBONP4,"
                + "KDVBONWE5=:KDVBONWE5,"
                + "KDVBONP5=:KDVBONP5,"
                + "KDVBONWE6=:KDVBONWE6,"
                + "KDVBONP6=:KDVBONP6,"
                + "KDVBONWE7=:KDVBONWE7,"
                + "KDVBONP7=:KDVBONP7,"
                + "KDVBONWE8=:KDVBONWE8,"
                + "KDVBONP8=:KDVBONP8,"
                + "KDVBONWE9=:KDVBONWE9,"
                + "KDVBONP9=:KDVBONP9,"
                + "KDVBONWE10=:KDVBONWE10,"
                + "KDVBONP10=:KDVBONP10,"
                + "KDVUMSGR=:KDVUMSGR,"
                + "KDVDISTRWEG=:KDVDISTRWEG,"
                + "KDVSTATGEB=:KDVSTATGEB,"
                + "KDVSACHB=:KDVSACHB,"
                + "KDVVORBONV1=:KDVVORBONV1,"
                + "KDVVORBONV2=:KDVVORBONV2,"
                + "KDVVORBONV3=:KDVVORBONV3,"
                + "KDVBONLDAT=:KDVBONLDAT,"
                + "KDVVBONLDAT=:KDVVBONLDAT,"
                + "KDVZUREGEL=:KDVZUREGEL,"
                + "KDVZEITRAUM=:KDVZEITRAUM,"
                + "KDVWOCHTAG=:KDVWOCHTAG,"
                + "KDVKZVORW=:KDVKZVORW,"
                + "KDVMONTAG1=:KDVMONTAG1,"
                + "KDVMONTAG2=:KDVMONTAG2,"
                + "KDVDATLSR=:KDVDATLSR,"
                + "KDVVTRNR1=:KDVVTRNR1,"
                + "KDVVTRNR2=:KDVVTRNR2,"
                + "KDVVTRNR3=:KDVVTRNR3,"
                + "KDVVTRNR4=:KDVVTRNR4,"
                + "KDVAZVERB=:KDVAZVERB,"
                + "KDVBASIS=:KDVBASIS,"
                + "KDVSPLITT=:KDVSPLITT,"
                + "KDVMEEH=:KDVMEEH,"
                + "KDVAUFMEEH=:KDVAUFMEEH,"
                + "KDVABRUF=:KDVABRUF,"
                + "KDVZESSIO=:KDVZESSIO,"
                + "KDVMAXWERT=:KDVMAXWERT,"
                + "KDVPREH=:KDVPREH,"
                + "KDVFBPROV=:KDVFBPROV,"
                + "KDVSPLKEY=:KDVSPLKEY,"
                + "KDVFILLER=:KDVFILLER,"
                + "KDVAENDZL=:KDVAENDZL,"
                + "KDVAENDBEN=:KDVAENDBEN,"
                + "KDVAENDDAT=:KDVAENDDAT,"
                + "KDVNEUBEN=:KDVNEUBEN,"
                + "KDVNEUDAT=:KDVNEUDAT"
                + " WHERE  "
                + "  KDVMANDANT=:KDVMANDANT AND KDVKUNDNR=:KDVKUNDNR AND KDVVB=:KDVVB AND KDVVG=:KDVVG";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("KDVMANDANT", OracleType.NVarChar).Value = dwData["KDVMANDANT"].ToString();
            or1.Parameters.Add("KDVKUNDNR", OracleType.NVarChar).Value = dwData["KDVKUNDNR"].ToString();
            or1.Parameters.Add("KDVVB", OracleType.NVarChar).Value = dwData["KDVVB"].ToString();
            or1.Parameters.Add("KDVVG", OracleType.NVarChar).Value = dwData["KDVVG"].ToString();
            or1.Parameters.Add("KDVSTAKZ", OracleType.NVarChar).Value = dwData["KDVSTAKZ"].ToString();
            or1.Parameters.Add("KDVSTADAT", OracleType.NVarChar).Value = dwData["KDVSTADAT"].ToString();
            or1.Parameters.Add("KDVWAEHRSL", OracleType.NVarChar).Value = dwData["KDVWAEHRSL"].ToString();
            or1.Parameters.Add("KDVZAHLBED", OracleType.NVarChar).Value = dwData["KDVZAHLBED"].ToString();
            or1.Parameters.Add("KDVEKON", OracleType.NVarChar).Value = dwData["KDVEKON"].ToString();
            or1.Parameters.Add("KDVKDVKL", OracleType.NVarChar).Value = dwData["KDVKDVKL"].ToString();
            or1.Parameters.Add("KDVVALUTA", OracleType.NVarChar).Value = dwData["KDVVALUTA"].ToString();
            or1.Parameters.Add("KDVSTEUER", OracleType.NVarChar).Value = dwData["KDVSTEUER"].ToString();
            or1.Parameters.Add("KDVLIEFBED", OracleType.NVarChar).Value = dwData["KDVLIEFBED"].ToString();
            or1.Parameters.Add("KDVLANDU", OracleType.NVarChar).Value = dwData["KDVLANDU"].ToString();
            or1.Parameters.Add("KDVPLZU", OracleType.NVarChar).Value = dwData["KDVPLZU"].ToString();
            or1.Parameters.Add("KDVORTU", OracleType.NVarChar).Value = dwData["KDVORTU"].ToString();
            or1.Parameters.Add("KDVBZU", OracleType.NVarChar).Value = dwData["KDVBZU"].ToString();
            or1.Parameters.Add("KDVBZBEZU", OracleType.NVarChar).Value = dwData["KDVBZBEZU"].ToString();
            or1.Parameters.Add("KDVCOUNTRY", OracleType.NVarChar).Value = dwData["KDVCOUNTRY"].ToString();
            or1.Parameters.Add("KDVCITY", OracleType.NVarChar).Value = dwData["KDVCITY"].ToString();
            or1.Parameters.Add("KDVPREISGRP", OracleType.NVarChar).Value = dwData["KDVPREISGRP"].ToString();
            or1.Parameters.Add("KDVMINDST", OracleType.NVarChar).Value = dwData["KDVMINDST"].ToString();
            or1.Parameters.Add("KDVSTDBON", OracleType.NVarChar).Value = dwData["KDVSTDBON"].ToString();
            or1.Parameters.Add("KDVLIEFKOMP", OracleType.NVarChar).Value = dwData["KDVLIEFKOMP"].ToString();
            or1.Parameters.Add("KDVLIEFAUTO", OracleType.NVarChar).Value = dwData["KDVLIEFAUTO"].ToString();
            or1.Parameters.Add("KDVABNGRP", OracleType.NVarChar).Value = dwData["KDVABNGRP"].ToString();
            or1.Parameters.Add("KDVABSSCHL", OracleType.NVarChar).Value = dwData["KDVABSSCHL"].ToString();
            or1.Parameters.Add("KDVMUSTER", OracleType.NVarChar).Value = dwData["KDVMUSTER"].ToString();
            or1.Parameters.Add("KDVKOLLZYKL", OracleType.NVarChar).Value = dwData["KDVKOLLZYKL"].ToString();
            or1.Parameters.Add("KDVBONVON", OracleType.NVarChar).Value = dwData["KDVBONVON"].ToString();
            or1.Parameters.Add("KDVBONIN", OracleType.NVarChar).Value = dwData["KDVBONIN"].ToString();
            or1.Parameters.Add("KDVBONBIS", OracleType.NVarChar).Value = dwData["KDVBONBIS"].ToString();
            or1.Parameters.Add("KDVABRVB", OracleType.NVarChar).Value = dwData["KDVABRVB"].ToString();
            or1.Parameters.Add("KDVABRVG", OracleType.NVarChar).Value = dwData["KDVABRVG"].ToString();
            or1.Parameters.Add("KDVRABABRKZ", OracleType.NVarChar).Value = dwData["KDVRABABRKZ"].ToString();
            or1.Parameters.Add("KDVBONABRKZ", OracleType.NVarChar).Value = dwData["KDVBONABRKZ"].ToString();
            or1.Parameters.Add("KDVGBABRKZ", OracleType.NVarChar).Value = dwData["KDVGBABRKZ"].ToString();
            or1.Parameters.Add("KDVFBABRKZ", OracleType.NVarChar).Value = dwData["KDVFBABRKZ"].ToString();
            or1.Parameters.Add("KDVVBABRKZ", OracleType.NVarChar).Value = dwData["KDVVBABRKZ"].ToString();
            or1.Parameters.Add("KDVGABONA", OracleType.NVarChar).Value = dwData["KDVGABONA"].ToString();
            or1.Parameters.Add("KDVGABONP", OracleType.NVarChar).Value = dwData["KDVGABONP"].ToString();
            or1.Parameters.Add("KDVFIXBONP", OracleType.NVarChar).Value = dwData["KDVFIXBONP"].ToString();
            or1.Parameters.Add("KDVVORBONP", OracleType.NVarChar).Value = dwData["KDVVORBONP"].ToString();
            or1.Parameters.Add("KDVRABART1", OracleType.NVarChar).Value = dwData["KDVRABART1"].ToString();
            or1.Parameters.Add("KDVRABPROZ1", OracleType.NVarChar).Value = dwData["KDVRABPROZ1"].ToString();
            or1.Parameters.Add("KDVRABART2", OracleType.NVarChar).Value = dwData["KDVRABART2"].ToString();
            or1.Parameters.Add("KDVRABPROZ2", OracleType.NVarChar).Value = dwData["KDVRABPROZ2"].ToString();
            or1.Parameters.Add("KDVRABART3", OracleType.NVarChar).Value = dwData["KDVRABART3"].ToString();
            or1.Parameters.Add("KDVRABPROZ3", OracleType.NVarChar).Value = dwData["KDVRABPROZ3"].ToString();
            or1.Parameters.Add("KDVRABART4", OracleType.NVarChar).Value = dwData["KDVRABART4"].ToString();
            or1.Parameters.Add("KDVRABPROZ4", OracleType.NVarChar).Value = dwData["KDVRABPROZ4"].ToString();
            or1.Parameters.Add("KDVRABART5", OracleType.NVarChar).Value = dwData["KDVRABART5"].ToString();
            or1.Parameters.Add("KDVRABPROZ5", OracleType.NVarChar).Value = dwData["KDVRABPROZ5"].ToString();
            or1.Parameters.Add("KDVBONWE1", OracleType.NVarChar).Value = dwData["KDVBONWE1"].ToString();
            or1.Parameters.Add("KDVBONP1", OracleType.NVarChar).Value = dwData["KDVBONP1"].ToString();
            or1.Parameters.Add("KDVBONWE2", OracleType.NVarChar).Value = dwData["KDVBONWE2"].ToString();
            or1.Parameters.Add("KDVBONP2", OracleType.NVarChar).Value = dwData["KDVBONP2"].ToString();
            or1.Parameters.Add("KDVBONWE3", OracleType.NVarChar).Value = dwData["KDVBONWE3"].ToString();
            or1.Parameters.Add("KDVBONP3", OracleType.NVarChar).Value = dwData["KDVBONP3"].ToString();
            or1.Parameters.Add("KDVBONWE4", OracleType.NVarChar).Value = dwData["KDVBONWE4"].ToString();
            or1.Parameters.Add("KDVBONP4", OracleType.NVarChar).Value = dwData["KDVBONP4"].ToString();
            or1.Parameters.Add("KDVBONWE5", OracleType.NVarChar).Value = dwData["KDVBONWE5"].ToString();
            or1.Parameters.Add("KDVBONP5", OracleType.NVarChar).Value = dwData["KDVBONP5"].ToString();
            or1.Parameters.Add("KDVBONWE6", OracleType.NVarChar).Value = dwData["KDVBONWE6"].ToString();
            or1.Parameters.Add("KDVBONP6", OracleType.NVarChar).Value = dwData["KDVBONP6"].ToString();
            or1.Parameters.Add("KDVBONWE7", OracleType.NVarChar).Value = dwData["KDVBONWE7"].ToString();
            or1.Parameters.Add("KDVBONP7", OracleType.NVarChar).Value = dwData["KDVBONP7"].ToString();
            or1.Parameters.Add("KDVBONWE8", OracleType.NVarChar).Value = dwData["KDVBONWE8"].ToString();
            or1.Parameters.Add("KDVBONP8", OracleType.NVarChar).Value = dwData["KDVBONP8"].ToString();
            or1.Parameters.Add("KDVBONWE9", OracleType.NVarChar).Value = dwData["KDVBONWE9"].ToString();
            or1.Parameters.Add("KDVBONP9", OracleType.NVarChar).Value = dwData["KDVBONP9"].ToString();
            or1.Parameters.Add("KDVBONWE10", OracleType.NVarChar).Value = dwData["KDVBONWE10"].ToString();
            or1.Parameters.Add("KDVBONP10", OracleType.NVarChar).Value = dwData["KDVBONP10"].ToString();
            or1.Parameters.Add("KDVUMSGR", OracleType.NVarChar).Value = dwData["KDVUMSGR"].ToString();
            or1.Parameters.Add("KDVDISTRWEG", OracleType.NVarChar).Value = dwData["KDVDISTRWEG"].ToString();
            or1.Parameters.Add("KDVSTATGEB", OracleType.NVarChar).Value = dwData["KDVSTATGEB"].ToString();
            or1.Parameters.Add("KDVSACHB", OracleType.NVarChar).Value = dwData["KDVSACHB"].ToString();
            or1.Parameters.Add("KDVVORBONV1", OracleType.NVarChar).Value = dwData["KDVVORBONV1"].ToString();
            or1.Parameters.Add("KDVVORBONV2", OracleType.NVarChar).Value = dwData["KDVVORBONV2"].ToString();
            or1.Parameters.Add("KDVVORBONV3", OracleType.NVarChar).Value = dwData["KDVVORBONV3"].ToString();
            or1.Parameters.Add("KDVBONLDAT", OracleType.NVarChar).Value = dwData["KDVBONLDAT"].ToString();
            or1.Parameters.Add("KDVVBONLDAT", OracleType.NVarChar).Value = dwData["KDVVBONLDAT"].ToString();
            or1.Parameters.Add("KDVZUREGEL", OracleType.NVarChar).Value = dwData["KDVZUREGEL"].ToString();
            or1.Parameters.Add("KDVZEITRAUM", OracleType.NVarChar).Value = dwData["KDVZEITRAUM"].ToString();
            or1.Parameters.Add("KDVWOCHTAG", OracleType.NVarChar).Value = dwData["KDVWOCHTAG"].ToString();
            or1.Parameters.Add("KDVKZVORW", OracleType.NVarChar).Value = dwData["KDVKZVORW"].ToString();
            or1.Parameters.Add("KDVMONTAG1", OracleType.NVarChar).Value = dwData["KDVMONTAG1"].ToString();
            or1.Parameters.Add("KDVMONTAG2", OracleType.NVarChar).Value = dwData["KDVMONTAG2"].ToString();
            or1.Parameters.Add("KDVDATLSR", OracleType.NVarChar).Value = dwData["KDVDATLSR"].ToString();
            or1.Parameters.Add("KDVVTRNR1", OracleType.NVarChar).Value = dwData["KDVVTRNR1"].ToString();
            or1.Parameters.Add("KDVVTRNR2", OracleType.NVarChar).Value = dwData["KDVVTRNR2"].ToString();
            or1.Parameters.Add("KDVVTRNR3", OracleType.NVarChar).Value = dwData["KDVVTRNR3"].ToString();
            or1.Parameters.Add("KDVVTRNR4", OracleType.NVarChar).Value = dwData["KDVVTRNR4"].ToString();
            or1.Parameters.Add("KDVAZVERB", OracleType.NVarChar).Value = dwData["KDVAZVERB"].ToString();
            or1.Parameters.Add("KDVBASIS", OracleType.NVarChar).Value = dwData["KDVBASIS"].ToString();
            or1.Parameters.Add("KDVSPLITT", OracleType.NVarChar).Value = dwData["KDVSPLITT"].ToString();
            or1.Parameters.Add("KDVMEEH", OracleType.NVarChar).Value = dwData["KDVMEEH"].ToString();
            or1.Parameters.Add("KDVAUFMEEH", OracleType.NVarChar).Value = dwData["KDVAUFMEEH"].ToString();
            or1.Parameters.Add("KDVABRUF", OracleType.NVarChar).Value = dwData["KDVABRUF"].ToString();
            or1.Parameters.Add("KDVZESSIO", OracleType.NVarChar).Value = dwData["KDVZESSIO"].ToString();
            or1.Parameters.Add("KDVMAXWERT", OracleType.NVarChar).Value = dwData["KDVMAXWERT"].ToString();
            or1.Parameters.Add("KDVPREH", OracleType.NVarChar).Value = dwData["KDVPREH"].ToString();
            or1.Parameters.Add("KDVFBPROV", OracleType.NVarChar).Value = dwData["KDVFBPROV"].ToString();
            or1.Parameters.Add("KDVSPLKEY", OracleType.NVarChar).Value = dwData["KDVSPLKEY"].ToString();
            or1.Parameters.Add("KDVFILLER", OracleType.NVarChar).Value = dwData["KDVFILLER"].ToString();
            or1.Parameters.Add("KDVAENDZL", OracleType.NVarChar).Value = dwData["KDVAENDZL"].ToString();
            or1.Parameters.Add("KDVAENDBEN", OracleType.NVarChar).Value = dwData["KDVAENDBEN"].ToString();
            or1.Parameters.Add("KDVAENDDAT", OracleType.NVarChar).Value = dwData["KDVAENDDAT"].ToString();
            or1.Parameters.Add("KDVNEUBEN", OracleType.NVarChar).Value = dwData["KDVNEUBEN"].ToString();
            or1.Parameters.Add("KDVNEUDAT", OracleType.NVarChar).Value = dwData["KDVNEUDAT"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateKSLEIST(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE KSLEIST SET "
                + "KSLMDAT=:KSLMDAT,"
                + "KSLSCHICHT=:KSLSCHICHT,"
                + "KSLMZTV=:KSLMZTV,"
                + "KSLMZTB=:KSLMZTB,"
                + "KSLPERSNR=:KSLPERSNR,"
                + "KSLMBENID=:KSLMBENID,"
                + "KSLMPROG=:KSLMPROG,"
                + "KSLMAFOLGE=:KSLMAFOLGE,"
                + "KSLMCODE=:KSLMCODE,"
                + "KSLSA=:KSLSA,"
                + "KSLHERK=:KSLHERK,"
                + "KSLVST=:KSLVST,"
                + "KSLIKOSTBW=:KSLIKOSTBW,"
                + "KSLKAP=:KSLKAP,"
                + "KSLDIV=:KSLDIV,"
                + "KSLVERT=:KSLVERT,"
                + "KSLMELDKZ=:KSLMELDKZ,"
                + "KSLERST=:KSLERST,"
                + "KSLAUFTYP=:KSLAUFTYP,"
                + "KSLAUFART=:KSLAUFART,"
                + "KSLTP=:KSLTP,"
                + "KSLFOLGEV=:KSLFOLGEV,"
                + "KSLFOLGEB=:KSLFOLGEB,"
                + "KSLSTKNR=:KSLSTKNR,"
                + "KSLAGANG=:KSLAGANG,"
                + "KSLPLANKZ=:KSLPLANKZ,"
                + "KSLFIX=:KSLFIX,"
                + "KSLMANUELKZ=:KSLMANUELKZ,"
                + "KSLANTERLS=:KSLANTERLS,"
                + "KSLERSTKZ=:KSLERSTKZ,"
                + "KSLZTAMMELD=:KSLZTAMMELD,"
                + "KSLKUNDNR=:KSLKUNDNR,"
                + "KSLWERK=:KSLWERK,"
                + "KSLABT=:KSLABT,"
                + "KSLWAKZ=:KSLWAKZ,"
                + "KSLART=:KSLART,"
                + "KSLVAR=:KSLVAR,"
                + "KSLDESS=:KSLDESS,"
                + "KSLCOLORIT=:KSLCOLORIT,"
                + "KSLBESCHICH=:KSLBESCHICH,"
                + "KSLFARBE=:KSLFARBE,"
                + "KSLZUSTAND=:KSLZUSTAND,"
                + "KSLPROGRP=:KSLPROGRP,"
                + "KSLARTGRP=:KSLARTGRP,"
                + "KSLKAAGRA=:KSLKAAGRA,"
                + "KSLKAAGRP=:KSLKAAGRP,"
                + "KSLKZINLEXP=:KSLKZINLEXP,"
                + "KSLKPFL=:KSLKPFL,"
                + "KSLME=:KSLME,"
                + "KSLMGANZ=:KSLMGANZ,"
                + "KSLMGMTR=:KSLMGMTR,"
                + "KSLMGQM=:KSLMGQM,"
                + "KSLMGKG=:KSLMGKG,"
                + "KSLSAKSTKRS=:KSLSAKSTKRS,"
                + "KSLSAKST=:KSLSAKST,"
                + "KSLSMNRKRS=:KSLSMNRKRS,"
                + "KSLSMLFDNR=:KSLSMLFDNR,"
                + "KSLSMPOS=:KSLSMPOS,"
                + "KSLSEVARHNR=:KSLSEVARHNR,"
                + "KSLSEVARUNR=:KSLSEVARUNR,"
                + "KSLSMZT=:KSLSMZT,"
                + "KSLSPZT=:KSLSPZT,"
                + "KSLSRML=:KSLSRML,"
                + "KSLSRMS=:KSLSRMS,"
                + "KSLSRPZ=:KSLSRPZ,"
                + "KSLGKSTKRS=:KSLGKSTKRS,"
                + "KSLGKST=:KSLGKST,"
                + "KSLIAKSTKRS=:KSLIAKSTKRS,"
                + "KSLIAKST=:KSLIAKST,"
                + "KSLIMNRKRS=:KSLIMNRKRS,"
                + "KSLIMLFDNR=:KSLIMLFDNR,"
                + "KSLIMPOS=:KSLIMPOS,"
                + "KSLIEVARHNR=:KSLIEVARHNR,"
                + "KSLIEVARUNR=:KSLIEVARUNR,"
                + "KSLIMZT=:KSLIMZT,"
                + "KSLIPZT=:KSLIPZT,"
                + "KSLIRML=:KSLIRML,"
                + "KSLIRMS=:KSLIRMS,"
                + "KSLIRPZ=:KSLIRPZ,"
                + "KSLLIEFNR=:KSLLIEFNR,"
                + "KSLRENR=:KSLRENR,"
                + "KSLREPOS=:KSLREPOS,"
                + "KSLLSKOST=:KSLLSKOST,"
                + "KSLLIKOST=:KSLLIKOST,"
                + "KSLLIKOSTI=:KSLLIKOSTI,"
                + "KSLRSKOST=:KSLRSKOST,"
                + "KSLRIKOST=:KSLRIKOST,"
                + "KSLRIKOSTI=:KSLRIKOSTI,"
                + "KSLRSKOSTF=:KSLRSKOSTF,"
                + "KSLRIKOSTF=:KSLRIKOSTF,"
                + "KSLRIKOSTIF=:KSLRIKOSTIF,"
                + "KSLSQKOSTM1=:KSLSQKOSTM1,"
                + "KSLSQKOSTM2=:KSLSQKOSTM2,"
                + "KSLSQKOSTM3=:KSLSQKOSTM3,"
                + "KSLSQKOSTM4=:KSLSQKOSTM4,"
                + "KSLSQKOSTM5=:KSLSQKOSTM5,"
                + "KSLIQKOSTM1=:KSLIQKOSTM1,"
                + "KSLIQKOSTM2=:KSLIQKOSTM2,"
                + "KSLIQKOSTM3=:KSLIQKOSTM3,"
                + "KSLIQKOSTM4=:KSLIQKOSTM4,"
                + "KSLIQKOSTM5=:KSLIQKOSTM5,"
                + "KSLIQKOSTIM1=:KSLIQKOSTIM1,"
                + "KSLIQKOSTIM2=:KSLIQKOSTIM2,"
                + "KSLIQKOSTIM3=:KSLIQKOSTIM3,"
                + "KSLIQKOSTIM4=:KSLIQKOSTIM4,"
                + "KSLIQKOSTIM5=:KSLIQKOSTIM5,"
                + "KSLSQKOSTP1=:KSLSQKOSTP1,"
                + "KSLSQKOSTP2=:KSLSQKOSTP2,"
                + "KSLSQKOSTP3=:KSLSQKOSTP3,"
                + "KSLSQKOSTP4=:KSLSQKOSTP4,"
                + "KSLSQKOSTP5=:KSLSQKOSTP5,"
                + "KSLIQKOSTP1=:KSLIQKOSTP1,"
                + "KSLIQKOSTP2=:KSLIQKOSTP2,"
                + "KSLIQKOSTP3=:KSLIQKOSTP3,"
                + "KSLIQKOSTP4=:KSLIQKOSTP4,"
                + "KSLIQKOSTP5=:KSLIQKOSTP5,"
                + "KSLIQKOSTIP1=:KSLIQKOSTIP1,"
                + "KSLIQKOSTIP2=:KSLIQKOSTIP2,"
                + "KSLIQKOSTIP3=:KSLIQKOSTIP3,"
                + "KSLIQKOSTIP4=:KSLIQKOSTIP4,"
                + "KSLIQKOSTIP5=:KSLIQKOSTIP5,"
                + "KSLGSKOST1=:KSLGSKOST1,"
                + "KSLGSKOST2=:KSLGSKOST2,"
                + "KSLGSKOST3=:KSLGSKOST3,"
                + "KSLGSKOST4=:KSLGSKOST4,"
                + "KSLGSKOST5=:KSLGSKOST5,"
                + "KSLGIKOST1=:KSLGIKOST1,"
                + "KSLGIKOST2=:KSLGIKOST2,"
                + "KSLGIKOST3=:KSLGIKOST3,"
                + "KSLGIKOST4=:KSLGIKOST4,"
                + "KSLGIKOST5=:KSLGIKOST5,"
                + "KSLGIKOSTI1=:KSLGIKOSTI1,"
                + "KSLGIKOSTI2=:KSLGIKOSTI2,"
                + "KSLGIKOSTI3=:KSLGIKOSTI3,"
                + "KSLGIKOSTI4=:KSLGIKOSTI4,"
                + "KSLGIKOSTI5=:KSLGIKOSTI5,"
                + "KSLAENDZLST=:KSLAENDZLST,"
                + "KSLAENDZLSV=:KSLAENDZLSV,"
                + "KSLENDKZ=:KSLENDKZ,"
                + "KSLABG=:KSLABG,"
                + "KSLARBPL=:KSLARBPL,"
                + "KSLLSTAR=:KSLLSTAR,"
                + "KSLLO=:KSLLO,"
                + "KSLPAUFKRS=:KSLPAUFKRS,"
                + "KSLPAUFLFD=:KSLPAUFLFD,"
                + "KSLPAFOLGE=:KSLPAFOLGE,"
                + "KSLFILLER=:KSLFILLER "
                + " WHERE  "
                + "  KSLMANDANT=:KSLMANDANT AND KSLAUFKRS=:KSLAUFKRS AND KSLAUFLFD=:KSLAUFLFD AND KSLAUFPOS=:KSLAUFPOS AND KSLAFOLGE=:KSLAFOLGE AND KSLAENDZL=:KSLAENDZL";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("KSLMANDANT", OracleType.NVarChar).Value = dwData["KSLMANDANT"].ToString();
            or1.Parameters.Add("KSLAUFKRS", OracleType.NVarChar).Value = dwData["KSLAUFKRS"].ToString();
            or1.Parameters.Add("KSLAUFLFD", OracleType.NVarChar).Value = dwData["KSLAUFLFD"].ToString();
            or1.Parameters.Add("KSLAUFPOS", OracleType.NVarChar).Value = dwData["KSLAUFPOS"].ToString();
            or1.Parameters.Add("KSLAFOLGE", OracleType.NVarChar).Value = dwData["KSLAFOLGE"].ToString();
            or1.Parameters.Add("KSLAENDZL", OracleType.NVarChar).Value = dwData["KSLAENDZL"].ToString();
            or1.Parameters.Add("KSLMDAT", OracleType.NVarChar).Value = dwData["KSLMDAT"].ToString();
            or1.Parameters.Add("KSLSCHICHT", OracleType.NVarChar).Value = dwData["KSLSCHICHT"].ToString();
            or1.Parameters.Add("KSLMZTV", OracleType.NVarChar).Value = dwData["KSLMZTV"].ToString();
            or1.Parameters.Add("KSLMZTB", OracleType.NVarChar).Value = dwData["KSLMZTB"].ToString();
            or1.Parameters.Add("KSLPERSNR", OracleType.NVarChar).Value = dwData["KSLPERSNR"].ToString();
            or1.Parameters.Add("KSLMBENID", OracleType.NVarChar).Value = dwData["KSLMBENID"].ToString();
            or1.Parameters.Add("KSLMPROG", OracleType.NVarChar).Value = dwData["KSLMPROG"].ToString();
            or1.Parameters.Add("KSLMAFOLGE", OracleType.NVarChar).Value = dwData["KSLMAFOLGE"].ToString();
            or1.Parameters.Add("KSLMCODE", OracleType.NVarChar).Value = dwData["KSLMCODE"].ToString();
            or1.Parameters.Add("KSLSA", OracleType.NVarChar).Value = dwData["KSLSA"].ToString();
            or1.Parameters.Add("KSLHERK", OracleType.NVarChar).Value = dwData["KSLHERK"].ToString();
            or1.Parameters.Add("KSLVST", OracleType.NVarChar).Value = dwData["KSLVST"].ToString();
            or1.Parameters.Add("KSLIKOSTBW", OracleType.NVarChar).Value = dwData["KSLIKOSTBW"].ToString();
            or1.Parameters.Add("KSLKAP", OracleType.NVarChar).Value = dwData["KSLKAP"].ToString();
            or1.Parameters.Add("KSLDIV", OracleType.NVarChar).Value = dwData["KSLDIV"].ToString();
            or1.Parameters.Add("KSLVERT", OracleType.NVarChar).Value = dwData["KSLVERT"].ToString();
            or1.Parameters.Add("KSLMELDKZ", OracleType.NVarChar).Value = dwData["KSLMELDKZ"].ToString();
            or1.Parameters.Add("KSLERST", OracleType.NVarChar).Value = dwData["KSLERST"].ToString();
            or1.Parameters.Add("KSLAUFTYP", OracleType.NVarChar).Value = dwData["KSLAUFTYP"].ToString();
            or1.Parameters.Add("KSLAUFART", OracleType.NVarChar).Value = dwData["KSLAUFART"].ToString();
            or1.Parameters.Add("KSLTP", OracleType.NVarChar).Value = dwData["KSLTP"].ToString();
            or1.Parameters.Add("KSLFOLGEV", OracleType.NVarChar).Value = dwData["KSLFOLGEV"].ToString();
            or1.Parameters.Add("KSLFOLGEB", OracleType.NVarChar).Value = dwData["KSLFOLGEB"].ToString();
            or1.Parameters.Add("KSLSTKNR", OracleType.NVarChar).Value = dwData["KSLSTKNR"].ToString();
            or1.Parameters.Add("KSLAGANG", OracleType.NVarChar).Value = dwData["KSLAGANG"].ToString();
            or1.Parameters.Add("KSLPLANKZ", OracleType.NVarChar).Value = dwData["KSLPLANKZ"].ToString();
            or1.Parameters.Add("KSLFIX", OracleType.NVarChar).Value = dwData["KSLFIX"].ToString();
            or1.Parameters.Add("KSLMANUELKZ", OracleType.NVarChar).Value = dwData["KSLMANUELKZ"].ToString();
            or1.Parameters.Add("KSLANTERLS", OracleType.NVarChar).Value = dwData["KSLANTERLS"].ToString();
            or1.Parameters.Add("KSLERSTKZ", OracleType.NVarChar).Value = dwData["KSLERSTKZ"].ToString();
            or1.Parameters.Add("KSLZTAMMELD", OracleType.NVarChar).Value = dwData["KSLZTAMMELD"].ToString();
            or1.Parameters.Add("KSLKUNDNR", OracleType.NVarChar).Value = dwData["KSLKUNDNR"].ToString();
            or1.Parameters.Add("KSLWERK", OracleType.NVarChar).Value = dwData["KSLWERK"].ToString();
            or1.Parameters.Add("KSLABT", OracleType.NVarChar).Value = dwData["KSLABT"].ToString();
            or1.Parameters.Add("KSLWAKZ", OracleType.NVarChar).Value = dwData["KSLWAKZ"].ToString();
            or1.Parameters.Add("KSLART", OracleType.NVarChar).Value = dwData["KSLART"].ToString();
            or1.Parameters.Add("KSLVAR", OracleType.NVarChar).Value = dwData["KSLVAR"].ToString();
            or1.Parameters.Add("KSLDESS", OracleType.NVarChar).Value = dwData["KSLDESS"].ToString();
            or1.Parameters.Add("KSLCOLORIT", OracleType.NVarChar).Value = dwData["KSLCOLORIT"].ToString();
            or1.Parameters.Add("KSLBESCHICH", OracleType.NVarChar).Value = dwData["KSLBESCHICH"].ToString();
            or1.Parameters.Add("KSLFARBE", OracleType.NVarChar).Value = dwData["KSLFARBE"].ToString();
            or1.Parameters.Add("KSLZUSTAND", OracleType.NVarChar).Value = dwData["KSLZUSTAND"].ToString();
            or1.Parameters.Add("KSLPROGRP", OracleType.NVarChar).Value = dwData["KSLPROGRP"].ToString();
            or1.Parameters.Add("KSLARTGRP", OracleType.NVarChar).Value = dwData["KSLARTGRP"].ToString();
            or1.Parameters.Add("KSLKAAGRA", OracleType.NVarChar).Value = dwData["KSLKAAGRA"].ToString();
            or1.Parameters.Add("KSLKAAGRP", OracleType.NVarChar).Value = dwData["KSLKAAGRP"].ToString();
            or1.Parameters.Add("KSLKZINLEXP", OracleType.NVarChar).Value = dwData["KSLKZINLEXP"].ToString();
            or1.Parameters.Add("KSLKPFL", OracleType.NVarChar).Value = dwData["KSLKPFL"].ToString();
            or1.Parameters.Add("KSLME", OracleType.NVarChar).Value = dwData["KSLME"].ToString();
            or1.Parameters.Add("KSLMGANZ", OracleType.NVarChar).Value = dwData["KSLMGANZ"].ToString();
            or1.Parameters.Add("KSLMGMTR", OracleType.NVarChar).Value = dwData["KSLMGMTR"].ToString();
            or1.Parameters.Add("KSLMGQM", OracleType.NVarChar).Value = dwData["KSLMGQM"].ToString();
            or1.Parameters.Add("KSLMGKG", OracleType.NVarChar).Value = dwData["KSLMGKG"].ToString();
            or1.Parameters.Add("KSLSAKSTKRS", OracleType.NVarChar).Value = dwData["KSLSAKSTKRS"].ToString();
            or1.Parameters.Add("KSLSAKST", OracleType.NVarChar).Value = dwData["KSLSAKST"].ToString();
            or1.Parameters.Add("KSLSMNRKRS", OracleType.NVarChar).Value = dwData["KSLSMNRKRS"].ToString();
            or1.Parameters.Add("KSLSMLFDNR", OracleType.NVarChar).Value = dwData["KSLSMLFDNR"].ToString();
            or1.Parameters.Add("KSLSMPOS", OracleType.NVarChar).Value = dwData["KSLSMPOS"].ToString();
            or1.Parameters.Add("KSLSEVARHNR", OracleType.NVarChar).Value = dwData["KSLSEVARHNR"].ToString();
            or1.Parameters.Add("KSLSEVARUNR", OracleType.NVarChar).Value = dwData["KSLSEVARUNR"].ToString();
            or1.Parameters.Add("KSLSMZT", OracleType.NVarChar).Value = dwData["KSLSMZT"].ToString();
            or1.Parameters.Add("KSLSPZT", OracleType.NVarChar).Value = dwData["KSLSPZT"].ToString();
            or1.Parameters.Add("KSLSRML", OracleType.NVarChar).Value = dwData["KSLSRML"].ToString();
            or1.Parameters.Add("KSLSRMS", OracleType.NVarChar).Value = dwData["KSLSRMS"].ToString();
            or1.Parameters.Add("KSLSRPZ", OracleType.NVarChar).Value = dwData["KSLSRPZ"].ToString();
            or1.Parameters.Add("KSLGKSTKRS", OracleType.NVarChar).Value = dwData["KSLGKSTKRS"].ToString();
            or1.Parameters.Add("KSLGKST", OracleType.NVarChar).Value = dwData["KSLGKST"].ToString();
            or1.Parameters.Add("KSLIAKSTKRS", OracleType.NVarChar).Value = dwData["KSLIAKSTKRS"].ToString();
            or1.Parameters.Add("KSLIAKST", OracleType.NVarChar).Value = dwData["KSLIAKST"].ToString();
            or1.Parameters.Add("KSLIMNRKRS", OracleType.NVarChar).Value = dwData["KSLIMNRKRS"].ToString();
            or1.Parameters.Add("KSLIMLFDNR", OracleType.NVarChar).Value = dwData["KSLIMLFDNR"].ToString();
            or1.Parameters.Add("KSLIMPOS", OracleType.NVarChar).Value = dwData["KSLIMPOS"].ToString();
            or1.Parameters.Add("KSLIEVARHNR", OracleType.NVarChar).Value = dwData["KSLIEVARHNR"].ToString();
            or1.Parameters.Add("KSLIEVARUNR", OracleType.NVarChar).Value = dwData["KSLIEVARUNR"].ToString();
            or1.Parameters.Add("KSLIMZT", OracleType.NVarChar).Value = dwData["KSLIMZT"].ToString();
            or1.Parameters.Add("KSLIPZT", OracleType.NVarChar).Value = dwData["KSLIPZT"].ToString();
            or1.Parameters.Add("KSLIRML", OracleType.NVarChar).Value = dwData["KSLIRML"].ToString();
            or1.Parameters.Add("KSLIRMS", OracleType.NVarChar).Value = dwData["KSLIRMS"].ToString();
            or1.Parameters.Add("KSLIRPZ", OracleType.NVarChar).Value = dwData["KSLIRPZ"].ToString();
            or1.Parameters.Add("KSLLIEFNR", OracleType.NVarChar).Value = dwData["KSLLIEFNR"].ToString();
            or1.Parameters.Add("KSLRENR", OracleType.NVarChar).Value = dwData["KSLRENR"].ToString();
            or1.Parameters.Add("KSLREPOS", OracleType.NVarChar).Value = dwData["KSLREPOS"].ToString();
            or1.Parameters.Add("KSLLSKOST", OracleType.NVarChar).Value = dwData["KSLLSKOST"].ToString();
            or1.Parameters.Add("KSLLIKOST", OracleType.NVarChar).Value = dwData["KSLLIKOST"].ToString();
            or1.Parameters.Add("KSLLIKOSTI", OracleType.NVarChar).Value = dwData["KSLLIKOSTI"].ToString();
            or1.Parameters.Add("KSLRSKOST", OracleType.NVarChar).Value = dwData["KSLRSKOST"].ToString();
            or1.Parameters.Add("KSLRIKOST", OracleType.NVarChar).Value = dwData["KSLRIKOST"].ToString();
            or1.Parameters.Add("KSLRIKOSTI", OracleType.NVarChar).Value = dwData["KSLRIKOSTI"].ToString();
            or1.Parameters.Add("KSLRSKOSTF", OracleType.NVarChar).Value = dwData["KSLRSKOSTF"].ToString();
            or1.Parameters.Add("KSLRIKOSTF", OracleType.NVarChar).Value = dwData["KSLRIKOSTF"].ToString();
            or1.Parameters.Add("KSLRIKOSTIF", OracleType.NVarChar).Value = dwData["KSLRIKOSTIF"].ToString();
            or1.Parameters.Add("KSLSQKOSTM1", OracleType.NVarChar).Value = dwData["KSLSQKOSTM1"].ToString();
            or1.Parameters.Add("KSLSQKOSTM2", OracleType.NVarChar).Value = dwData["KSLSQKOSTM2"].ToString();
            or1.Parameters.Add("KSLSQKOSTM3", OracleType.NVarChar).Value = dwData["KSLSQKOSTM3"].ToString();
            or1.Parameters.Add("KSLSQKOSTM4", OracleType.NVarChar).Value = dwData["KSLSQKOSTM4"].ToString();
            or1.Parameters.Add("KSLSQKOSTM5", OracleType.NVarChar).Value = dwData["KSLSQKOSTM5"].ToString();
            or1.Parameters.Add("KSLIQKOSTM1", OracleType.NVarChar).Value = dwData["KSLIQKOSTM1"].ToString();
            or1.Parameters.Add("KSLIQKOSTM2", OracleType.NVarChar).Value = dwData["KSLIQKOSTM2"].ToString();
            or1.Parameters.Add("KSLIQKOSTM3", OracleType.NVarChar).Value = dwData["KSLIQKOSTM3"].ToString();
            or1.Parameters.Add("KSLIQKOSTM4", OracleType.NVarChar).Value = dwData["KSLIQKOSTM4"].ToString();
            or1.Parameters.Add("KSLIQKOSTM5", OracleType.NVarChar).Value = dwData["KSLIQKOSTM5"].ToString();
            or1.Parameters.Add("KSLIQKOSTIM1", OracleType.NVarChar).Value = dwData["KSLIQKOSTIM1"].ToString();
            or1.Parameters.Add("KSLIQKOSTIM2", OracleType.NVarChar).Value = dwData["KSLIQKOSTIM2"].ToString();
            or1.Parameters.Add("KSLIQKOSTIM3", OracleType.NVarChar).Value = dwData["KSLIQKOSTIM3"].ToString();
            or1.Parameters.Add("KSLIQKOSTIM4", OracleType.NVarChar).Value = dwData["KSLIQKOSTIM4"].ToString();
            or1.Parameters.Add("KSLIQKOSTIM5", OracleType.NVarChar).Value = dwData["KSLIQKOSTIM5"].ToString();
            or1.Parameters.Add("KSLSQKOSTP1", OracleType.NVarChar).Value = dwData["KSLSQKOSTP1"].ToString();
            or1.Parameters.Add("KSLSQKOSTP2", OracleType.NVarChar).Value = dwData["KSLSQKOSTP2"].ToString();
            or1.Parameters.Add("KSLSQKOSTP3", OracleType.NVarChar).Value = dwData["KSLSQKOSTP3"].ToString();
            or1.Parameters.Add("KSLSQKOSTP4", OracleType.NVarChar).Value = dwData["KSLSQKOSTP4"].ToString();
            or1.Parameters.Add("KSLSQKOSTP5", OracleType.NVarChar).Value = dwData["KSLSQKOSTP5"].ToString();
            or1.Parameters.Add("KSLIQKOSTP1", OracleType.NVarChar).Value = dwData["KSLIQKOSTP1"].ToString();
            or1.Parameters.Add("KSLIQKOSTP2", OracleType.NVarChar).Value = dwData["KSLIQKOSTP2"].ToString();
            or1.Parameters.Add("KSLIQKOSTP3", OracleType.NVarChar).Value = dwData["KSLIQKOSTP3"].ToString();
            or1.Parameters.Add("KSLIQKOSTP4", OracleType.NVarChar).Value = dwData["KSLIQKOSTP4"].ToString();
            or1.Parameters.Add("KSLIQKOSTP5", OracleType.NVarChar).Value = dwData["KSLIQKOSTP5"].ToString();
            or1.Parameters.Add("KSLIQKOSTIP1", OracleType.NVarChar).Value = dwData["KSLIQKOSTIP1"].ToString();
            or1.Parameters.Add("KSLIQKOSTIP2", OracleType.NVarChar).Value = dwData["KSLIQKOSTIP2"].ToString();
            or1.Parameters.Add("KSLIQKOSTIP3", OracleType.NVarChar).Value = dwData["KSLIQKOSTIP3"].ToString();
            or1.Parameters.Add("KSLIQKOSTIP4", OracleType.NVarChar).Value = dwData["KSLIQKOSTIP4"].ToString();
            or1.Parameters.Add("KSLIQKOSTIP5", OracleType.NVarChar).Value = dwData["KSLIQKOSTIP5"].ToString();
            or1.Parameters.Add("KSLGSKOST1", OracleType.NVarChar).Value = dwData["KSLGSKOST1"].ToString();
            or1.Parameters.Add("KSLGSKOST2", OracleType.NVarChar).Value = dwData["KSLGSKOST2"].ToString();
            or1.Parameters.Add("KSLGSKOST3", OracleType.NVarChar).Value = dwData["KSLGSKOST3"].ToString();
            or1.Parameters.Add("KSLGSKOST4", OracleType.NVarChar).Value = dwData["KSLGSKOST4"].ToString();
            or1.Parameters.Add("KSLGSKOST5", OracleType.NVarChar).Value = dwData["KSLGSKOST5"].ToString();
            or1.Parameters.Add("KSLGIKOST1", OracleType.NVarChar).Value = dwData["KSLGIKOST1"].ToString();
            or1.Parameters.Add("KSLGIKOST2", OracleType.NVarChar).Value = dwData["KSLGIKOST2"].ToString();
            or1.Parameters.Add("KSLGIKOST3", OracleType.NVarChar).Value = dwData["KSLGIKOST3"].ToString();
            or1.Parameters.Add("KSLGIKOST4", OracleType.NVarChar).Value = dwData["KSLGIKOST4"].ToString();
            or1.Parameters.Add("KSLGIKOST5", OracleType.NVarChar).Value = dwData["KSLGIKOST5"].ToString();
            or1.Parameters.Add("KSLGIKOSTI1", OracleType.NVarChar).Value = dwData["KSLGIKOSTI1"].ToString();
            or1.Parameters.Add("KSLGIKOSTI2", OracleType.NVarChar).Value = dwData["KSLGIKOSTI2"].ToString();
            or1.Parameters.Add("KSLGIKOSTI3", OracleType.NVarChar).Value = dwData["KSLGIKOSTI3"].ToString();
            or1.Parameters.Add("KSLGIKOSTI4", OracleType.NVarChar).Value = dwData["KSLGIKOSTI4"].ToString();
            or1.Parameters.Add("KSLGIKOSTI5", OracleType.NVarChar).Value = dwData["KSLGIKOSTI5"].ToString();
            or1.Parameters.Add("KSLAENDZLST", OracleType.NVarChar).Value = dwData["KSLAENDZLST"].ToString();
            or1.Parameters.Add("KSLAENDZLSV", OracleType.NVarChar).Value = dwData["KSLAENDZLSV"].ToString();
            or1.Parameters.Add("KSLENDKZ", OracleType.NVarChar).Value = dwData["KSLENDKZ"].ToString();
            or1.Parameters.Add("KSLABG", OracleType.NVarChar).Value = dwData["KSLABG"].ToString();
            or1.Parameters.Add("KSLARBPL", OracleType.NVarChar).Value = dwData["KSLARBPL"].ToString();
            or1.Parameters.Add("KSLLSTAR", OracleType.NVarChar).Value = dwData["KSLLSTAR"].ToString();
            or1.Parameters.Add("KSLLO", OracleType.NVarChar).Value = dwData["KSLLO"].ToString();
            or1.Parameters.Add("KSLPAUFKRS", OracleType.NVarChar).Value = dwData["KSLPAUFKRS"].ToString();
            or1.Parameters.Add("KSLPAUFLFD", OracleType.NVarChar).Value = dwData["KSLPAUFLFD"].ToString();
            or1.Parameters.Add("KSLPAFOLGE", OracleType.NVarChar).Value = dwData["KSLPAFOLGE"].ToString();
            or1.Parameters.Add("KSLFILLER", OracleType.NVarChar).Value = dwData["KSLFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }

        #endregion

        #region======L==============

        public void UpdateLOGINFO(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = " UPDATE LOGINFO SET "
                + "FDESIGNNAME=:FDESIGNNAME,"
                + "FEDITDATE=:FEDITDATE,"
                + "FCLOTHNO=:FCLOTHNO,"
                + "FCOLORNO=:FCOLORNO,"
                + "CAD2ITXSTATUS=:CAD2ITXSTATUS,"
                + "FCADKEY=:FCADKEY "
                + " WHERE  "
                + "  FINTERID=:FINTERID";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("FINTERID", OracleType.NVarChar).Value = dwData["FINTERID"].ToString();
            or1.Parameters.Add("FDESIGNNAME", OracleType.NVarChar).Value = dwData["FDESIGNNAME"].ToString();
            or1.Parameters.Add("FEDITDATE", OracleType.NVarChar).Value = dwData["FEDITDATE"].ToString();
            or1.Parameters.Add("FCLOTHNO", OracleType.NVarChar).Value = dwData["FCLOTHNO"].ToString();
            or1.Parameters.Add("FCOLORNO", OracleType.NVarChar).Value = dwData["FCOLORNO"].ToString();
            or1.Parameters.Add("CAD2ITXSTATUS", OracleType.NVarChar).Value = dwData["CAD2ITXSTATUS"].ToString();
            or1.Parameters.Add("FCADKEY", OracleType.NVarChar).Value = dwData["FCADKEY"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        #endregion

        #region======M==============
        public void UpdateMDECK(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE MDECK SET "
            + "MDMANDANT=:MDMANDANT,"
            + "MDSA=:MDSA,"
            + "MDAUFKRS=:MDAUFKRS,"
            + "MDAUFLFD=:MDAUFLFD,"
            + "MDAUFPOS=:MDAUFPOS,"
            + "MDTYP=:MDTYP,"
            + "MDAFOLGE=:MDAFOLGE,"
            + "MDMODNR=:MDMODNR,"
            + "MDEINSTNR=:MDEINSTNR,"
            + "MDRPOS=:MDRPOS,"
            + "MDMAT=:MDMAT,"
            + "MDVAR=:MDVAR,"
            + "MDDAT=:MDDAT,"
            + "MDLO=:MDLO,"
            + "MDLB=:MDLB,"
            + "MDLP=:MDLP,"
            + "MDAUFBKZ=:MDAUFBKZ,"
            + "MDMENGE=:MDMENGE,"
            + "MDEINGET=:MDEINGET,"
            + "MDZUGET=:MDZUGET,"
            + "MDRESERV=:MDRESERV,"
            + "MDVERBR=:MDVERBR,"
            + "MDMEH=:MDMEH,"
            + "MDMATTYP=:MDMATTYP,"
            + "MDERLKZ=:MDERLKZ,"
            + "MDDISPOKZ=:MDDISPOKZ,"
            + "MDABRKZ=:MDABRKZ,"
            + "MDFILLER=:MDFILLER "
                + " WHERE  "
                + "  MDMANDANT=:MDMANDANT AND MDSA=:MDSA AND MDAUFKRS=:MDAUFKRS AND MDAUFLFD=:MDAUFLFD"
                + " AND MDAUFPOS=:MDAUFPOS AND MDTYP=:MDTYP AND MDRPOS=:MDRPOS";

            or1.Parameters.Add("MDMANDANT", OracleType.NVarChar).Value = dwData["MDMANDANT"].ToString();
            or1.Parameters.Add("MDSA", OracleType.NVarChar).Value = dwData["MDSA"].ToString();
            or1.Parameters.Add("MDAUFKRS", OracleType.NVarChar).Value = dwData["MDAUFKRS"].ToString();
            or1.Parameters.Add("MDAUFLFD", OracleType.NVarChar).Value = dwData["MDAUFLFD"].ToString();
            or1.Parameters.Add("MDAUFPOS", OracleType.NVarChar).Value = dwData["MDAUFPOS"].ToString();
            or1.Parameters.Add("MDTYP", OracleType.NVarChar).Value = dwData["MDTYP"].ToString();
            or1.Parameters.Add("MDAFOLGE", OracleType.NVarChar).Value = dwData["MDAFOLGE"].ToString();
            or1.Parameters.Add("MDMODNR", OracleType.NVarChar).Value = dwData["MDMODNR"].ToString();
            or1.Parameters.Add("MDEINSTNR", OracleType.NVarChar).Value = dwData["MDEINSTNR"].ToString();
            or1.Parameters.Add("MDRPOS", OracleType.NVarChar).Value = dwData["MDRPOS"].ToString();
            or1.Parameters.Add("MDMAT", OracleType.NVarChar).Value = dwData["MDMAT"].ToString();
            or1.Parameters.Add("MDVAR", OracleType.NVarChar).Value = dwData["MDVAR"].ToString();
            or1.Parameters.Add("MDDAT", OracleType.NVarChar).Value = dwData["MDDAT"].ToString();
            or1.Parameters.Add("MDLO", OracleType.NVarChar).Value = dwData["MDLO"].ToString();
            or1.Parameters.Add("MDLB", OracleType.NVarChar).Value = dwData["MDLB"].ToString();
            or1.Parameters.Add("MDLP", OracleType.NVarChar).Value = dwData["MDLP"].ToString();
            or1.Parameters.Add("MDAUFBKZ", OracleType.NVarChar).Value = dwData["MDAUFBKZ"].ToString();
            or1.Parameters.Add("MDMENGE", OracleType.NVarChar).Value = dwData["MDMENGE"].ToString();
            or1.Parameters.Add("MDEINGET", OracleType.NVarChar).Value = dwData["MDEINGET"].ToString();
            or1.Parameters.Add("MDZUGET", OracleType.NVarChar).Value = dwData["MDZUGET"].ToString();
            or1.Parameters.Add("MDRESERV", OracleType.NVarChar).Value = dwData["MDRESERV"].ToString();
            or1.Parameters.Add("MDVERBR", OracleType.NVarChar).Value = dwData["MDVERBR"].ToString();
            or1.Parameters.Add("MDMEH", OracleType.NVarChar).Value = dwData["MDMEH"].ToString();
            or1.Parameters.Add("MDMATTYP", OracleType.NVarChar).Value = dwData["MDMATTYP"].ToString();
            or1.Parameters.Add("MDERLKZ", OracleType.NVarChar).Value = dwData["MDERLKZ"].ToString();
            or1.Parameters.Add("MDDISPOKZ", OracleType.NVarChar).Value = dwData["MDDISPOKZ"].ToString();
            or1.Parameters.Add("MDABRKZ", OracleType.NVarChar).Value = dwData["MDABRKZ"].ToString();
            or1.Parameters.Add("MDFILLER", OracleType.NVarChar).Value = dwData["MDFILLER"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region======P==============
        #endregion

        #region======Q==============

        public void UpdateQPZUORD(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE QPZUORD SET "
                + "QPZMANDANT=:QPZMANDANT,"
                + "QPZARTST=:QPZARTST,"
                + "QPZKUNDNR=:QPZKUNDNR,"
                + "QPZWERK=:QPZWERK,"
                + "QPZABT=:QPZABT,"
                + "QPZART=:QPZART,"
                + "QPZVAR=:QPZVAR,"
                + "QPZPNRKRS=:QPZPNRKRS,"
                + "QPZPLFDNR=:QPZPLFDNR,"
                + "QPZAENZL=:QPZAENZL,"
                + "QPZAENB=:QPZAENB,"
                + "QPZAEND=:QPZAEND,"
                + "QPZNEUB=:QPZNEUB,"
                + "QPZNEUD=:QPZNEUD,"
                + "QPZSPEZIF=:QPZSPEZIF,"
                + "QPZSPSTA=:QPZSPSTA,"
                + "QPZSPGRD=:QPZSPGRD,"
                + "QPZZUSTAND=:QPZZUSTAND,"
                + "QPZPKUNDNR=:QPZPKUNDNR,"
                + "QPZPADRSL=:QPZPADRSL,"
                + "QPZLIEFNR=:QPZLIEFNR,"
                + "QPZLAFDL=:QPZLAFDL,"
                + "QPZLADS=:QPZLADS,"
                + "QPZFKZ=:QPZFKZ,"
                + "QPZAUFBER=:QPZAUFBER,"
                + "QPZDRTRB=:QPZDRTRB,"
                + "QPZFILLER=:QPZFILLER"
                + " WHERE  QPZMANDANT=:QPZMANDANT AND QPZART=:QPZART AND QPZVAR=:QPZVAR AND QPZPNRKRS=:QPZPNRKRS AND QPZPLFDNR=:QPZPLFDNR ";
            or1.Parameters.Add("QPZMANDANT", OracleType.NVarChar).Value = dwData["QPZMANDANT"].ToString();
            or1.Parameters.Add("QPZARTST", OracleType.NVarChar).Value = dwData["QPZARTST"].ToString();
            or1.Parameters.Add("QPZKUNDNR", OracleType.NVarChar).Value = dwData["QPZKUNDNR"].ToString();
            or1.Parameters.Add("QPZWERK", OracleType.NVarChar).Value = dwData["QPZWERK"].ToString();
            or1.Parameters.Add("QPZABT", OracleType.NVarChar).Value = dwData["QPZABT"].ToString();
            or1.Parameters.Add("QPZART", OracleType.NVarChar).Value = dwData["QPZART"].ToString();
            or1.Parameters.Add("QPZVAR", OracleType.NVarChar).Value = dwData["QPZVAR"].ToString();
            or1.Parameters.Add("QPZPNRKRS", OracleType.NVarChar).Value = dwData["QPZPNRKRS"].ToString();
            or1.Parameters.Add("QPZPLFDNR", OracleType.NVarChar).Value = dwData["QPZPLFDNR"].ToString();
            or1.Parameters.Add("QPZAENZL", OracleType.NVarChar).Value = dwData["QPZAENZL"].ToString();
            or1.Parameters.Add("QPZAENB", OracleType.NVarChar).Value = dwData["QPZAENB"].ToString();
            or1.Parameters.Add("QPZAEND", OracleType.NVarChar).Value = dwData["QPZAEND"].ToString();
            or1.Parameters.Add("QPZNEUB", OracleType.NVarChar).Value = dwData["QPZNEUB"].ToString();
            or1.Parameters.Add("QPZNEUD", OracleType.NVarChar).Value = dwData["QPZNEUD"].ToString();
            or1.Parameters.Add("QPZSPEZIF", OracleType.NVarChar).Value = dwData["QPZSPEZIF"].ToString();
            or1.Parameters.Add("QPZSPSTA", OracleType.NVarChar).Value = dwData["QPZSPSTA"].ToString();
            or1.Parameters.Add("QPZSPGRD", OracleType.NVarChar).Value = dwData["QPZSPGRD"].ToString();
            or1.Parameters.Add("QPZZUSTAND", OracleType.NVarChar).Value = dwData["QPZZUSTAND"].ToString();
            or1.Parameters.Add("QPZPKUNDNR", OracleType.NVarChar).Value = dwData["QPZPKUNDNR"].ToString();
            or1.Parameters.Add("QPZPADRSL", OracleType.NVarChar).Value = dwData["QPZPADRSL"].ToString();
            or1.Parameters.Add("QPZLIEFNR", OracleType.NVarChar).Value = dwData["QPZLIEFNR"].ToString();
            or1.Parameters.Add("QPZLAFDL", OracleType.NVarChar).Value = dwData["QPZLAFDL"].ToString();
            or1.Parameters.Add("QPZLADS", OracleType.NVarChar).Value = dwData["QPZLADS"].ToString();
            or1.Parameters.Add("QPZFKZ", OracleType.NVarChar).Value = dwData["QPZFKZ"].ToString();
            or1.Parameters.Add("QPZAUFBER", OracleType.NVarChar).Value = dwData["QPZAUFBER"].ToString();
            or1.Parameters.Add("QPZDRTRB", OracleType.NVarChar).Value = dwData["QPZDRTRB"].ToString();
            or1.Parameters.Add("QPZFILLER", OracleType.NVarChar).Value = dwData["QPZFILLER"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region=====S==============
        public void UpdateSDDAT(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE SDDAT SET SDDATEN=:SDDATEN WHERE SDSA=:SDSA AND SDKEY=:SDKEY";
            or1.Parameters.Add("SDDATEN", OracleType.NVarChar).Value = dwData["SDDATEN"].ToString();
            or1.Parameters.Add("SDSA", OracleType.NVarChar).Value = dwData["SDSA"].ToString();
            or1.Parameters.Add("SDKEY", OracleType.NVarChar).Value = dwData["SDKEY"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region======W==============
        public void UpdateWDECK(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "UPDATE WDECK SET "
                   + "WDMANDANT=:WDMANDANT,"
                   + "WDSA=:WDSA,"
                   + "WDAUFKRS=:WDAUFKRS,"
                   + "WDAUFLFD=:WDAUFLFD,"
                   + "WDAUFPOS=:WDAUFPOS,"
                   + "WDTYP=:WDTYP,"
                   + "WDUPOS=:WDUPOS,"
                   + "WDKUNDNR=:WDKUNDNR,"
                   + "WDWERK=:WDWERK,"
                   + "WDABT=:WDABT,"
                   + "WDWAKZ=:WDWAKZ,"
                   + "WDART=:WDART,"
                   + "WDDESS=:WDDESS,"
                   + "WDCOLORIT=:WDCOLORIT,"
                   + "WDFARBE=:WDFARBE,"
                   + "WDBESCHICH=:WDBESCHICH,"
                   + "WDVAR=:WDVAR,"
                   + "WDZUSTAND=:WDZUSTAND,"
                   + "WDDAT=:WDDAT,"
                   + "WDLO=:WDLO,"
                   + "WDZS=:WDZS,"
                   + "WDAFOLGE=:WDAFOLGE,"
                   + "WDBEDARF=:WDBEDARF,"
                   + "WDZUGET=:WDZUGET,"
                   + "WDRESERV=:WDRESERV,"
                   + "WDVERBR=:WDVERBR,"
                   + "WDANZSTK=:WDANZSTK,"
                   + "WDKZBEDARF=:WDKZBEDARF,"
                   + "WDURAUFKRS=:WDURAUFKRS,"
                   + "WDURAUFLFD=:WDURAUFLFD,"
                   + "WDURAUFPOS=:WDURAUFPOS,"
                   + "WDVKNPOS=:WDVKNPOS,"
                   + "WDPGLKZ=:WDPGLKZ,"
                   + "WDABRKZ=:WDABRKZ,"
                   + "WDDISPOKZ=:WDDISPOKZ,"
                   + "WDERLKZ=:WDERLKZ,"
                   + "WDSLPOS=:WDSLPOS,"
                   + "WDPRART=:WDPRART,"
                   + "WDPRVAR=:WDPRVAR,"
                   + "WDBEDBAS=:WDBEDBAS,"
                   + "WDLAGE=:WDLAGE,"
                   + "WDVARFR=:WDVARFR,"
                   + "WDBEDST=:WDBEDST,"
                   + "WDFILLER=:WDFILLER "
              + " WHERE  "
              + "  WDMANDANT=:WDMANDANT AND WDSA=:WDSA AND WDAUFKRS=:WDAUFKRS AND WDAUFLFD=:WDAUFLFD AND WDAUFPOS=:WDAUFPOS AND WDTYP=:WDTYP AND WDUPOS=:WDUPOS";


                    or1.Parameters.Add("WDMANDANT", OracleType.NVarChar).Value = dwData["WDMANDANT"].ToString();
                    or1.Parameters.Add("WDSA", OracleType.NVarChar).Value = dwData["WDSA"].ToString();
                    or1.Parameters.Add("WDAUFKRS", OracleType.NVarChar).Value = dwData["WDAUFKRS"].ToString();
                    or1.Parameters.Add("WDAUFLFD", OracleType.NVarChar).Value = dwData["WDAUFLFD"].ToString();
                    or1.Parameters.Add("WDAUFPOS", OracleType.NVarChar).Value = dwData["WDAUFPOS"].ToString();
                    or1.Parameters.Add("WDTYP", OracleType.NVarChar).Value = dwData["WDTYP"].ToString();
                    or1.Parameters.Add("WDUPOS", OracleType.NVarChar).Value = dwData["WDUPOS"].ToString();
                    or1.Parameters.Add("WDKUNDNR", OracleType.NVarChar).Value = dwData["WDKUNDNR"].ToString();
                    or1.Parameters.Add("WDWERK", OracleType.NVarChar).Value = dwData["WDWERK"].ToString();
                    or1.Parameters.Add("WDABT", OracleType.NVarChar).Value = dwData["WDABT"].ToString();
                    or1.Parameters.Add("WDWAKZ", OracleType.NVarChar).Value = dwData["WDWAKZ"].ToString();
                    or1.Parameters.Add("WDART", OracleType.NVarChar).Value = dwData["WDART"].ToString();
                    or1.Parameters.Add("WDDESS", OracleType.NVarChar).Value = dwData["WDDESS"].ToString();
                    or1.Parameters.Add("WDCOLORIT", OracleType.NVarChar).Value = dwData["WDCOLORIT"].ToString();
                    or1.Parameters.Add("WDFARBE", OracleType.NVarChar).Value = dwData["WDFARBE"].ToString();
                    or1.Parameters.Add("WDBESCHICH", OracleType.NVarChar).Value = dwData["WDBESCHICH"].ToString();
                    or1.Parameters.Add("WDVAR", OracleType.NVarChar).Value = dwData["WDVAR"].ToString();
                    or1.Parameters.Add("WDZUSTAND", OracleType.NVarChar).Value = dwData["WDZUSTAND"].ToString();
                    or1.Parameters.Add("WDDAT", OracleType.NVarChar).Value = dwData["WDDAT"].ToString();
                    or1.Parameters.Add("WDLO", OracleType.NVarChar).Value = dwData["WDLO"].ToString();
                    or1.Parameters.Add("WDZS", OracleType.NVarChar).Value = dwData["WDZS"].ToString();
                    or1.Parameters.Add("WDAFOLGE", OracleType.NVarChar).Value = dwData["WDAFOLGE"].ToString();
                    or1.Parameters.Add("WDBEDARF", OracleType.NVarChar).Value = dwData["WDBEDARF"].ToString();
                    or1.Parameters.Add("WDZUGET", OracleType.NVarChar).Value = dwData["WDZUGET"].ToString();
                    or1.Parameters.Add("WDRESERV", OracleType.NVarChar).Value = dwData["WDRESERV"].ToString();
                    or1.Parameters.Add("WDVERBR", OracleType.NVarChar).Value = dwData["WDVERBR"].ToString();
                    or1.Parameters.Add("WDANZSTK", OracleType.NVarChar).Value = dwData["WDANZSTK"].ToString();
                    or1.Parameters.Add("WDKZBEDARF", OracleType.NVarChar).Value = dwData["WDKZBEDARF"].ToString();
                    or1.Parameters.Add("WDURAUFKRS", OracleType.NVarChar).Value = dwData["WDURAUFKRS"].ToString();
                    or1.Parameters.Add("WDURAUFLFD", OracleType.NVarChar).Value = dwData["WDURAUFLFD"].ToString();
                    or1.Parameters.Add("WDURAUFPOS", OracleType.NVarChar).Value = dwData["WDURAUFPOS"].ToString();
                    or1.Parameters.Add("WDVKNPOS", OracleType.NVarChar).Value = dwData["WDVKNPOS"].ToString();
                    or1.Parameters.Add("WDPGLKZ", OracleType.NVarChar).Value = dwData["WDPGLKZ"].ToString();
                    or1.Parameters.Add("WDABRKZ", OracleType.NVarChar).Value = dwData["WDABRKZ"].ToString();
                    or1.Parameters.Add("WDDISPOKZ", OracleType.NVarChar).Value = dwData["WDDISPOKZ"].ToString();
                    or1.Parameters.Add("WDERLKZ", OracleType.NVarChar).Value = dwData["WDERLKZ"].ToString();
                    or1.Parameters.Add("WDSLPOS", OracleType.NVarChar).Value = dwData["WDSLPOS"].ToString();
                    or1.Parameters.Add("WDPRART", OracleType.NVarChar).Value = dwData["WDPRART"].ToString();
                    or1.Parameters.Add("WDPRVAR", OracleType.NVarChar).Value = dwData["WDPRVAR"].ToString();
                    or1.Parameters.Add("WDBEDBAS", OracleType.NVarChar).Value = dwData["WDBEDBAS"].ToString();
                    or1.Parameters.Add("WDLAGE", OracleType.NVarChar).Value = dwData["WDLAGE"].ToString();
                    or1.Parameters.Add("WDVARFR", OracleType.NVarChar).Value = dwData["WDVARFR"].ToString();
                    or1.Parameters.Add("WDBEDST", OracleType.NVarChar).Value = dwData["WDBEDST"].ToString();
                    or1.Parameters.Add("WDFILLER", OracleType.NVarChar).Value = dwData["WDFILLER"].ToString();
                    break;
                case 2:
                    or1.CommandText = "UPDATE WDECK SET WDBEDARF=:WDBEDARF "
                        + " WHERE  "
                        + "  WDMANDANT=:WDMANDANT AND WDAUFKRS=:WDAUFKRS AND WDAUFLFD=:WDAUFLFD AND WDAUFPOS=:WDAUFPOS AND WDART=:WDART AND WDVAR=:WDVAR"
                        + " AND WDFARBE=:WDFARBE";
                    or1.Parameters.Add("WDMANDANT", OracleType.NVarChar).Value = dwData["WDMANDANT"].ToString();
                    or1.Parameters.Add("WDAUFKRS", OracleType.NVarChar).Value = dwData["WDAUFKRS"].ToString();
                    or1.Parameters.Add("WDAUFLFD", OracleType.NVarChar).Value = dwData["WDAUFLFD"].ToString();
                    or1.Parameters.Add("WDAUFPOS", OracleType.NVarChar).Value = dwData["WDAUFPOS"].ToString();
                    or1.Parameters.Add("WDART", OracleType.NVarChar).Value = dwData["WDART"].ToString();
                    or1.Parameters.Add("WDFARBE", OracleType.NVarChar).Value = dwData["WDFARBE"].ToString();
                    or1.Parameters.Add("WDVAR", OracleType.NVarChar).Value = dwData["WDVAR"].ToString();
                    or1.Parameters.Add("WDBEDARF", OracleType.NVarChar).Value = dwData["WDBEDARF"].ToString();
                    break;
                case 3:
                    /*
                     *   UPDATE WDECK A SET WDDAT = (
SELECT DECODE(B.VKPFREITERM,0,B.VKPWUTERM,B.VKPFREITERM) FROM VKPOS B
WHERE VKPSA <>'AJ' AND B.VKPMANDANT = A.WDMANDANT AND B.VKPAUFKRS = A.WDAUFKRS
AND B.VKPAUFLFD = A.WDAUFLFD AND B.VKPAUFPOS = A.WDAUFPOS )
WHERE A.WDSA = 'K' AND A.WDAUFKRS = 
AND A.WDAUFLFD =  AND A.WDAUFPOS =
                     */
                    or1.CommandText = "UPDATE WDECK A SET WDDAT = (SELECT DECODE(B.VKPFREITERM,0,B.VKPWUTERM,B.VKPFREITERM) FROM VKPOS B"
                        + " WHERE VKPSA <>'AJ' AND B.VKPMANDANT = A.WDMANDANT AND B.VKPAUFKRS = A.WDAUFKRS"
                        + " AND B.VKPAUFLFD = A.WDAUFLFD AND B.VKPAUFPOS = A.WDAUFPOS )"
                        + " WHERE A.WDSA = 'K' AND A.WDAUFKRS =:WDAUFKRS AND A.WDAUFLFD =:WDAUFLFD  AND A.WDAUFPOS =:WDAUFPOS";
                    or1.Parameters.Add("WDMANDANT", OracleType.NVarChar).Value = dwData["WDMANDANT"].ToString();
                    or1.Parameters.Add("WDAUFKRS", OracleType.NVarChar).Value = dwData["WDAUFKRS"].ToString();
                    or1.Parameters.Add("WDAUFLFD", OracleType.NVarChar).Value = dwData["WDAUFLFD"].ToString();
                    or1.Parameters.Add("WDAUFPOS", OracleType.NVarChar).Value = dwData["WDAUFPOS"].ToString();
                    break;
            }

            Connect2Proxy(or1);
        }

        public void UpdateWAPROF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WAPROF SET "
                + "WAPMANDANT=:WAPMANDANT,"
                + "WAPWAKZ=:WAPWAKZ,"
                + "WAPART=:WAPART,"
                + "WAPVAR=:WAPVAR,"
                + "WAPPOS=:WAPPOS,"
                + "WAPANFART=:WAPANFART,"
                + "WAPBEM=:WAPBEM,"
                + "WAPME=:WAPME,"
                + "WAPMIN=:WAPMIN,"
                + "WAPMAX=:WAPMAX"
                + " WHERE  "
                + "  WAPMANDANT=:WAPMANDANT AND WAPWAKZ=:WAPWAKZ  AND WAPART=:WAPART  AND WAPVAR=:WAPVAR  AND WAPANFART=:WAPANFART";

            or1.Parameters.Add("WAPMANDANT", OracleType.NVarChar).Value = dwData["WAPMANDANT"].ToString();
            or1.Parameters.Add("WAPWAKZ", OracleType.NVarChar).Value = dwData["WAPWAKZ"].ToString();
            or1.Parameters.Add("WAPART", OracleType.NVarChar).Value = dwData["WAPART"].ToString();
            or1.Parameters.Add("WAPVAR", OracleType.NVarChar).Value = dwData["WAPVAR"].ToString();
            or1.Parameters.Add("WAPPOS", OracleType.NVarChar).Value = dwData["WAPPOS"].ToString();
            or1.Parameters.Add("WAPANFART", OracleType.NVarChar).Value = dwData["WAPANFART"].ToString();
            or1.Parameters.Add("WAPBEM", OracleType.NVarChar).Value = dwData["WAPBEM"].ToString();
            or1.Parameters.Add("WAPME", OracleType.NVarChar).Value = dwData["WAPME"].ToString();
            or1.Parameters.Add("WAPMIN", OracleType.NVarChar).Value = dwData["WAPMIN"].ToString();
            or1.Parameters.Add("WAPMAX", OracleType.NVarChar).Value = dwData["WAPMAX"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWBBEW(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE WBBEW SET "
                + "WBEWMANDANT=:WBEWMANDANT,"
                + "WBEWJJJJ=:WBEWJJJJ,"
                + "WBEWBELEG=:WBEWBELEG,"
                + "WBEWLFDNR=:WBEWLFDNR,"
                + "WBEWKUNDNR=:WBEWKUNDNR,"
                + "WBEWWERK=:WBEWWERK,"
                + "WBEWABT=:WBEWABT,"
                + "WBEWWAKZ=:WBEWWAKZ,"
                + "WBEWART=:WBEWART,"
                + "WBEWVAR=:WBEWVAR,"
                + "WBEWDESS=:WBEWDESS,"
                + "WBEWCOLORIT=:WBEWCOLORIT,"
                + "WBEWFARBE=:WBEWFARBE,"
                + "WBEWBESCHICH=:WBEWBESCHICH,"
                + "WBEWZUSTAND=:WBEWZUSTAND,"
                + "WBEWZENSUR=:WBEWZENSUR,"
                + "WBEWZENSURKZ=:WBEWZENSURKZ,"
                + "WBEWTAX=:WBEWTAX,"
                + "WBEWAUFMSL=:WBEWAUFMSL,"
                + "WBEWPACKTYP=:WBEWPACKTYP,"
                + "WBEWLO=:WBEWLO,"
                + "WBEWLB=:WBEWLB,"
                + "WBEWLP=:WBEWLP,"
                + "WBEWAUFBKZ=:WBEWAUFBKZ,"
                + "WBEWRWKRS=:WBEWRWKRS,"
                + "WBEWRWLFD=:WBEWRWLFD,"
                + "WBEWPOS=:WBEWPOS,"
                + "WBEWSTKNR=:WBEWSTKNR,"
                + "WBEWTSTKNR=:WBEWTSTKNR,"
                + "WBEWGEBNR=:WBEWGEBNR,"
                + "WBEWGEBPOS=:WBEWGEBPOS,"
                + "WBEWDPART=:WBEWDPART,"
                + "WBEWLAGE=:WBEWLAGE,"
                + "WBEWBAHN=:WBEWBAHN,"
                + "WBEWFSCHL=:WBEWFSCHL,"
                + "WBEWPACKNR=:WBEWPACKNR,"
                + "WBEWAUFTYP=:WBEWAUFTYP,"
                + "WBEWAUFKRS=:WBEWAUFKRS,"
                + "WBEWAUFLFD=:WBEWAUFLFD,"
                + "WBEWAUFPOS=:WBEWAUFPOS,"
                + "WBEWAFOLGE=:WBEWAFOLGE,"
                + "WBEWTP=:WBEWTP,"
                + "WBEWAPOS=:WBEWAPOS,"
                + "WBEWWDUPOS=:WBEWWDUPOS,"
                + "WBEWMNRKRS=:WBEWMNRKRS,"
                + "WBEWMLFDNR=:WBEWMLFDNR,"
                + "WBEWMPOS=:WBEWMPOS,"
                + "WBEWSCHICHT=:WBEWSCHICHT,"
                + "WBEWKSTKRS=:WBEWKSTKRS,"
                + "WBEWKST=:WBEWKST,"
                + "WBEWKOSTART=:WBEWKOSTART,"
                + "WBEWBS=:WBEWBS,"
                + "WBEWWERT=:WBEWWERT,"
                + "WBEWWERTDAT=:WBEWWERTDAT,"
                + "WBEWWEKORR=:WBEWWEKORR,"
                + "WBEWMTR=:WBEWMTR,"
                + "WBEWGEW=:WBEWGEW,"
                + "WBEWBRT=:WBEWBRT,"
                + "WBEWBUCHDAT=:WBEWBUCHDAT,"
                + "WBEWBUCHUHR=:WBEWBUCHUHR,"
                + "WBEWBUCHBEN=:WBEWBUCHBEN,"
                + "WBEWFC=:WBEWFC,"
                + "WBEWKONDAT=:WBEWKONDAT,"
                + "WBEWMATABR=:WBEWMATABR,"
                + "WBEWSTORKZ=:WBEWSTORKZ,"
                + "WBEWINVBLG=:WBEWINVBLG,"
                + "WBEWRENRG=:WBEWRENRG,"
                + "WBEWSTGRD=:WBEWSTGRD,"
                + "WBEWACTION=:WBEWACTION,"
                + "WBEWSAPKZ=:WBEWSAPKZ,"
                + "WBEWFILLER=:WBEWFILLER"
               + " WHERE  "
               + " WBEWMANDANT=:WBEWMANDANT AND WBEWBELEG=:WBEWBELEG AND WBEWLFDNR=:WBEWLFDNR";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("WBEWMANDANT", OracleType.NVarChar).Value = dwData["WBEWMANDANT"].ToString();
            or1.Parameters.Add("WBEWJJJJ", OracleType.NVarChar).Value = dwData["WBEWJJJJ"].ToString();
            or1.Parameters.Add("WBEWBELEG", OracleType.NVarChar).Value = dwData["WBEWBELEG"].ToString();
            or1.Parameters.Add("WBEWLFDNR", OracleType.NVarChar).Value = dwData["WBEWLFDNR"].ToString();
            or1.Parameters.Add("WBEWKUNDNR", OracleType.NVarChar).Value = dwData["WBEWKUNDNR"].ToString();
            or1.Parameters.Add("WBEWWERK", OracleType.NVarChar).Value = dwData["WBEWWERK"].ToString();
            or1.Parameters.Add("WBEWABT", OracleType.NVarChar).Value = dwData["WBEWABT"].ToString();
            or1.Parameters.Add("WBEWWAKZ", OracleType.NVarChar).Value = dwData["WBEWWAKZ"].ToString();
            or1.Parameters.Add("WBEWART", OracleType.NVarChar).Value = dwData["WBEWART"].ToString();
            or1.Parameters.Add("WBEWVAR", OracleType.NVarChar).Value = dwData["WBEWVAR"].ToString();
            or1.Parameters.Add("WBEWDESS", OracleType.NVarChar).Value = dwData["WBEWDESS"].ToString();
            or1.Parameters.Add("WBEWCOLORIT", OracleType.NVarChar).Value = dwData["WBEWCOLORIT"].ToString();
            or1.Parameters.Add("WBEWFARBE", OracleType.NVarChar).Value = dwData["WBEWFARBE"].ToString();
            or1.Parameters.Add("WBEWBESCHICH", OracleType.NVarChar).Value = dwData["WBEWBESCHICH"].ToString();
            or1.Parameters.Add("WBEWZUSTAND", OracleType.NVarChar).Value = dwData["WBEWZUSTAND"].ToString();
            or1.Parameters.Add("WBEWZENSUR", OracleType.NVarChar).Value = dwData["WBEWZENSUR"].ToString();
            or1.Parameters.Add("WBEWZENSURKZ", OracleType.NVarChar).Value = dwData["WBEWZENSURKZ"].ToString();
            or1.Parameters.Add("WBEWTAX", OracleType.NVarChar).Value = dwData["WBEWTAX"].ToString();
            or1.Parameters.Add("WBEWAUFMSL", OracleType.NVarChar).Value = dwData["WBEWAUFMSL"].ToString();
            or1.Parameters.Add("WBEWPACKTYP", OracleType.NVarChar).Value = dwData["WBEWPACKTYP"].ToString();
            or1.Parameters.Add("WBEWLO", OracleType.NVarChar).Value = dwData["WBEWLO"].ToString();
            or1.Parameters.Add("WBEWLB", OracleType.NVarChar).Value = dwData["WBEWLB"].ToString();
            or1.Parameters.Add("WBEWLP", OracleType.NVarChar).Value = dwData["WBEWLP"].ToString();
            or1.Parameters.Add("WBEWAUFBKZ", OracleType.NVarChar).Value = dwData["WBEWAUFBKZ"].ToString();
            or1.Parameters.Add("WBEWRWKRS", OracleType.NVarChar).Value = dwData["WBEWRWKRS"].ToString();
            or1.Parameters.Add("WBEWRWLFD", OracleType.NVarChar).Value = dwData["WBEWRWLFD"].ToString();
            or1.Parameters.Add("WBEWPOS", OracleType.NVarChar).Value = dwData["WBEWPOS"].ToString();
            or1.Parameters.Add("WBEWSTKNR", OracleType.NVarChar).Value = dwData["WBEWSTKNR"].ToString();
            or1.Parameters.Add("WBEWTSTKNR", OracleType.NVarChar).Value = dwData["WBEWTSTKNR"].ToString();
            or1.Parameters.Add("WBEWGEBNR", OracleType.NVarChar).Value = dwData["WBEWGEBNR"].ToString();
            or1.Parameters.Add("WBEWGEBPOS", OracleType.NVarChar).Value = dwData["WBEWGEBPOS"].ToString();
            or1.Parameters.Add("WBEWDPART", OracleType.NVarChar).Value = dwData["WBEWDPART"].ToString();
            or1.Parameters.Add("WBEWLAGE", OracleType.NVarChar).Value = dwData["WBEWLAGE"].ToString();
            or1.Parameters.Add("WBEWBAHN", OracleType.NVarChar).Value = dwData["WBEWBAHN"].ToString();
            or1.Parameters.Add("WBEWFSCHL", OracleType.NVarChar).Value = dwData["WBEWFSCHL"].ToString();
            or1.Parameters.Add("WBEWPACKNR", OracleType.NVarChar).Value = dwData["WBEWPACKNR"].ToString();
            or1.Parameters.Add("WBEWAUFTYP", OracleType.NVarChar).Value = dwData["WBEWAUFTYP"].ToString();
            or1.Parameters.Add("WBEWAUFKRS", OracleType.NVarChar).Value = dwData["WBEWAUFKRS"].ToString();
            or1.Parameters.Add("WBEWAUFLFD", OracleType.NVarChar).Value = dwData["WBEWAUFLFD"].ToString();
            or1.Parameters.Add("WBEWAUFPOS", OracleType.NVarChar).Value = dwData["WBEWAUFPOS"].ToString();
            or1.Parameters.Add("WBEWAFOLGE", OracleType.NVarChar).Value = dwData["WBEWAFOLGE"].ToString();
            or1.Parameters.Add("WBEWTP", OracleType.NVarChar).Value = dwData["WBEWTP"].ToString();
            or1.Parameters.Add("WBEWAPOS", OracleType.NVarChar).Value = dwData["WBEWAPOS"].ToString();
            or1.Parameters.Add("WBEWWDUPOS", OracleType.NVarChar).Value = dwData["WBEWWDUPOS"].ToString();
            or1.Parameters.Add("WBEWMNRKRS", OracleType.NVarChar).Value = dwData["WBEWMNRKRS"].ToString();
            or1.Parameters.Add("WBEWMLFDNR", OracleType.NVarChar).Value = dwData["WBEWMLFDNR"].ToString();
            or1.Parameters.Add("WBEWMPOS", OracleType.NVarChar).Value = dwData["WBEWMPOS"].ToString();
            or1.Parameters.Add("WBEWSCHICHT", OracleType.NVarChar).Value = dwData["WBEWSCHICHT"].ToString();
            or1.Parameters.Add("WBEWKSTKRS", OracleType.NVarChar).Value = dwData["WBEWKSTKRS"].ToString();
            or1.Parameters.Add("WBEWKST", OracleType.NVarChar).Value = dwData["WBEWKST"].ToString();
            or1.Parameters.Add("WBEWKOSTART", OracleType.NVarChar).Value = dwData["WBEWKOSTART"].ToString();
            or1.Parameters.Add("WBEWBS", OracleType.NVarChar).Value = dwData["WBEWBS"].ToString();
            or1.Parameters.Add("WBEWWERT", OracleType.NVarChar).Value = dwData["WBEWWERT"].ToString();
            or1.Parameters.Add("WBEWWERTDAT", OracleType.NVarChar).Value = dwData["WBEWWERTDAT"].ToString();
            or1.Parameters.Add("WBEWWEKORR", OracleType.NVarChar).Value = dwData["WBEWWEKORR"].ToString();
            or1.Parameters.Add("WBEWMTR", OracleType.NVarChar).Value = dwData["WBEWMTR"].ToString();
            or1.Parameters.Add("WBEWGEW", OracleType.NVarChar).Value = dwData["WBEWGEW"].ToString();
            or1.Parameters.Add("WBEWBRT", OracleType.NVarChar).Value = dwData["WBEWBRT"].ToString();
            or1.Parameters.Add("WBEWBUCHDAT", OracleType.NVarChar).Value = dwData["WBEWBUCHDAT"].ToString();
            or1.Parameters.Add("WBEWBUCHUHR", OracleType.NVarChar).Value = dwData["WBEWBUCHUHR"].ToString();
            or1.Parameters.Add("WBEWBUCHBEN", OracleType.NVarChar).Value = dwData["WBEWBUCHBEN"].ToString();
            or1.Parameters.Add("WBEWFC", OracleType.NVarChar).Value = dwData["WBEWFC"].ToString();
            or1.Parameters.Add("WBEWKONDAT", OracleType.NVarChar).Value = dwData["WBEWKONDAT"].ToString();
            or1.Parameters.Add("WBEWMATABR", OracleType.NVarChar).Value = dwData["WBEWMATABR"].ToString();
            or1.Parameters.Add("WBEWSTORKZ", OracleType.NVarChar).Value = dwData["WBEWSTORKZ"].ToString();
            or1.Parameters.Add("WBEWINVBLG", OracleType.NVarChar).Value = dwData["WBEWINVBLG"].ToString();
            or1.Parameters.Add("WBEWRENRG", OracleType.NVarChar).Value = dwData["WBEWRENRG"].ToString();
            or1.Parameters.Add("WBEWSTGRD", OracleType.NVarChar).Value = dwData["WBEWSTGRD"].ToString();
            or1.Parameters.Add("WBEWACTION", OracleType.NVarChar).Value = dwData["WBEWACTION"].ToString();
            or1.Parameters.Add("WBEWSAPKZ", OracleType.NVarChar).Value = dwData["WBEWSAPKZ"].ToString();
            or1.Parameters.Add("WBEWFILLER", OracleType.NVarChar).Value = dwData["WBEWFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateWBBST(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE WBBST SET "
+ "WBBMANDANT=:WBBMANDANT,"
+ "WBBRWKRS=:WBBRWKRS,"
+ "WBBRWLFD=:WBBRWLFD,"
+ "WBBPOS=:WBBPOS,"
+ "WBBWERK=:WBBWERK,"
+ "WBBABT=:WBBABT,"
+ "WBBKUNDNR=:WBBKUNDNR,"
+ "WBBSTKNR=:WBBSTKNR,"
+ "WBBWAKZ=:WBBWAKZ,"
+ "WBBART=:WBBART,"
+ "WBBDESS=:WBBDESS,"
+ "WBBCOLORIT=:WBBCOLORIT,"
+ "WBBFARBE=:WBBFARBE,"
+ "WBBBESCHICH=:WBBBESCHICH,"
+ "WBBVAR=:WBBVAR,"
+ "WBBKOLL=:WBBKOLL,"
+ "WBBVKART=:WBBVKART,"
+ "WBBVKFARBE=:WBBVKFARBE,"
+ "WBBARTABW=:WBBARTABW,"
+ "WBBARTKUNDNR=:WBBARTKUNDNR,"
+ "WBBENTWKZ=:WBBENTWKZ,"
+ "WBBSSTKLG=:WBBSSTKLG,"
+ "WBBSGEW=:WBBSGEW,"
+ "WBBSBRT=:WBBSBRT,"
+ "WBBISTKLG=:WBBISTKLG,"
+ "WBBIGEW=:WBBIGEW,"
+ "WBBIBRT=:WBBIBRT,"
+ "WBBBRGEW=:WBBBRGEW,"
+ "WBBDM=:WBBDM,"
+ "WBBVOL=:WBBVOL,"
+ "WBBIGEWKZ=:WBBIGEWKZ,"
+ "WBBIANZ=:WBBIANZ,"
+ "WBBMABRT1=:WBBMABRT1,"
+ "WBBMASTKLG1=:WBBMASTKLG1,"
+ "WBBMABRT2=:WBBMABRT2,"
+ "WBBMASTKLG2=:WBBMASTKLG2,"
+ "WBBMABRT3=:WBBMABRT3,"
+ "WBBMASTKLG3=:WBBMASTKLG3,"
+ "WBBMABRT4=:WBBMABRT4,"
+ "WBBMASTKLG4=:WBBMASTKLG4,"
+ "WBBMABRT5=:WBBMABRT5,"
+ "WBBMASTKLG5=:WBBMASTKLG5,"
+ "WBBINDAT=:WBBINDAT,"
+ "WBBINBSTMTR=:WBBINBSTMTR,"
+ "WBBINBSTKG=:WBBINBSTKG,"
+ "WBBIPREIS=:WBBIPREIS,"
+ "WBBWARSCH=:WBBWARSCH,"
+ "WBBWDATUM=:WBBWDATUM,"
+ "WBBWSCHICHT=:WBBWSCHICHT,"
+ "WBBWMNRKRS=:WBBWMNRKRS,"
+ "WBBWMLFDNR=:WBBWMLFDNR,"
+ "WBBWMPOS=:WBBWMPOS,"
+ "WBBRE=:WBBRE,"
+ "WBBRENETTO=:WBBRENETTO,"
+ "WBBREVGUET=:WBBREVGUET,"
+ "WBBRS=:WBBRS,"
+ "WBBRSNETTO=:WBBRSNETTO,"
+ "WBBRSVGUET=:WBBRSVGUET,"
+ "WBBVE=:WBBVE,"
+ "WBBVENETTO=:WBBVENETTO,"
+ "WBBVEVGUET=:WBBVEVGUET,"
+ "WBBVS=:WBBVS,"
+ "WBBVSNETTO=:WBBVSNETTO,"
+ "WBBVSVGUET=:WBBVSVGUET,"
+ "WBBANZTEILE=:WBBANZTEILE,"
+ "WBBVERSION=:WBBVERSION,"
+ "WBBTAX=:WBBTAX,"
+ "WBBZENSUR=:WBBZENSUR,"
+ "WBBZENSURKZ=:WBBZENSURKZ,"
+ "WBBUBRT=:WBBUBRT,"
+ "WBBZAFOLGE=:WBBZAFOLGE,"
+ "WBBNAFOLGE=:WBBNAFOLGE,"
+ "WBBZLNR=:WBBZLNR,"
+ "WBBAUFMSL=:WBBAUFMSL,"
+ "WBBZUSAM=:WBBZUSAM,"
+ "WBBMAART=:WBBMAART,"
+ "WBBPACKTYP=:WBBPACKTYP,"
+ "WBBROLLR=:WBBROLLR,"
+ "WBBAUFMPOS=:WBBAUFMPOS,"
+ "WBBKONFKZ=:WBBKONFKZ,"
+ "WBBKETTELN=:WBBKETTELN,"
+ "WBBSHSTK1=:WBBSHSTK1,"
+ "WBBSHBRT1=:WBBSHBRT1,"
+ "WBBSHSTKLG1=:WBBSHSTKLG1,"
+ "WBBSHSTK2=:WBBSHSTK2,"
+ "WBBSHBRT2=:WBBSHBRT2,"
+ "WBBSHSTKLG2=:WBBSHSTKLG2,"
+ "WBBSHSTK3=:WBBSHSTK3,"
+ "WBBSHBRT3=:WBBSHBRT3,"
+ "WBBSHSTKLG3=:WBBSHSTKLG3,"
+ "WBBSHSTK4=:WBBSHSTK4,"
+ "WBBSHBRT4=:WBBSHBRT4,"
+ "WBBSHSTKLG4=:WBBSHSTKLG4,"
+ "WBBSHSTK5=:WBBSHSTK5,"
+ "WBBSHBRT5=:WBBSHBRT5,"
+ "WBBSHSTKLG5=:WBBSHSTKLG5,"
+ "WBBSTKNRK=:WBBSTKNRK,"
+ "WBBLO=:WBBLO,"
+ "WBBLB=:WBBLB,"
+ "WBBKZ=:WBBKZ,"
+ "WBBLP=:WBBLP,"
+ "WBBAUFBKZ=:WBBAUFBKZ,"
+ "WBBGEBNR=:WBBGEBNR,"
+ "WBBGEBPOS=:WBBGEBPOS,"
+ "WBBSPSTA=:WBBSPSTA,"
+ "WBBSPGRD=:WBBSPGRD,"
+ "WBBERLKZ=:WBBERLKZ,"
+ "WBBAUFTYP=:WBBAUFTYP,"
+ "WBBAUFKRS=:WBBAUFKRS,"
+ "WBBAUFLFD=:WBBAUFLFD,"
+ "WBBAUFPOS=:WBBAUFPOS,"
+ "WBBTP=:WBBTP,"
+ "WBBFOLGE=:WBBFOLGE,"
+ "WBBAFOLGEVON=:WBBAFOLGEVON,"
+ "WBBRAFOLGE=:WBBRAFOLGE,"
+ "WBBMAFOLGE=:WBBMAFOLGE,"
+ "WBBRSTKLG=:WBBRSTKLG,"
+ "WBBRGEW=:WBBRGEW,"
+ "WBBLGAE=:WBBLGAE,"
+ "WBBGEWAE=:WBBGEWAE,"
+ "WBBPOOL=:WBBPOOL,"
+ "WBBAUTZU=:WBBAUTZU,"
+ "WBBWDUPOS=:WBBWDUPOS,"
+ "WBBRBENID=:WBBRBENID,"
+ "WBBRDATB=:WBBRDATB,"
+ "WBBRDAT=:WBBRDAT,"
+ "WBBRBEM=:WBBRBEM,"
+ "WBBRKUNDNR=:WBBRKUNDNR,"
+ "WBBDPART=:WBBDPART,"
+ "WBBDPART2=:WBBDPART2,"
+ "WBBZUSTAND=:WBBZUSTAND,"
+ "WBBFARBN=:WBBFARBN,"
+ "WBBSPKZ=:WBBSPKZ,"
+ "WBBCUKZ=:WBBCUKZ,"
+ "WBBDISPOART=:WBBDISPOART,"
+ "WBBDISPOVAR=:WBBDISPOVAR,"
+ "WBBAUSFFRB=:WBBAUSFFRB,"
+ "WBBAUSFGRI=:WBBAUSFGRI,"
+ "WBBAUSFQUAL=:WBBAUSFQUAL,"
+ "WBBQUALST=:WBBQUALST,"
+ "WBBQPKT=:WBBQPKT,"
+ "WBBQPKTH=:WBBQPKTH,"
+ "WBBQPKTL=:WBBQPKTL,"
+ "WBBQPKTLH=:WBBQPKTLH,"
+ "WBBVB=:WBBVB,"
+ "WBBVG=:WBBVG,"
+ "WBBVLVB=:WBBVLVB,"
+ "WBBVLVG=:WBBVLVG,"
+ "WBBVLSACHB=:WBBVLSACHB,"
+ "WBBVLGEGEN=:WBBVLGEGEN,"
+ "WBBPRKUNDNR=:WBBPRKUNDNR,"
+ "WBBGENNR=:WBBGENNR,"
+ "WBBELOA=:WBBELOA,"
+ "WBBELOB=:WBBELOB,"
+ "WBBURAUFKRS=:WBBURAUFKRS,"
+ "WBBURAUFLFD=:WBBURAUFLFD,"
+ "WBBURAUFPOS=:WBBURAUFPOS,"
+ "WBBVKNPOS=:WBBVKNPOS,"
+ "WBBURLAND=:WBBURLAND,"
+ "WBBVERZKZ=:WBBVERZKZ,"
+ "WBBTSTKLG=:WBBTSTKLG,"
+ "WBBTANZ=:WBBTANZ,"
+ "WBBURPOS=:WBBURPOS,"
+ "WBBTEILPOS=:WBBTEILPOS,"
+ "WBBECKZ=:WBBECKZ,"
+ "WBBTLGAFOLGE=:WBBTLGAFOLGE,"
+ "WBBZMT=:WBBZMT,"
+ "WBBANZSNT=:WBBANZSNT,"
+ "WBBTLBRT=:WBBTLBRT,"
+ "WBBTLSTKLG=:WBBTLSTKLG,"
+ "WBBTLRICHT=:WBBTLRICHT,"
+ "WBBDRKZ1=:WBBDRKZ1,"
+ "WBBDRKZ2=:WBBDRKZ2,"
+ "WBBEINDAT=:WBBEINDAT,"
+ "WBBWSTKLG=:WBBWSTKLG,"
+ "WBBWBRT=:WBBWBRT,"
+ "WBBWBMNRKRS=:WBBWBMNRKRS,"
+ "WBBWBMLFDNR=:WBBWBMLFDNR,"
+ "WBBWBMPOS=:WBBWBMPOS,"
+ "WBBSCHUSS=:WBBSCHUSS,"
+ "WBBWERKE=:WBBWERKE,"
+ "WBBLIEF=:WBBLIEF,"
+ "WBBBAHN=:WBBBAHN,"
+ "WBBBAHNMAX=:WBBBAHNMAX,"
+ "WBBWLO=:WBBWLO,"
+ "WBBWLB=:WBBWLB,"
+ "WBBWLP=:WBBWLP,"
+ "WBBWAUFBKZ=:WBBWAUFBKZ,"
+ "WBBKANTE=:WBBKANTE,"
+ "WBBSOLLKZ=:WBBSOLLKZ,"
+ "WBBMATAB=:WBBMATAB,"
+ "WBBWJJJJ=:WBBWJJJJ,"
+ "WBBWBNR=:WBBWBNR,"
+ "WBBFLZZUGDAT=:WBBFLZZUGDAT,"
+ "WBBISTKLGFA=:WBBISTKLGFA,"
+ "WBBISTKLGF=:WBBISTKLGF,"
+ "WBBFRTWSKZ=:WBBFRTWSKZ,"
+ "WBBLTPOS=:WBBLTPOS,"
+ "WBBILGFBT=:WBBILGFBT,"
+ "WBBILGRBT=:WBBILGRBT,"
+ "WBBIBRTFV=:WBBIBRTFV,"
+ "WBBIBRTFB=:WBBIBRTFB,"
+ "WBBFEUCHTE=:WBBFEUCHTE,"
+ "WBBLIEFSCH=:WBBLIEFSCH,"
+ "WBBKDPART=:WBBKDPART,"
+ "WBBSCHLICHTEKZ=:WBBSCHLICHTEKZ,"
+ "WBBASWAKZ=:WBBASWAKZ,"
+ "WBBASART=:WBBASART,"
+ "WBBASVAR=:WBBASVAR,"
+ "WBBFARBEALT=:WBBFARBEALT,"
+ "WBBCOLALT=:WBBCOLALT,"
+ "WBBDESSALT=:WBBDESSALT,"
+ "WBBBESALT=:WBBBESALT,"
+ "WBBZUSTANDA=:WBBZUSTANDA,"
+ "WBBMASSKZ=:WBBMASSKZ,"
+ "WBBFJJJJ=:WBBFJJJJ,"
+ "WBBFBNR=:WBBFBNR,"
+ "WBBRETOURKZ=:WBBRETOURKZ,"
+ "WBBREAUFKRS=:WBBREAUFKRS,"
+ "WBBREAUFLFD=:WBBREAUFLFD,"
+ "WBBREAUFPOS=:WBBREAUFPOS,"
+ "WBBREAFOLGE=:WBBREAFOLGE,"
+ "WBBTPA=:WBBTPA,"
+ "WBBKOMMNR=:WBBKOMMNR,"
+ "WBBALIEFSCH=:WBBALIEFSCH,"
+ "WBBPACKNR=:WBBPACKNR,"
+ "WBBPACKAUTO=:WBBPACKAUTO,"
+ "WBBRUEKZ=:WBBRUEKZ,"
+ "WBBURLB=:WBBURLB,"
+ "WBBURLP=:WBBURLP,"
+ "WBBURAKZ=:WBBURAKZ,"
+ "WBBVERSDAT=:WBBVERSDAT,"
+ "WBBVERSANDKZ=:WBBVERSANDKZ,"
+ "WBBURLIEFSCH=:WBBURLIEFSCH,"
+ "WBBARECHNR=:WBBARECHNR,"
+ "WBBFERTKZ=:WBBFERTKZ,"
+ "WBBEGKZ=:WBBEGKZ,"
+ "WBBBEM=:WBBBEM,"
+ "WBBTXSCHL=:WBBTXSCHL,"
+ "WBBHHK1=:WBBHHK1,"
+ "WBBHHK2=:WBBHHK2,"
+ "WBBHHK3=:WBBHHK3,"
+ "WBBHHK4=:WBBHHK4,"
+ "WBBHHK5=:WBBHHK5,"
+ "WBBHHK6=:WBBHHK6,"
+ "WBBHHK7=:WBBHHK7,"
+ "WBBHHK8=:WBBHHK8,"
+ "WBBHHK9=:WBBHHK9,"
+ "WBBHHK10=:WBBHHK10,"
+ "WBBHHKG=:WBBHHKG,"
+ "WBBAHK1=:WBBAHK1,"
+ "WBBAHK2=:WBBAHK2,"
+ "WBBAHK3=:WBBAHK3,"
+ "WBBAHK4=:WBBAHK4,"
+ "WBBAHK5=:WBBAHK5,"
+ "WBBAHK6=:WBBAHK6,"
+ "WBBAHK7=:WBBAHK7,"
+ "WBBAHK8=:WBBAHK8,"
+ "WBBAHK9=:WBBAHK9,"
+ "WBBAHK10=:WBBAHK10,"
+ "WBBAHKG=:WBBAHKG,"
+ "WBBABPZAB=:WBBABPZAB,"
+ "WBBABDATAB=:WBBABDATAB,"
+ "WBBNEUBEN=:WBBNEUBEN,"
+ "WBBNEUDAT=:WBBNEUDAT,"
+ "WBBAENDBEN=:WBBAENDBEN,"
+ "WBBAENDDAT=:WBBAENDDAT,"
+ "WBBAENDZL=:WBBAENDZL,"
+ "WBBWS=:WBBWS,"
+ "WBBWSNO=:WBBWSNO,"
+ "WBBFILLER=:WBBFILLER "
+ " WHERE  "
               + "  WBBMANDANT=:WBBMANDANT AND WBBRWKRS=:WBBRWKRS AND WBBRWLFD=:WBBRWLFD AND WBBPOS=:WBBPOS";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("WBBMANDANT", OracleType.NVarChar).Value = dwData["WBBMANDANT"].ToString();
            or1.Parameters.Add("WBBRWKRS", OracleType.NVarChar).Value = dwData["WBBRWKRS"].ToString();
            or1.Parameters.Add("WBBRWLFD", OracleType.NVarChar).Value = dwData["WBBRWLFD"].ToString();
            or1.Parameters.Add("WBBPOS", OracleType.NVarChar).Value = dwData["WBBPOS"].ToString();
            or1.Parameters.Add("WBBWERK", OracleType.NVarChar).Value = dwData["WBBWERK"].ToString();
            or1.Parameters.Add("WBBABT", OracleType.NVarChar).Value = dwData["WBBABT"].ToString();
            or1.Parameters.Add("WBBKUNDNR", OracleType.NVarChar).Value = dwData["WBBKUNDNR"].ToString();
            or1.Parameters.Add("WBBSTKNR", OracleType.NVarChar).Value = dwData["WBBSTKNR"].ToString();
            or1.Parameters.Add("WBBWAKZ", OracleType.NVarChar).Value = dwData["WBBWAKZ"].ToString();
            or1.Parameters.Add("WBBART", OracleType.NVarChar).Value = dwData["WBBART"].ToString();
            or1.Parameters.Add("WBBDESS", OracleType.NVarChar).Value = dwData["WBBDESS"].ToString();
            or1.Parameters.Add("WBBCOLORIT", OracleType.NVarChar).Value = dwData["WBBCOLORIT"].ToString();
            or1.Parameters.Add("WBBFARBE", OracleType.NVarChar).Value = dwData["WBBFARBE"].ToString();
            or1.Parameters.Add("WBBBESCHICH", OracleType.NVarChar).Value = dwData["WBBBESCHICH"].ToString();
            or1.Parameters.Add("WBBVAR", OracleType.NVarChar).Value = dwData["WBBVAR"].ToString();
            or1.Parameters.Add("WBBKOLL", OracleType.NVarChar).Value = dwData["WBBKOLL"].ToString();
            or1.Parameters.Add("WBBVKART", OracleType.NVarChar).Value = dwData["WBBVKART"].ToString();
            or1.Parameters.Add("WBBVKFARBE", OracleType.NVarChar).Value = dwData["WBBVKFARBE"].ToString();
            or1.Parameters.Add("WBBARTABW", OracleType.NVarChar).Value = dwData["WBBARTABW"].ToString();
            or1.Parameters.Add("WBBARTKUNDNR", OracleType.NVarChar).Value = dwData["WBBARTKUNDNR"].ToString();
            or1.Parameters.Add("WBBENTWKZ", OracleType.NVarChar).Value = dwData["WBBENTWKZ"].ToString();
            or1.Parameters.Add("WBBSSTKLG", OracleType.NVarChar).Value = dwData["WBBSSTKLG"].ToString();
            or1.Parameters.Add("WBBSGEW", OracleType.NVarChar).Value = dwData["WBBSGEW"].ToString();
            or1.Parameters.Add("WBBSBRT", OracleType.NVarChar).Value = dwData["WBBSBRT"].ToString();
            or1.Parameters.Add("WBBISTKLG", OracleType.NVarChar).Value = dwData["WBBISTKLG"].ToString();
            or1.Parameters.Add("WBBIGEW", OracleType.NVarChar).Value = dwData["WBBIGEW"].ToString();
            or1.Parameters.Add("WBBIBRT", OracleType.NVarChar).Value = dwData["WBBIBRT"].ToString();
            or1.Parameters.Add("WBBBRGEW", OracleType.NVarChar).Value = dwData["WBBBRGEW"].ToString();
            or1.Parameters.Add("WBBDM", OracleType.NVarChar).Value = dwData["WBBDM"].ToString();
            or1.Parameters.Add("WBBVOL", OracleType.NVarChar).Value = dwData["WBBVOL"].ToString();
            or1.Parameters.Add("WBBIGEWKZ", OracleType.NVarChar).Value = dwData["WBBIGEWKZ"].ToString();
            or1.Parameters.Add("WBBIANZ", OracleType.NVarChar).Value = dwData["WBBIANZ"].ToString();
            or1.Parameters.Add("WBBMABRT1", OracleType.NVarChar).Value = dwData["WBBMABRT1"].ToString();
            or1.Parameters.Add("WBBMASTKLG1", OracleType.NVarChar).Value = dwData["WBBMASTKLG1"].ToString();
            or1.Parameters.Add("WBBMABRT2", OracleType.NVarChar).Value = dwData["WBBMABRT2"].ToString();
            or1.Parameters.Add("WBBMASTKLG2", OracleType.NVarChar).Value = dwData["WBBMASTKLG2"].ToString();
            or1.Parameters.Add("WBBMABRT3", OracleType.NVarChar).Value = dwData["WBBMABRT3"].ToString();
            or1.Parameters.Add("WBBMASTKLG3", OracleType.NVarChar).Value = dwData["WBBMASTKLG3"].ToString();
            or1.Parameters.Add("WBBMABRT4", OracleType.NVarChar).Value = dwData["WBBMABRT4"].ToString();
            or1.Parameters.Add("WBBMASTKLG4", OracleType.NVarChar).Value = dwData["WBBMASTKLG4"].ToString();
            or1.Parameters.Add("WBBMABRT5", OracleType.NVarChar).Value = dwData["WBBMABRT5"].ToString();
            or1.Parameters.Add("WBBMASTKLG5", OracleType.NVarChar).Value = dwData["WBBMASTKLG5"].ToString();
            or1.Parameters.Add("WBBINDAT", OracleType.NVarChar).Value = dwData["WBBINDAT"].ToString();
            or1.Parameters.Add("WBBINBSTMTR", OracleType.NVarChar).Value = dwData["WBBINBSTMTR"].ToString();
            or1.Parameters.Add("WBBINBSTKG", OracleType.NVarChar).Value = dwData["WBBINBSTKG"].ToString();
            or1.Parameters.Add("WBBIPREIS", OracleType.NVarChar).Value = dwData["WBBIPREIS"].ToString();
            or1.Parameters.Add("WBBWARSCH", OracleType.NVarChar).Value = dwData["WBBWARSCH"].ToString();
            or1.Parameters.Add("WBBWDATUM", OracleType.NVarChar).Value = dwData["WBBWDATUM"].ToString();
            or1.Parameters.Add("WBBWSCHICHT", OracleType.NVarChar).Value = dwData["WBBWSCHICHT"].ToString();
            or1.Parameters.Add("WBBWMNRKRS", OracleType.NVarChar).Value = dwData["WBBWMNRKRS"].ToString();
            or1.Parameters.Add("WBBWMLFDNR", OracleType.NVarChar).Value = dwData["WBBWMLFDNR"].ToString();
            or1.Parameters.Add("WBBWMPOS", OracleType.NVarChar).Value = dwData["WBBWMPOS"].ToString();
            or1.Parameters.Add("WBBRE", OracleType.NVarChar).Value = dwData["WBBRE"].ToString();
            or1.Parameters.Add("WBBRENETTO", OracleType.NVarChar).Value = dwData["WBBRENETTO"].ToString();
            or1.Parameters.Add("WBBREVGUET", OracleType.NVarChar).Value = dwData["WBBREVGUET"].ToString();
            or1.Parameters.Add("WBBRS", OracleType.NVarChar).Value = dwData["WBBRS"].ToString();
            or1.Parameters.Add("WBBRSNETTO", OracleType.NVarChar).Value = dwData["WBBRSNETTO"].ToString();
            or1.Parameters.Add("WBBRSVGUET", OracleType.NVarChar).Value = dwData["WBBRSVGUET"].ToString();
            or1.Parameters.Add("WBBVE", OracleType.NVarChar).Value = dwData["WBBVE"].ToString();
            or1.Parameters.Add("WBBVENETTO", OracleType.NVarChar).Value = dwData["WBBVENETTO"].ToString();
            or1.Parameters.Add("WBBVEVGUET", OracleType.NVarChar).Value = dwData["WBBVEVGUET"].ToString();
            or1.Parameters.Add("WBBVS", OracleType.NVarChar).Value = dwData["WBBVS"].ToString();
            or1.Parameters.Add("WBBVSNETTO", OracleType.NVarChar).Value = dwData["WBBVSNETTO"].ToString();
            or1.Parameters.Add("WBBVSVGUET", OracleType.NVarChar).Value = dwData["WBBVSVGUET"].ToString();
            or1.Parameters.Add("WBBANZTEILE", OracleType.NVarChar).Value = dwData["WBBANZTEILE"].ToString();
            or1.Parameters.Add("WBBVERSION", OracleType.NVarChar).Value = dwData["WBBVERSION"].ToString();
            or1.Parameters.Add("WBBTAX", OracleType.NVarChar).Value = dwData["WBBTAX"].ToString();
            or1.Parameters.Add("WBBZENSUR", OracleType.NVarChar).Value = dwData["WBBZENSUR"].ToString();
            or1.Parameters.Add("WBBZENSURKZ", OracleType.NVarChar).Value = dwData["WBBZENSURKZ"].ToString();
            or1.Parameters.Add("WBBUBRT", OracleType.NVarChar).Value = dwData["WBBUBRT"].ToString();
            or1.Parameters.Add("WBBZAFOLGE", OracleType.NVarChar).Value = dwData["WBBZAFOLGE"].ToString();
            or1.Parameters.Add("WBBNAFOLGE", OracleType.NVarChar).Value = dwData["WBBNAFOLGE"].ToString();
            or1.Parameters.Add("WBBZLNR", OracleType.NVarChar).Value = dwData["WBBZLNR"].ToString();
            or1.Parameters.Add("WBBAUFMSL", OracleType.NVarChar).Value = dwData["WBBAUFMSL"].ToString();
            or1.Parameters.Add("WBBZUSAM", OracleType.NVarChar).Value = dwData["WBBZUSAM"].ToString();
            or1.Parameters.Add("WBBMAART", OracleType.NVarChar).Value = dwData["WBBMAART"].ToString();
            or1.Parameters.Add("WBBPACKTYP", OracleType.NVarChar).Value = dwData["WBBPACKTYP"].ToString();
            or1.Parameters.Add("WBBROLLR", OracleType.NVarChar).Value = dwData["WBBROLLR"].ToString();
            or1.Parameters.Add("WBBAUFMPOS", OracleType.NVarChar).Value = dwData["WBBAUFMPOS"].ToString();
            or1.Parameters.Add("WBBKONFKZ", OracleType.NVarChar).Value = dwData["WBBKONFKZ"].ToString();
            or1.Parameters.Add("WBBKETTELN", OracleType.NVarChar).Value = dwData["WBBKETTELN"].ToString();
            or1.Parameters.Add("WBBSHSTK1", OracleType.NVarChar).Value = dwData["WBBSHSTK1"].ToString();
            or1.Parameters.Add("WBBSHBRT1", OracleType.NVarChar).Value = dwData["WBBSHBRT1"].ToString();
            or1.Parameters.Add("WBBSHSTKLG1", OracleType.NVarChar).Value = dwData["WBBSHSTKLG1"].ToString();
            or1.Parameters.Add("WBBSHSTK2", OracleType.NVarChar).Value = dwData["WBBSHSTK2"].ToString();
            or1.Parameters.Add("WBBSHBRT2", OracleType.NVarChar).Value = dwData["WBBSHBRT2"].ToString();
            or1.Parameters.Add("WBBSHSTKLG2", OracleType.NVarChar).Value = dwData["WBBSHSTKLG2"].ToString();
            or1.Parameters.Add("WBBSHSTK3", OracleType.NVarChar).Value = dwData["WBBSHSTK3"].ToString();
            or1.Parameters.Add("WBBSHBRT3", OracleType.NVarChar).Value = dwData["WBBSHBRT3"].ToString();
            or1.Parameters.Add("WBBSHSTKLG3", OracleType.NVarChar).Value = dwData["WBBSHSTKLG3"].ToString();
            or1.Parameters.Add("WBBSHSTK4", OracleType.NVarChar).Value = dwData["WBBSHSTK4"].ToString();
            or1.Parameters.Add("WBBSHBRT4", OracleType.NVarChar).Value = dwData["WBBSHBRT4"].ToString();
            or1.Parameters.Add("WBBSHSTKLG4", OracleType.NVarChar).Value = dwData["WBBSHSTKLG4"].ToString();
            or1.Parameters.Add("WBBSHSTK5", OracleType.NVarChar).Value = dwData["WBBSHSTK5"].ToString();
            or1.Parameters.Add("WBBSHBRT5", OracleType.NVarChar).Value = dwData["WBBSHBRT5"].ToString();
            or1.Parameters.Add("WBBSHSTKLG5", OracleType.NVarChar).Value = dwData["WBBSHSTKLG5"].ToString();
            or1.Parameters.Add("WBBSTKNRK", OracleType.NVarChar).Value = dwData["WBBSTKNRK"].ToString();
            or1.Parameters.Add("WBBLO", OracleType.NVarChar).Value = dwData["WBBLO"].ToString();
            or1.Parameters.Add("WBBLB", OracleType.NVarChar).Value = dwData["WBBLB"].ToString();
            or1.Parameters.Add("WBBKZ", OracleType.NVarChar).Value = dwData["WBBKZ"].ToString();
            or1.Parameters.Add("WBBLP", OracleType.NVarChar).Value = dwData["WBBLP"].ToString();
            or1.Parameters.Add("WBBAUFBKZ", OracleType.NVarChar).Value = dwData["WBBAUFBKZ"].ToString();
            or1.Parameters.Add("WBBGEBNR", OracleType.NVarChar).Value = dwData["WBBGEBNR"].ToString();
            or1.Parameters.Add("WBBGEBPOS", OracleType.NVarChar).Value = dwData["WBBGEBPOS"].ToString();
            or1.Parameters.Add("WBBSPSTA", OracleType.NVarChar).Value = dwData["WBBSPSTA"].ToString();
            or1.Parameters.Add("WBBSPGRD", OracleType.NVarChar).Value = dwData["WBBSPGRD"].ToString();
            or1.Parameters.Add("WBBERLKZ", OracleType.NVarChar).Value = dwData["WBBERLKZ"].ToString();
            or1.Parameters.Add("WBBAUFTYP", OracleType.NVarChar).Value = dwData["WBBAUFTYP"].ToString();
            or1.Parameters.Add("WBBAUFKRS", OracleType.NVarChar).Value = dwData["WBBAUFKRS"].ToString();
            or1.Parameters.Add("WBBAUFLFD", OracleType.NVarChar).Value = dwData["WBBAUFLFD"].ToString();
            or1.Parameters.Add("WBBAUFPOS", OracleType.NVarChar).Value = dwData["WBBAUFPOS"].ToString();
            or1.Parameters.Add("WBBTP", OracleType.NVarChar).Value = dwData["WBBTP"].ToString();
            or1.Parameters.Add("WBBFOLGE", OracleType.NVarChar).Value = dwData["WBBFOLGE"].ToString();
            or1.Parameters.Add("WBBAFOLGEVON", OracleType.NVarChar).Value = dwData["WBBAFOLGEVON"].ToString();
            or1.Parameters.Add("WBBRAFOLGE", OracleType.NVarChar).Value = dwData["WBBRAFOLGE"].ToString();
            or1.Parameters.Add("WBBMAFOLGE", OracleType.NVarChar).Value = dwData["WBBMAFOLGE"].ToString();
            or1.Parameters.Add("WBBRSTKLG", OracleType.NVarChar).Value = dwData["WBBRSTKLG"].ToString();
            or1.Parameters.Add("WBBRGEW", OracleType.NVarChar).Value = dwData["WBBRGEW"].ToString();
            or1.Parameters.Add("WBBLGAE", OracleType.NVarChar).Value = dwData["WBBLGAE"].ToString();
            or1.Parameters.Add("WBBGEWAE", OracleType.NVarChar).Value = dwData["WBBGEWAE"].ToString();
            or1.Parameters.Add("WBBPOOL", OracleType.NVarChar).Value = dwData["WBBPOOL"].ToString();
            or1.Parameters.Add("WBBAUTZU", OracleType.NVarChar).Value = dwData["WBBAUTZU"].ToString();
            or1.Parameters.Add("WBBWDUPOS", OracleType.NVarChar).Value = dwData["WBBWDUPOS"].ToString();
            or1.Parameters.Add("WBBRBENID", OracleType.NVarChar).Value = dwData["WBBRBENID"].ToString();
            or1.Parameters.Add("WBBRDATB", OracleType.NVarChar).Value = dwData["WBBRDATB"].ToString();
            or1.Parameters.Add("WBBRDAT", OracleType.NVarChar).Value = dwData["WBBRDAT"].ToString();
            or1.Parameters.Add("WBBRBEM", OracleType.NVarChar).Value = dwData["WBBRBEM"].ToString();
            or1.Parameters.Add("WBBRKUNDNR", OracleType.NVarChar).Value = dwData["WBBRKUNDNR"].ToString();
            or1.Parameters.Add("WBBDPART", OracleType.NVarChar).Value = dwData["WBBDPART"].ToString();
            or1.Parameters.Add("WBBDPART2", OracleType.NVarChar).Value = dwData["WBBDPART2"].ToString();
            or1.Parameters.Add("WBBZUSTAND", OracleType.NVarChar).Value = dwData["WBBZUSTAND"].ToString();
            or1.Parameters.Add("WBBFARBN", OracleType.NVarChar).Value = dwData["WBBFARBN"].ToString();
            or1.Parameters.Add("WBBSPKZ", OracleType.NVarChar).Value = dwData["WBBSPKZ"].ToString();
            or1.Parameters.Add("WBBCUKZ", OracleType.NVarChar).Value = dwData["WBBCUKZ"].ToString();
            or1.Parameters.Add("WBBDISPOART", OracleType.NVarChar).Value = dwData["WBBDISPOART"].ToString();
            or1.Parameters.Add("WBBDISPOVAR", OracleType.NVarChar).Value = dwData["WBBDISPOVAR"].ToString();
            or1.Parameters.Add("WBBAUSFFRB", OracleType.NVarChar).Value = dwData["WBBAUSFFRB"].ToString();
            or1.Parameters.Add("WBBAUSFGRI", OracleType.NVarChar).Value = dwData["WBBAUSFGRI"].ToString();
            or1.Parameters.Add("WBBAUSFQUAL", OracleType.NVarChar).Value = dwData["WBBAUSFQUAL"].ToString();
            or1.Parameters.Add("WBBQUALST", OracleType.NVarChar).Value = dwData["WBBQUALST"].ToString();
            or1.Parameters.Add("WBBQPKT", OracleType.NVarChar).Value = dwData["WBBQPKT"].ToString();
            or1.Parameters.Add("WBBQPKTH", OracleType.NVarChar).Value = dwData["WBBQPKTH"].ToString();
            or1.Parameters.Add("WBBQPKTL", OracleType.NVarChar).Value = dwData["WBBQPKTL"].ToString();
            or1.Parameters.Add("WBBQPKTLH", OracleType.NVarChar).Value = dwData["WBBQPKTLH"].ToString();
            or1.Parameters.Add("WBBVB", OracleType.NVarChar).Value = dwData["WBBVB"].ToString();
            or1.Parameters.Add("WBBVG", OracleType.NVarChar).Value = dwData["WBBVG"].ToString();
            or1.Parameters.Add("WBBVLVB", OracleType.NVarChar).Value = dwData["WBBVLVB"].ToString();
            or1.Parameters.Add("WBBVLVG", OracleType.NVarChar).Value = dwData["WBBVLVG"].ToString();
            or1.Parameters.Add("WBBVLSACHB", OracleType.NVarChar).Value = dwData["WBBVLSACHB"].ToString();
            or1.Parameters.Add("WBBVLGEGEN", OracleType.NVarChar).Value = dwData["WBBVLGEGEN"].ToString();
            or1.Parameters.Add("WBBPRKUNDNR", OracleType.NVarChar).Value = dwData["WBBPRKUNDNR"].ToString();
            or1.Parameters.Add("WBBGENNR", OracleType.NVarChar).Value = dwData["WBBGENNR"].ToString();
            or1.Parameters.Add("WBBELOA", OracleType.NVarChar).Value = dwData["WBBELOA"].ToString();
            or1.Parameters.Add("WBBELOB", OracleType.NVarChar).Value = dwData["WBBELOB"].ToString();
            or1.Parameters.Add("WBBURAUFKRS", OracleType.NVarChar).Value = dwData["WBBURAUFKRS"].ToString();
            or1.Parameters.Add("WBBURAUFLFD", OracleType.NVarChar).Value = dwData["WBBURAUFLFD"].ToString();
            or1.Parameters.Add("WBBURAUFPOS", OracleType.NVarChar).Value = dwData["WBBURAUFPOS"].ToString();
            or1.Parameters.Add("WBBVKNPOS", OracleType.NVarChar).Value = dwData["WBBVKNPOS"].ToString();
            or1.Parameters.Add("WBBURLAND", OracleType.NVarChar).Value = dwData["WBBURLAND"].ToString();
            or1.Parameters.Add("WBBVERZKZ", OracleType.NVarChar).Value = dwData["WBBVERZKZ"].ToString();
            or1.Parameters.Add("WBBTSTKLG", OracleType.NVarChar).Value = dwData["WBBTSTKLG"].ToString();
            or1.Parameters.Add("WBBTANZ", OracleType.NVarChar).Value = dwData["WBBTANZ"].ToString();
            or1.Parameters.Add("WBBURPOS", OracleType.NVarChar).Value = dwData["WBBURPOS"].ToString();
            or1.Parameters.Add("WBBTEILPOS", OracleType.NVarChar).Value = dwData["WBBTEILPOS"].ToString();
            or1.Parameters.Add("WBBECKZ", OracleType.NVarChar).Value = dwData["WBBECKZ"].ToString();
            or1.Parameters.Add("WBBTLGAFOLGE", OracleType.NVarChar).Value = dwData["WBBTLGAFOLGE"].ToString();
            or1.Parameters.Add("WBBZMT", OracleType.NVarChar).Value = dwData["WBBZMT"].ToString();
            or1.Parameters.Add("WBBANZSNT", OracleType.NVarChar).Value = dwData["WBBANZSNT"].ToString();
            or1.Parameters.Add("WBBTLBRT", OracleType.NVarChar).Value = dwData["WBBTLBRT"].ToString();
            or1.Parameters.Add("WBBTLSTKLG", OracleType.NVarChar).Value = dwData["WBBTLSTKLG"].ToString();
            or1.Parameters.Add("WBBTLRICHT", OracleType.NVarChar).Value = dwData["WBBTLRICHT"].ToString();
            or1.Parameters.Add("WBBDRKZ1", OracleType.NVarChar).Value = dwData["WBBDRKZ1"].ToString();
            or1.Parameters.Add("WBBDRKZ2", OracleType.NVarChar).Value = dwData["WBBDRKZ2"].ToString();
            or1.Parameters.Add("WBBEINDAT", OracleType.NVarChar).Value = dwData["WBBEINDAT"].ToString();
            or1.Parameters.Add("WBBWSTKLG", OracleType.NVarChar).Value = dwData["WBBWSTKLG"].ToString();
            or1.Parameters.Add("WBBWBRT", OracleType.NVarChar).Value = dwData["WBBWBRT"].ToString();
            or1.Parameters.Add("WBBWBMNRKRS", OracleType.NVarChar).Value = dwData["WBBWBMNRKRS"].ToString();
            or1.Parameters.Add("WBBWBMLFDNR", OracleType.NVarChar).Value = dwData["WBBWBMLFDNR"].ToString();
            or1.Parameters.Add("WBBWBMPOS", OracleType.NVarChar).Value = dwData["WBBWBMPOS"].ToString();
            or1.Parameters.Add("WBBSCHUSS", OracleType.NVarChar).Value = dwData["WBBSCHUSS"].ToString();
            or1.Parameters.Add("WBBWERKE", OracleType.NVarChar).Value = dwData["WBBWERKE"].ToString();
            or1.Parameters.Add("WBBLIEF", OracleType.NVarChar).Value = dwData["WBBLIEF"].ToString();
            or1.Parameters.Add("WBBBAHN", OracleType.NVarChar).Value = dwData["WBBBAHN"].ToString();
            or1.Parameters.Add("WBBBAHNMAX", OracleType.NVarChar).Value = dwData["WBBBAHNMAX"].ToString();
            or1.Parameters.Add("WBBWLO", OracleType.NVarChar).Value = dwData["WBBWLO"].ToString();
            or1.Parameters.Add("WBBWLB", OracleType.NVarChar).Value = dwData["WBBWLB"].ToString();
            or1.Parameters.Add("WBBWLP", OracleType.NVarChar).Value = dwData["WBBWLP"].ToString();
            or1.Parameters.Add("WBBWAUFBKZ", OracleType.NVarChar).Value = dwData["WBBWAUFBKZ"].ToString();
            or1.Parameters.Add("WBBKANTE", OracleType.NVarChar).Value = dwData["WBBKANTE"].ToString();
            or1.Parameters.Add("WBBSOLLKZ", OracleType.NVarChar).Value = dwData["WBBSOLLKZ"].ToString();
            or1.Parameters.Add("WBBMATAB", OracleType.NVarChar).Value = dwData["WBBMATAB"].ToString();
            or1.Parameters.Add("WBBWJJJJ", OracleType.NVarChar).Value = dwData["WBBWJJJJ"].ToString();
            or1.Parameters.Add("WBBWBNR", OracleType.NVarChar).Value = dwData["WBBWBNR"].ToString();
            or1.Parameters.Add("WBBFLZZUGDAT", OracleType.NVarChar).Value = dwData["WBBFLZZUGDAT"].ToString();
            or1.Parameters.Add("WBBISTKLGFA", OracleType.NVarChar).Value = dwData["WBBISTKLGFA"].ToString();
            or1.Parameters.Add("WBBISTKLGF", OracleType.NVarChar).Value = dwData["WBBISTKLGF"].ToString();
            or1.Parameters.Add("WBBFRTWSKZ", OracleType.NVarChar).Value = dwData["WBBFRTWSKZ"].ToString();
            or1.Parameters.Add("WBBLTPOS", OracleType.NVarChar).Value = dwData["WBBLTPOS"].ToString();
            or1.Parameters.Add("WBBILGFBT", OracleType.NVarChar).Value = dwData["WBBILGFBT"].ToString();
            or1.Parameters.Add("WBBILGRBT", OracleType.NVarChar).Value = dwData["WBBILGRBT"].ToString();
            or1.Parameters.Add("WBBIBRTFV", OracleType.NVarChar).Value = dwData["WBBIBRTFV"].ToString();
            or1.Parameters.Add("WBBIBRTFB", OracleType.NVarChar).Value = dwData["WBBIBRTFB"].ToString();
            or1.Parameters.Add("WBBFEUCHTE", OracleType.NVarChar).Value = dwData["WBBFEUCHTE"].ToString();
            or1.Parameters.Add("WBBLIEFSCH", OracleType.NVarChar).Value = dwData["WBBLIEFSCH"].ToString();
            or1.Parameters.Add("WBBKDPART", OracleType.NVarChar).Value = dwData["WBBKDPART"].ToString();
            or1.Parameters.Add("WBBSCHLICHTEKZ", OracleType.NVarChar).Value = dwData["WBBSCHLICHTEKZ"].ToString();
            or1.Parameters.Add("WBBASWAKZ", OracleType.NVarChar).Value = dwData["WBBASWAKZ"].ToString();
            or1.Parameters.Add("WBBASART", OracleType.NVarChar).Value = dwData["WBBASART"].ToString();
            or1.Parameters.Add("WBBASVAR", OracleType.NVarChar).Value = dwData["WBBASVAR"].ToString();
            or1.Parameters.Add("WBBFARBEALT", OracleType.NVarChar).Value = dwData["WBBFARBEALT"].ToString();
            or1.Parameters.Add("WBBCOLALT", OracleType.NVarChar).Value = dwData["WBBCOLALT"].ToString();
            or1.Parameters.Add("WBBDESSALT", OracleType.NVarChar).Value = dwData["WBBDESSALT"].ToString();
            or1.Parameters.Add("WBBBESALT", OracleType.NVarChar).Value = dwData["WBBBESALT"].ToString();
            or1.Parameters.Add("WBBZUSTANDA", OracleType.NVarChar).Value = dwData["WBBZUSTANDA"].ToString();
            or1.Parameters.Add("WBBMASSKZ", OracleType.NVarChar).Value = dwData["WBBMASSKZ"].ToString();
            or1.Parameters.Add("WBBFJJJJ", OracleType.NVarChar).Value = dwData["WBBFJJJJ"].ToString();
            or1.Parameters.Add("WBBFBNR", OracleType.NVarChar).Value = dwData["WBBFBNR"].ToString();
            or1.Parameters.Add("WBBRETOURKZ", OracleType.NVarChar).Value = dwData["WBBRETOURKZ"].ToString();
            or1.Parameters.Add("WBBREAUFKRS", OracleType.NVarChar).Value = dwData["WBBREAUFKRS"].ToString();
            or1.Parameters.Add("WBBREAUFLFD", OracleType.NVarChar).Value = dwData["WBBREAUFLFD"].ToString();
            or1.Parameters.Add("WBBREAUFPOS", OracleType.NVarChar).Value = dwData["WBBREAUFPOS"].ToString();
            or1.Parameters.Add("WBBREAFOLGE", OracleType.NVarChar).Value = dwData["WBBREAFOLGE"].ToString();
            or1.Parameters.Add("WBBTPA", OracleType.NVarChar).Value = dwData["WBBTPA"].ToString();
            or1.Parameters.Add("WBBKOMMNR", OracleType.NVarChar).Value = dwData["WBBKOMMNR"].ToString();
            or1.Parameters.Add("WBBALIEFSCH", OracleType.NVarChar).Value = dwData["WBBALIEFSCH"].ToString();
            or1.Parameters.Add("WBBPACKNR", OracleType.NVarChar).Value = dwData["WBBPACKNR"].ToString();
            or1.Parameters.Add("WBBPACKAUTO", OracleType.NVarChar).Value = dwData["WBBPACKAUTO"].ToString();
            or1.Parameters.Add("WBBRUEKZ", OracleType.NVarChar).Value = dwData["WBBRUEKZ"].ToString();
            or1.Parameters.Add("WBBURLB", OracleType.NVarChar).Value = dwData["WBBURLB"].ToString();
            or1.Parameters.Add("WBBURLP", OracleType.NVarChar).Value = dwData["WBBURLP"].ToString();
            or1.Parameters.Add("WBBURAKZ", OracleType.NVarChar).Value = dwData["WBBURAKZ"].ToString();
            or1.Parameters.Add("WBBVERSDAT", OracleType.NVarChar).Value = dwData["WBBVERSDAT"].ToString();
            or1.Parameters.Add("WBBVERSANDKZ", OracleType.NVarChar).Value = dwData["WBBVERSANDKZ"].ToString();
            or1.Parameters.Add("WBBURLIEFSCH", OracleType.NVarChar).Value = dwData["WBBURLIEFSCH"].ToString();
            or1.Parameters.Add("WBBARECHNR", OracleType.NVarChar).Value = dwData["WBBARECHNR"].ToString();
            or1.Parameters.Add("WBBFERTKZ", OracleType.NVarChar).Value = dwData["WBBFERTKZ"].ToString();
            or1.Parameters.Add("WBBEGKZ", OracleType.NVarChar).Value = dwData["WBBEGKZ"].ToString();
            or1.Parameters.Add("WBBBEM", OracleType.NVarChar).Value = dwData["WBBBEM"].ToString();
            or1.Parameters.Add("WBBTXSCHL", OracleType.NVarChar).Value = dwData["WBBTXSCHL"].ToString();
            or1.Parameters.Add("WBBHHK1", OracleType.NVarChar).Value = dwData["WBBHHK1"].ToString();
            or1.Parameters.Add("WBBHHK2", OracleType.NVarChar).Value = dwData["WBBHHK2"].ToString();
            or1.Parameters.Add("WBBHHK3", OracleType.NVarChar).Value = dwData["WBBHHK3"].ToString();
            or1.Parameters.Add("WBBHHK4", OracleType.NVarChar).Value = dwData["WBBHHK4"].ToString();
            or1.Parameters.Add("WBBHHK5", OracleType.NVarChar).Value = dwData["WBBHHK5"].ToString();
            or1.Parameters.Add("WBBHHK6", OracleType.NVarChar).Value = dwData["WBBHHK6"].ToString();
            or1.Parameters.Add("WBBHHK7", OracleType.NVarChar).Value = dwData["WBBHHK7"].ToString();
            or1.Parameters.Add("WBBHHK8", OracleType.NVarChar).Value = dwData["WBBHHK8"].ToString();
            or1.Parameters.Add("WBBHHK9", OracleType.NVarChar).Value = dwData["WBBHHK9"].ToString();
            or1.Parameters.Add("WBBHHK10", OracleType.NVarChar).Value = dwData["WBBHHK10"].ToString();
            or1.Parameters.Add("WBBHHKG", OracleType.NVarChar).Value = dwData["WBBHHKG"].ToString();
            or1.Parameters.Add("WBBAHK1", OracleType.NVarChar).Value = dwData["WBBAHK1"].ToString();
            or1.Parameters.Add("WBBAHK2", OracleType.NVarChar).Value = dwData["WBBAHK2"].ToString();
            or1.Parameters.Add("WBBAHK3", OracleType.NVarChar).Value = dwData["WBBAHK3"].ToString();
            or1.Parameters.Add("WBBAHK4", OracleType.NVarChar).Value = dwData["WBBAHK4"].ToString();
            or1.Parameters.Add("WBBAHK5", OracleType.NVarChar).Value = dwData["WBBAHK5"].ToString();
            or1.Parameters.Add("WBBAHK6", OracleType.NVarChar).Value = dwData["WBBAHK6"].ToString();
            or1.Parameters.Add("WBBAHK7", OracleType.NVarChar).Value = dwData["WBBAHK7"].ToString();
            or1.Parameters.Add("WBBAHK8", OracleType.NVarChar).Value = dwData["WBBAHK8"].ToString();
            or1.Parameters.Add("WBBAHK9", OracleType.NVarChar).Value = dwData["WBBAHK9"].ToString();
            or1.Parameters.Add("WBBAHK10", OracleType.NVarChar).Value = dwData["WBBAHK10"].ToString();
            or1.Parameters.Add("WBBAHKG", OracleType.NVarChar).Value = dwData["WBBAHKG"].ToString();
            or1.Parameters.Add("WBBABPZAB", OracleType.NVarChar).Value = dwData["WBBABPZAB"].ToString();
            or1.Parameters.Add("WBBABDATAB", OracleType.NVarChar).Value = dwData["WBBABDATAB"].ToString();
            or1.Parameters.Add("WBBNEUBEN", OracleType.NVarChar).Value = dwData["WBBNEUBEN"].ToString();
            or1.Parameters.Add("WBBNEUDAT", OracleType.NVarChar).Value = dwData["WBBNEUDAT"].ToString();
            or1.Parameters.Add("WBBAENDBEN", OracleType.NVarChar).Value = dwData["WBBAENDBEN"].ToString();
            or1.Parameters.Add("WBBAENDDAT", OracleType.NVarChar).Value = dwData["WBBAENDDAT"].ToString();
            or1.Parameters.Add("WBBAENDZL", OracleType.NVarChar).Value = dwData["WBBAENDZL"].ToString();
            or1.Parameters.Add("WBBWS", OracleType.NVarChar).Value = dwData["WBBWS"].ToString();
            or1.Parameters.Add("WBBWSNO", OracleType.NVarChar).Value = dwData["WBBWSNO"].ToString();
            or1.Parameters.Add("WBBFILLER", OracleType.NVarChar).Value = dwData["WBBFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateWBDAT(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();
            #region====Command====
            or1.CommandText = "UPDATE WBDAT SET "
                + "WBMANDANT=:WBMANDANT,"
                + "WBRWKRS=:WBRWKRS,"
                + "WBRWLFD=:WBRWLFD,"
                + "WBLESTKNR=:WBLESTKNR,"
                + "WBKUNDNR=:WBKUNDNR,"
                + "WBWERK=:WBWERK,"
                + "WBABT=:WBABT,"
                + "WBWAKZ=:WBWAKZ,"
                + "WBART=:WBART,"
                + "WBVAR=:WBVAR,"
                + "WBDESS=:WBDESS,"
                + "WBCOLORIT=:WBCOLORIT,"
                + "WBFARBE=:WBFARBE,"
                + "WBBESCHICH=:WBBESCHICH,"
                + "WBZUSTAND=:WBZUSTAND,"
                + "WBLIEFSCHNR=:WBLIEFSCHNR,"
                + "WBLIEFDAT=:WBLIEFDAT,"
                + "WBWEBER=:WBWEBER,"
                + "WBABS=:WBABS,"
                + "WBEINDAT=:WBEINDAT,"
                + "WBEINLO=:WBEINLO,"
                + "WBKDPART=:WBKDPART,"
                + "WBSPSTA=:WBSPSTA,"
                + "WBSPGRD=:WBSPGRD,"
                + "WBSTK=:WBSTK,"
                + "WBMTR=:WBMTR,"
                + "WBGEBANZ=:WBGEBANZ,"
                + "WBKGBRUT=:WBKGBRUT,"
                + "WBKGNET=:WBKGNET,"
                + "WBKGTARA=:WBKGTARA,"
                + "WBMEWE=:WBMEWE,"
                + "WBSTKK=:WBSTKK,"
                + "WBMTRK=:WBMTRK,"
                + "WBGEBANZK=:WBGEBANZK,"
                + "WBKGNETK=:WBKGNETK,"
                + "WBRWAUFMSL=:WBRWAUFMSL,"
                + "WBGEBART=:WBGEBART,"
                + "WBBRT=:WBBRT,"
                + "WBGRQM=:WBGRQM,"
                + "WBGRLFD=:WBGRLFD,"
                + "WBFDDIK=:WBFDDIK,"
                + "WBFDDIS=:WBFDDIS,"
                + "WBPRUEF=:WBPRUEF,"
                + "WBSCHLIGR1=:WBSCHLIGR1,"
                + "WBSCHLIGR2=:WBSCHLIGR2,"
                + "WBSCHLIGR3=:WBSCHLIGR3,"
                + "WBSCHLIGR4=:WBSCHLIGR4,"
                + "WBSCHLIGR5=:WBSCHLIGR5,"
                + "WBSCHLINR1=:WBSCHLINR1,"
                + "WBSCHLINR2=:WBSCHLINR2,"
                + "WBSCHLINR3=:WBSCHLINR3,"
                + "WBSCHLINR4=:WBSCHLINR4,"
                + "WBSCHLINR5=:WBSCHLINR5,"
                + "WBFILLER1=:WBFILLER1,"
                + "WBSCHLIKZ=:WBSCHLIKZ,"
                + "WBMATERIAL=:WBMATERIAL,"
                + "WBKRITISCH=:WBKRITISCH,"
                + "WBKDSTK=:WBKDSTK,"
                + "WBVERSRUE=:WBVERSRUE,"
                + "WBKANTE=:WBKANTE,"
                + "WBENTKZ=:WBENTKZ,"
                + "WBBESTKZ=:WBBESTKZ,"
                + "WBBESTKRS=:WBBESTKRS,"
                + "WBBESTLFD=:WBBESTLFD,"
                + "WBBESTPOS=:WBBESTPOS,"
                + "WBKOKRS=:WBKOKRS,"
                + "WBKOLFD=:WBKOLFD,"
                + "WBNETMTR=:WBNETMTR,"
                + "WBFERTKZ=:WBFERTKZ,"
                + "WBREDAT=:WBREDAT,"
                + "WBRENR=:WBRENR,"
                + "WBREWERT=:WBREWERT,"
                + "WBSTAPO=:WBSTAPO,"
                + "WBPLPREIS=:WBPLPREIS,"
                + "WBEINVKZ=:WBEINVKZ,"
                + "WBMATPRF=:WBMATPRF,"
                + "WBSPEDF=:WBSPEDF,"
                + "WBSPEDV=:WBSPEDV,"
                + "WBSPEDZ=:WBSPEDZ,"
                + "WBURRENR=:WBURRENR,"
                + "WBURLAND=:WBURLAND,"
                + "WBBUSIMODE=:WBBUSIMODE,"
                + "WBDRVERT=:WBDRVERT,"
                + "WBCBOOKNO=:WBCBOOKNO,"
                + "WBCITEMNO=:WBCITEMNO,"
                + "WBZOLLST=:WBZOLLST,"
                + "WBFILLER2=:WBFILLER2,"
                + "WBAENDZL=:WBAENDZL,"
                + "WBAENDBEN=:WBAENDBEN,"
                + "WBAENDDAT=:WBAENDDAT,"
                + "WBNEUBEN=:WBNEUBEN,"
                + "WBNEUDAT=:WBNEUDAT"
               + " WHERE  "
               + "  WBMANDANT=:WBMANDANT AND WBRWKRS=:WBRWKRS AND WBRWLFD=:WBRWLFD";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("WBMANDANT", OracleType.NVarChar).Value = dwData["WBMANDANT"].ToString();
            or1.Parameters.Add("WBRWKRS", OracleType.NVarChar).Value = dwData["WBRWKRS"].ToString();
            or1.Parameters.Add("WBRWLFD", OracleType.NVarChar).Value = dwData["WBRWLFD"].ToString();
            or1.Parameters.Add("WBLESTKNR", OracleType.NVarChar).Value = dwData["WBLESTKNR"].ToString();
            or1.Parameters.Add("WBKUNDNR", OracleType.NVarChar).Value = dwData["WBKUNDNR"].ToString();
            or1.Parameters.Add("WBWERK", OracleType.NVarChar).Value = dwData["WBWERK"].ToString();
            or1.Parameters.Add("WBABT", OracleType.NVarChar).Value = dwData["WBABT"].ToString();
            or1.Parameters.Add("WBWAKZ", OracleType.NVarChar).Value = dwData["WBWAKZ"].ToString();
            or1.Parameters.Add("WBART", OracleType.NVarChar).Value = dwData["WBART"].ToString();
            or1.Parameters.Add("WBVAR", OracleType.NVarChar).Value = dwData["WBVAR"].ToString();
            or1.Parameters.Add("WBDESS", OracleType.NVarChar).Value = dwData["WBDESS"].ToString();
            or1.Parameters.Add("WBCOLORIT", OracleType.NVarChar).Value = dwData["WBCOLORIT"].ToString();
            or1.Parameters.Add("WBFARBE", OracleType.NVarChar).Value = dwData["WBFARBE"].ToString();
            or1.Parameters.Add("WBBESCHICH", OracleType.NVarChar).Value = dwData["WBBESCHICH"].ToString();
            or1.Parameters.Add("WBZUSTAND", OracleType.NVarChar).Value = dwData["WBZUSTAND"].ToString();
            or1.Parameters.Add("WBLIEFSCHNR", OracleType.NVarChar).Value = dwData["WBLIEFSCHNR"].ToString();
            or1.Parameters.Add("WBLIEFDAT", OracleType.NVarChar).Value = dwData["WBLIEFDAT"].ToString();
            or1.Parameters.Add("WBWEBER", OracleType.NVarChar).Value = dwData["WBWEBER"].ToString();
            or1.Parameters.Add("WBABS", OracleType.NVarChar).Value = dwData["WBABS"].ToString();
            or1.Parameters.Add("WBEINDAT", OracleType.NVarChar).Value = dwData["WBEINDAT"].ToString();
            or1.Parameters.Add("WBEINLO", OracleType.NVarChar).Value = dwData["WBEINLO"].ToString();
            or1.Parameters.Add("WBKDPART", OracleType.NVarChar).Value = dwData["WBKDPART"].ToString();
            or1.Parameters.Add("WBSPSTA", OracleType.NVarChar).Value = dwData["WBSPSTA"].ToString();
            or1.Parameters.Add("WBSPGRD", OracleType.NVarChar).Value = dwData["WBSPGRD"].ToString();
            or1.Parameters.Add("WBSTK", OracleType.NVarChar).Value = dwData["WBSTK"].ToString();
            or1.Parameters.Add("WBMTR", OracleType.NVarChar).Value = dwData["WBMTR"].ToString();
            or1.Parameters.Add("WBGEBANZ", OracleType.NVarChar).Value = dwData["WBGEBANZ"].ToString();
            or1.Parameters.Add("WBKGBRUT", OracleType.NVarChar).Value = dwData["WBKGBRUT"].ToString();
            or1.Parameters.Add("WBKGNET", OracleType.NVarChar).Value = dwData["WBKGNET"].ToString();
            or1.Parameters.Add("WBKGTARA", OracleType.NVarChar).Value = dwData["WBKGTARA"].ToString();
            or1.Parameters.Add("WBMEWE", OracleType.NVarChar).Value = dwData["WBMEWE"].ToString();
            or1.Parameters.Add("WBSTKK", OracleType.NVarChar).Value = dwData["WBSTKK"].ToString();
            or1.Parameters.Add("WBMTRK", OracleType.NVarChar).Value = dwData["WBMTRK"].ToString();
            or1.Parameters.Add("WBGEBANZK", OracleType.NVarChar).Value = dwData["WBGEBANZK"].ToString();
            or1.Parameters.Add("WBKGNETK", OracleType.NVarChar).Value = dwData["WBKGNETK"].ToString();
            or1.Parameters.Add("WBRWAUFMSL", OracleType.NVarChar).Value = dwData["WBRWAUFMSL"].ToString();
            or1.Parameters.Add("WBGEBART", OracleType.NVarChar).Value = dwData["WBGEBART"].ToString();
            or1.Parameters.Add("WBBRT", OracleType.NVarChar).Value = dwData["WBBRT"].ToString();
            or1.Parameters.Add("WBGRQM", OracleType.NVarChar).Value = dwData["WBGRQM"].ToString();
            or1.Parameters.Add("WBGRLFD", OracleType.NVarChar).Value = dwData["WBGRLFD"].ToString();
            or1.Parameters.Add("WBFDDIK", OracleType.NVarChar).Value = dwData["WBFDDIK"].ToString();
            or1.Parameters.Add("WBFDDIS", OracleType.NVarChar).Value = dwData["WBFDDIS"].ToString();
            or1.Parameters.Add("WBPRUEF", OracleType.NVarChar).Value = dwData["WBPRUEF"].ToString();
            or1.Parameters.Add("WBSCHLIGR1", OracleType.NVarChar).Value = dwData["WBSCHLIGR1"].ToString();
            or1.Parameters.Add("WBSCHLIGR2", OracleType.NVarChar).Value = dwData["WBSCHLIGR2"].ToString();
            or1.Parameters.Add("WBSCHLIGR3", OracleType.NVarChar).Value = dwData["WBSCHLIGR3"].ToString();
            or1.Parameters.Add("WBSCHLIGR4", OracleType.NVarChar).Value = dwData["WBSCHLIGR4"].ToString();
            or1.Parameters.Add("WBSCHLIGR5", OracleType.NVarChar).Value = dwData["WBSCHLIGR5"].ToString();
            or1.Parameters.Add("WBSCHLINR1", OracleType.NVarChar).Value = dwData["WBSCHLINR1"].ToString();
            or1.Parameters.Add("WBSCHLINR2", OracleType.NVarChar).Value = dwData["WBSCHLINR2"].ToString();
            or1.Parameters.Add("WBSCHLINR3", OracleType.NVarChar).Value = dwData["WBSCHLINR3"].ToString();
            or1.Parameters.Add("WBSCHLINR4", OracleType.NVarChar).Value = dwData["WBSCHLINR4"].ToString();
            or1.Parameters.Add("WBSCHLINR5", OracleType.NVarChar).Value = dwData["WBSCHLINR5"].ToString();
            or1.Parameters.Add("WBFILLER1", OracleType.NVarChar).Value = dwData["WBFILLER1"].ToString();
            or1.Parameters.Add("WBSCHLIKZ", OracleType.NVarChar).Value = dwData["WBSCHLIKZ"].ToString();
            or1.Parameters.Add("WBMATERIAL", OracleType.NVarChar).Value = dwData["WBMATERIAL"].ToString();
            or1.Parameters.Add("WBKRITISCH", OracleType.NVarChar).Value = dwData["WBKRITISCH"].ToString();
            or1.Parameters.Add("WBKDSTK", OracleType.NVarChar).Value = dwData["WBKDSTK"].ToString();
            or1.Parameters.Add("WBVERSRUE", OracleType.NVarChar).Value = dwData["WBVERSRUE"].ToString();
            or1.Parameters.Add("WBKANTE", OracleType.NVarChar).Value = dwData["WBKANTE"].ToString();
            or1.Parameters.Add("WBENTKZ", OracleType.NVarChar).Value = dwData["WBENTKZ"].ToString();
            or1.Parameters.Add("WBBESTKZ", OracleType.NVarChar).Value = dwData["WBBESTKZ"].ToString();
            or1.Parameters.Add("WBBESTKRS", OracleType.NVarChar).Value = dwData["WBBESTKRS"].ToString();
            or1.Parameters.Add("WBBESTLFD", OracleType.NVarChar).Value = dwData["WBBESTLFD"].ToString();
            or1.Parameters.Add("WBBESTPOS", OracleType.NVarChar).Value = dwData["WBBESTPOS"].ToString();
            or1.Parameters.Add("WBKOKRS", OracleType.NVarChar).Value = dwData["WBKOKRS"].ToString();
            or1.Parameters.Add("WBKOLFD", OracleType.NVarChar).Value = dwData["WBKOLFD"].ToString();
            or1.Parameters.Add("WBNETMTR", OracleType.NVarChar).Value = dwData["WBNETMTR"].ToString();
            or1.Parameters.Add("WBFERTKZ", OracleType.NVarChar).Value = dwData["WBFERTKZ"].ToString();
            or1.Parameters.Add("WBREDAT", OracleType.NVarChar).Value = dwData["WBREDAT"].ToString();
            or1.Parameters.Add("WBRENR", OracleType.NVarChar).Value = dwData["WBRENR"].ToString();
            or1.Parameters.Add("WBREWERT", OracleType.NVarChar).Value = dwData["WBREWERT"].ToString();
            or1.Parameters.Add("WBSTAPO", OracleType.NVarChar).Value = dwData["WBSTAPO"].ToString();
            or1.Parameters.Add("WBPLPREIS", OracleType.NVarChar).Value = dwData["WBPLPREIS"].ToString();
            or1.Parameters.Add("WBEINVKZ", OracleType.NVarChar).Value = dwData["WBEINVKZ"].ToString();
            or1.Parameters.Add("WBMATPRF", OracleType.NVarChar).Value = dwData["WBMATPRF"].ToString();
            or1.Parameters.Add("WBSPEDF", OracleType.NVarChar).Value = dwData["WBSPEDF"].ToString();
            or1.Parameters.Add("WBSPEDV", OracleType.NVarChar).Value = dwData["WBSPEDV"].ToString();
            or1.Parameters.Add("WBSPEDZ", OracleType.NVarChar).Value = dwData["WBSPEDZ"].ToString();
            or1.Parameters.Add("WBURRENR", OracleType.NVarChar).Value = dwData["WBURRENR"].ToString();
            or1.Parameters.Add("WBURLAND", OracleType.NVarChar).Value = dwData["WBURLAND"].ToString();
            or1.Parameters.Add("WBBUSIMODE", OracleType.NVarChar).Value = dwData["WBBUSIMODE"].ToString();
            or1.Parameters.Add("WBDRVERT", OracleType.NVarChar).Value = dwData["WBDRVERT"].ToString();
            or1.Parameters.Add("WBCBOOKNO", OracleType.NVarChar).Value = dwData["WBCBOOKNO"].ToString();
            or1.Parameters.Add("WBCITEMNO", OracleType.NVarChar).Value = dwData["WBCITEMNO"].ToString();
            or1.Parameters.Add("WBZOLLST", OracleType.NVarChar).Value = dwData["WBZOLLST"].ToString();
            or1.Parameters.Add("WBFILLER2", OracleType.NVarChar).Value = dwData["WBFILLER2"].ToString();
            or1.Parameters.Add("WBAENDZL", OracleType.NVarChar).Value = dwData["WBAENDZL"].ToString();
            or1.Parameters.Add("WBAENDBEN", OracleType.NVarChar).Value = dwData["WBAENDBEN"].ToString();
            or1.Parameters.Add("WBAENDDAT", OracleType.NVarChar).Value = dwData["WBAENDDAT"].ToString();
            or1.Parameters.Add("WBNEUBEN", OracleType.NVarChar).Value = dwData["WBNEUBEN"].ToString();
            or1.Parameters.Add("WBNEUDAT", OracleType.NVarChar).Value = dwData["WBNEUDAT"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateWGBST(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====

            or1.CommandText = "UPDATE WGBST SET "
                + "WGMANDANT=:WGMANDANT,"
                + "WGSA=:WGSA,"
                + "WGKUNDNR=:WGKUNDNR,"
                + "WGWERK=:WGWERK,"
                + "WGABT=:WGABT,"
                + "WGWAKZ=:WGWAKZ,"
                + "WGART=:WGART,"
                + "WGDESS=:WGDESS,"
                + "WGCOLORIT=:WGCOLORIT,"
                + "WGFARBE=:WGFARBE,"
                + "WGBESCHICH=:WGBESCHICH,"
                + "WGVAR=:WGVAR,"
                + "WGZUSTAND=:WGZUSTAND,"
                + "WGZENSUR=:WGZENSUR,"
                + "WGZENSURKZ=:WGZENSURKZ,"
                + "WGLO=:WGLO,"
                + "WGMJJ=:WGMJJ,"
                + "WGMM=:WGMM,"
                + "WGAKTKZ=:WGAKTKZ,"
                + "WGME01=:WGME01,"
                + "WGME01KG=:WGME01KG,"
                + "WGME10=:WGME10,"
                + "WGME10KG=:WGME10KG,"
                + "WGME11=:WGME11,"
                + "WGME11KG=:WGME11KG,"
                + "WGME12=:WGME12,"
                + "WGME12KG=:WGME12KG,"
                + "WGME13=:WGME13,"
                + "WGME13KG=:WGME13KG,"
                + "WGME14=:WGME14,"
                + "WGME14KG=:WGME14KG,"
                + "WGME15=:WGME15,"
                + "WGME15KG=:WGME15KG,"
                + "WGME19=:WGME19,"
                + "WGME19KG=:WGME19KG,"
                + "WGME20=:WGME20,"
                + "WGME20KG=:WGME20KG,"
                + "WGME21=:WGME21,"
                + "WGME21KG=:WGME21KG,"
                + "WGME31=:WGME31,"
                + "WGME31KG=:WGME31KG,"
                + "WGME32=:WGME32,"
                + "WGME32KG=:WGME32KG,"
                + "WGME33=:WGME33,"
                + "WGME33KG=:WGME33KG,"
                + "WGME34=:WGME34,"
                + "WGME34KG=:WGME34KG,"
                + "WGME35=:WGME35,"
                + "WGME35KG=:WGME35KG,"
                + "WGME36=:WGME36,"
                + "WGME36KG=:WGME36KG,"
                + "WGME37=:WGME37,"
                + "WGME37KG=:WGME37KG,"
                + "WGME40=:WGME40,"
                + "WGME40KG=:WGME40KG,"
                + "WGME41=:WGME41,"
                + "WGME41KG=:WGME41KG,"
                + "WGME42=:WGME42,"
                + "WGME42KG=:WGME42KG,"
                + "WGME43=:WGME43,"
                + "WGME43KG=:WGME43KG,"
                + "WGME46=:WGME46,"
                + "WGME46KG=:WGME46KG,"
                + "WGME47=:WGME47,"
                + "WGME47KG=:WGME47KG,"
                + "WGME48=:WGME48,"
                + "WGME48KG=:WGME48KG,"
                + "WGME49=:WGME49,"
                + "WGME49KG=:WGME49KG,"
                + "WGME50=:WGME50,"
                + "WGME50KG=:WGME50KG,"
                + "WGME51=:WGME51,"
                + "WGME51KG=:WGME51KG,"
                + "WGME52=:WGME52,"
                + "WGME52KG=:WGME52KG,"
                + "WGME53=:WGME53,"
                + "WGME53KG=:WGME53KG,"
                + "WGME55=:WGME55,"
                + "WGME55KG=:WGME55KG,"
                + "WGME73=:WGME73,"
                + "WGME73KG=:WGME73KG,"
                + "WGME76=:WGME76,"
                + "WGME76KG=:WGME76KG,"
                + "WGME79=:WGME79,"
                + "WGME79KG=:WGME79KG,"
                + "WGME80=:WGME80,"
                + "WGME88=:WGME88,"
                + "WGME89=:WGME89,"
                + "WGME90=:WGME90,"
                + "WGME90KG=:WGME90KG,"
                + "WGME91=:WGME91,"
                + "WGME91KG=:WGME91KG,"
                + "WGMER04=:WGMER04,"
                + "WGMER05=:WGMER05,"
                + "WGRESV1=:WGRESV1,"
                + "WGRESV2=:WGRESV2,"
                + "WGRESV3=:WGRESV3,"
                + "WGRESV4=:WGRESV4,"
                + "WGRESV5=:WGRESV5,"
                + "WGBSTA=:WGBSTA,"
                + "WGBSTAKG=:WGBSTAKG,"
                + "WGBSTAN=:WGBSTAN,"
                + "WGBSTANKG=:WGBSTANKG,"
                + "WGMEZUTEI=:WGMEZUTEI,"
                + "WGMEZUTEIKG=:WGMEZUTEIKG,"
                + "WGMER02=:WGMER02,"
                + "WGMER02KG=:WGMER02KG,"
                + "WGBSTKEN=:WGBSTKEN,"
                + "WGBSTKENKG=:WGBSTKENKG,"
                + "WGBSTKZU=:WGBSTKZU,"
                + "WGBSTKZUKG=:WGBSTKZUKG,"
                + "WGBSTKMA=:WGBSTKMA,"
                + "WGBSTKMAKG=:WGBSTKMAKG,"
                + "WGBSTKME=:WGBSTKME,"
                + "WGBSTKMEKG=:WGBSTKMEKG,"
                + "WGBSTMA=:WGBSTMA,"
                + "WGBSTMAKG=:WGBSTMAKG,"
                + "WGBSTME=:WGBSTME,"
                + "WGBSTMEKG=:WGBSTMEKG,"
                + "WGBSTVMA=:WGBSTVMA,"
                + "WGBSTVMAKG=:WGBSTVMAKG,"
                + "WGBSTVME=:WGBSTVME,"
                + "WGBSTVMEKG=:WGBSTVMEKG,"
                + "WGMEIV=:WGMEIV,"
                + "WGMEIVKG=:WGMEIVKG,"
                + "WGINDAT=:WGINDAT,"
                + "WGINBST=:WGINBST,"
                + "WGINBSTKG=:WGINBSTKG,"
                + "WGINALT=:WGINALT,"
                + "WGINALTKG=:WGINALTKG,"
                + "WGEKPRMA=:WGEKPRMA,"
                + "WGEKPRME=:WGEKPRME,"
                + "WGEKPRZU=:WGEKPRZU,"
                + "WGVRPR=:WGVRPR,"
                + "WGDLABST=:WGDLABST,"
                + "WGDLABSTKG=:WGDLABSTKG,"
                + "WGDLATAG=:WGDLATAG,"
                + "WGMINBST=:WGMINBST,"
                + "WGMINBSTKG=:WGMINBSTKG,"
                + "WGMAXBST=:WGMAXBST,"
                + "WGMAXBSTKG=:WGMAXBSTKG,"
                + "WGFERTKZ=:WGFERTKZ,"
                + "WGBRT=:WGBRT,"
                + "WGGRQM=:WGGRQM,"
                + "WGGRLFD=:WGGRLFD,"
                + "WGUEBER=:WGUEBER,"
                + "WGAENDZL=:WGAENDZL,"
                + "WGAENB=:WGAENB,"
                + "WGAEND=:WGAEND,"
                + "WGNEUB=:WGNEUB,"
                + "WGNEUD=:WGNEUD,"
                + "WGFILLER=:WGFILLER"
                + " WHERE  "
               + "  WGMANDANT=:WGMANDANT AND WGSA=:WGSA AND WGKUNDNR=:WGKUNDNR AND WGWERK=:WGWERK"
               + "  AND WGABT=:WGABT AND WGWAKZ=:WGWAKZ AND WGART=:WGART AND WGVAR=:WGVAR"
               + "  AND WGFARBE=:WGFARBE AND WGBESCHICH=:WGBESCHICH AND WGDESS=:WGDESS AND WGCOLORIT=:WGCOLORIT"
            + "  AND WGZUSTAND=:WGZUSTAND AND WGZENSUR=:WGZENSUR AND WGZENSURKZ=:WGZENSURKZ AND WGLO=:WGLO"
            + " AND WGMJJ=:WGMJJ AND WGMM=:WGMM ";
            #endregion
            #region====Parameters====
            or1.Parameters.Add("WGMANDANT", OracleType.NVarChar).Value = dwData["WGMANDANT"].ToString();
            or1.Parameters.Add("WGSA", OracleType.NVarChar).Value = dwData["WGSA"].ToString();
            or1.Parameters.Add("WGKUNDNR", OracleType.NVarChar).Value = dwData["WGKUNDNR"].ToString();
            or1.Parameters.Add("WGWERK", OracleType.NVarChar).Value = dwData["WGWERK"].ToString();
            or1.Parameters.Add("WGABT", OracleType.NVarChar).Value = dwData["WGABT"].ToString();
            or1.Parameters.Add("WGWAKZ", OracleType.NVarChar).Value = dwData["WGWAKZ"].ToString();
            or1.Parameters.Add("WGART", OracleType.NVarChar).Value = dwData["WGART"].ToString();
            or1.Parameters.Add("WGDESS", OracleType.NVarChar).Value = dwData["WGDESS"].ToString();
            or1.Parameters.Add("WGCOLORIT", OracleType.NVarChar).Value = dwData["WGCOLORIT"].ToString();
            or1.Parameters.Add("WGFARBE", OracleType.NVarChar).Value = dwData["WGFARBE"].ToString();
            or1.Parameters.Add("WGBESCHICH", OracleType.NVarChar).Value = dwData["WGBESCHICH"].ToString();
            or1.Parameters.Add("WGVAR", OracleType.NVarChar).Value = dwData["WGVAR"].ToString();
            or1.Parameters.Add("WGZUSTAND", OracleType.NVarChar).Value = dwData["WGZUSTAND"].ToString();
            or1.Parameters.Add("WGZENSUR", OracleType.NVarChar).Value = dwData["WGZENSUR"].ToString();
            or1.Parameters.Add("WGZENSURKZ", OracleType.NVarChar).Value = dwData["WGZENSURKZ"].ToString();
            or1.Parameters.Add("WGLO", OracleType.NVarChar).Value = dwData["WGLO"].ToString();
            or1.Parameters.Add("WGMJJ", OracleType.NVarChar).Value = dwData["WGMJJ"].ToString();
            or1.Parameters.Add("WGMM", OracleType.NVarChar).Value = dwData["WGMM"].ToString();
            or1.Parameters.Add("WGAKTKZ", OracleType.NVarChar).Value = dwData["WGAKTKZ"].ToString();
            or1.Parameters.Add("WGME01", OracleType.NVarChar).Value = dwData["WGME01"].ToString();
            or1.Parameters.Add("WGME01KG", OracleType.NVarChar).Value = dwData["WGME01KG"].ToString();
            or1.Parameters.Add("WGME10", OracleType.NVarChar).Value = dwData["WGME10"].ToString();
            or1.Parameters.Add("WGME10KG", OracleType.NVarChar).Value = dwData["WGME10KG"].ToString();
            or1.Parameters.Add("WGME11", OracleType.NVarChar).Value = dwData["WGME11"].ToString();
            or1.Parameters.Add("WGME11KG", OracleType.NVarChar).Value = dwData["WGME11KG"].ToString();
            or1.Parameters.Add("WGME12", OracleType.NVarChar).Value = dwData["WGME12"].ToString();
            or1.Parameters.Add("WGME12KG", OracleType.NVarChar).Value = dwData["WGME12KG"].ToString();
            or1.Parameters.Add("WGME13", OracleType.NVarChar).Value = dwData["WGME13"].ToString();
            or1.Parameters.Add("WGME13KG", OracleType.NVarChar).Value = dwData["WGME13KG"].ToString();
            or1.Parameters.Add("WGME14", OracleType.NVarChar).Value = dwData["WGME14"].ToString();
            or1.Parameters.Add("WGME14KG", OracleType.NVarChar).Value = dwData["WGME14KG"].ToString();
            or1.Parameters.Add("WGME15", OracleType.NVarChar).Value = dwData["WGME15"].ToString();
            or1.Parameters.Add("WGME15KG", OracleType.NVarChar).Value = dwData["WGME15KG"].ToString();
            or1.Parameters.Add("WGME19", OracleType.NVarChar).Value = dwData["WGME19"].ToString();
            or1.Parameters.Add("WGME19KG", OracleType.NVarChar).Value = dwData["WGME19KG"].ToString();
            or1.Parameters.Add("WGME20", OracleType.NVarChar).Value = dwData["WGME20"].ToString();
            or1.Parameters.Add("WGME20KG", OracleType.NVarChar).Value = dwData["WGME20KG"].ToString();
            or1.Parameters.Add("WGME21", OracleType.NVarChar).Value = dwData["WGME21"].ToString();
            or1.Parameters.Add("WGME21KG", OracleType.NVarChar).Value = dwData["WGME21KG"].ToString();
            or1.Parameters.Add("WGME31", OracleType.NVarChar).Value = dwData["WGME31"].ToString();
            or1.Parameters.Add("WGME31KG", OracleType.NVarChar).Value = dwData["WGME31KG"].ToString();
            or1.Parameters.Add("WGME32", OracleType.NVarChar).Value = dwData["WGME32"].ToString();
            or1.Parameters.Add("WGME32KG", OracleType.NVarChar).Value = dwData["WGME32KG"].ToString();
            or1.Parameters.Add("WGME33", OracleType.NVarChar).Value = dwData["WGME33"].ToString();
            or1.Parameters.Add("WGME33KG", OracleType.NVarChar).Value = dwData["WGME33KG"].ToString();
            or1.Parameters.Add("WGME34", OracleType.NVarChar).Value = dwData["WGME34"].ToString();
            or1.Parameters.Add("WGME34KG", OracleType.NVarChar).Value = dwData["WGME34KG"].ToString();
            or1.Parameters.Add("WGME35", OracleType.NVarChar).Value = dwData["WGME35"].ToString();
            or1.Parameters.Add("WGME35KG", OracleType.NVarChar).Value = dwData["WGME35KG"].ToString();
            or1.Parameters.Add("WGME36", OracleType.NVarChar).Value = dwData["WGME36"].ToString();
            or1.Parameters.Add("WGME36KG", OracleType.NVarChar).Value = dwData["WGME36KG"].ToString();
            or1.Parameters.Add("WGME37", OracleType.NVarChar).Value = dwData["WGME37"].ToString();
            or1.Parameters.Add("WGME37KG", OracleType.NVarChar).Value = dwData["WGME37KG"].ToString();
            or1.Parameters.Add("WGME40", OracleType.NVarChar).Value = dwData["WGME40"].ToString();
            or1.Parameters.Add("WGME40KG", OracleType.NVarChar).Value = dwData["WGME40KG"].ToString();
            or1.Parameters.Add("WGME41", OracleType.NVarChar).Value = dwData["WGME41"].ToString();
            or1.Parameters.Add("WGME41KG", OracleType.NVarChar).Value = dwData["WGME41KG"].ToString();
            or1.Parameters.Add("WGME42", OracleType.NVarChar).Value = dwData["WGME42"].ToString();
            or1.Parameters.Add("WGME42KG", OracleType.NVarChar).Value = dwData["WGME42KG"].ToString();
            or1.Parameters.Add("WGME43", OracleType.NVarChar).Value = dwData["WGME43"].ToString();
            or1.Parameters.Add("WGME43KG", OracleType.NVarChar).Value = dwData["WGME43KG"].ToString();
            or1.Parameters.Add("WGME46", OracleType.NVarChar).Value = dwData["WGME46"].ToString();
            or1.Parameters.Add("WGME46KG", OracleType.NVarChar).Value = dwData["WGME46KG"].ToString();
            or1.Parameters.Add("WGME47", OracleType.NVarChar).Value = dwData["WGME47"].ToString();
            or1.Parameters.Add("WGME47KG", OracleType.NVarChar).Value = dwData["WGME47KG"].ToString();
            or1.Parameters.Add("WGME48", OracleType.NVarChar).Value = dwData["WGME48"].ToString();
            or1.Parameters.Add("WGME48KG", OracleType.NVarChar).Value = dwData["WGME48KG"].ToString();
            or1.Parameters.Add("WGME49", OracleType.NVarChar).Value = dwData["WGME49"].ToString();
            or1.Parameters.Add("WGME49KG", OracleType.NVarChar).Value = dwData["WGME49KG"].ToString();
            or1.Parameters.Add("WGME50", OracleType.NVarChar).Value = dwData["WGME50"].ToString();
            or1.Parameters.Add("WGME50KG", OracleType.NVarChar).Value = dwData["WGME50KG"].ToString();
            or1.Parameters.Add("WGME51", OracleType.NVarChar).Value = dwData["WGME51"].ToString();
            or1.Parameters.Add("WGME51KG", OracleType.NVarChar).Value = dwData["WGME51KG"].ToString();
            or1.Parameters.Add("WGME52", OracleType.NVarChar).Value = dwData["WGME52"].ToString();
            or1.Parameters.Add("WGME52KG", OracleType.NVarChar).Value = dwData["WGME52KG"].ToString();
            or1.Parameters.Add("WGME53", OracleType.NVarChar).Value = dwData["WGME53"].ToString();
            or1.Parameters.Add("WGME53KG", OracleType.NVarChar).Value = dwData["WGME53KG"].ToString();
            or1.Parameters.Add("WGME55", OracleType.NVarChar).Value = dwData["WGME55"].ToString();
            or1.Parameters.Add("WGME55KG", OracleType.NVarChar).Value = dwData["WGME55KG"].ToString();
            or1.Parameters.Add("WGME73", OracleType.NVarChar).Value = dwData["WGME73"].ToString();
            or1.Parameters.Add("WGME73KG", OracleType.NVarChar).Value = dwData["WGME73KG"].ToString();
            or1.Parameters.Add("WGME76", OracleType.NVarChar).Value = dwData["WGME76"].ToString();
            or1.Parameters.Add("WGME76KG", OracleType.NVarChar).Value = dwData["WGME76KG"].ToString();
            or1.Parameters.Add("WGME79", OracleType.NVarChar).Value = dwData["WGME79"].ToString();
            or1.Parameters.Add("WGME79KG", OracleType.NVarChar).Value = dwData["WGME79KG"].ToString();
            or1.Parameters.Add("WGME80", OracleType.NVarChar).Value = dwData["WGME80"].ToString();
            or1.Parameters.Add("WGME88", OracleType.NVarChar).Value = dwData["WGME88"].ToString();
            or1.Parameters.Add("WGME89", OracleType.NVarChar).Value = dwData["WGME89"].ToString();
            or1.Parameters.Add("WGME90", OracleType.NVarChar).Value = dwData["WGME90"].ToString();
            or1.Parameters.Add("WGME90KG", OracleType.NVarChar).Value = dwData["WGME90KG"].ToString();
            or1.Parameters.Add("WGME91", OracleType.NVarChar).Value = dwData["WGME91"].ToString();
            or1.Parameters.Add("WGME91KG", OracleType.NVarChar).Value = dwData["WGME91KG"].ToString();
            or1.Parameters.Add("WGMER04", OracleType.NVarChar).Value = dwData["WGMER04"].ToString();
            or1.Parameters.Add("WGMER05", OracleType.NVarChar).Value = dwData["WGMER05"].ToString();
            or1.Parameters.Add("WGRESV1", OracleType.NVarChar).Value = dwData["WGRESV1"].ToString();
            or1.Parameters.Add("WGRESV2", OracleType.NVarChar).Value = dwData["WGRESV2"].ToString();
            or1.Parameters.Add("WGRESV3", OracleType.NVarChar).Value = dwData["WGRESV3"].ToString();
            or1.Parameters.Add("WGRESV4", OracleType.NVarChar).Value = dwData["WGRESV4"].ToString();
            or1.Parameters.Add("WGRESV5", OracleType.NVarChar).Value = dwData["WGRESV5"].ToString();
            or1.Parameters.Add("WGBSTA", OracleType.NVarChar).Value = dwData["WGBSTA"].ToString();
            or1.Parameters.Add("WGBSTAKG", OracleType.NVarChar).Value = dwData["WGBSTAKG"].ToString();
            or1.Parameters.Add("WGBSTAN", OracleType.NVarChar).Value = dwData["WGBSTAN"].ToString();
            or1.Parameters.Add("WGBSTANKG", OracleType.NVarChar).Value = dwData["WGBSTANKG"].ToString();
            or1.Parameters.Add("WGMEZUTEI", OracleType.NVarChar).Value = dwData["WGMEZUTEI"].ToString();
            or1.Parameters.Add("WGMEZUTEIKG", OracleType.NVarChar).Value = dwData["WGMEZUTEIKG"].ToString();
            or1.Parameters.Add("WGMER02", OracleType.NVarChar).Value = dwData["WGMER02"].ToString();
            or1.Parameters.Add("WGMER02KG", OracleType.NVarChar).Value = dwData["WGMER02KG"].ToString();
            or1.Parameters.Add("WGBSTKEN", OracleType.NVarChar).Value = dwData["WGBSTKEN"].ToString();
            or1.Parameters.Add("WGBSTKENKG", OracleType.NVarChar).Value = dwData["WGBSTKENKG"].ToString();
            or1.Parameters.Add("WGBSTKZU", OracleType.NVarChar).Value = dwData["WGBSTKZU"].ToString();
            or1.Parameters.Add("WGBSTKZUKG", OracleType.NVarChar).Value = dwData["WGBSTKZUKG"].ToString();
            or1.Parameters.Add("WGBSTKMA", OracleType.NVarChar).Value = dwData["WGBSTKMA"].ToString();
            or1.Parameters.Add("WGBSTKMAKG", OracleType.NVarChar).Value = dwData["WGBSTKMAKG"].ToString();
            or1.Parameters.Add("WGBSTKME", OracleType.NVarChar).Value = dwData["WGBSTKME"].ToString();
            or1.Parameters.Add("WGBSTKMEKG", OracleType.NVarChar).Value = dwData["WGBSTKMEKG"].ToString();
            or1.Parameters.Add("WGBSTMA", OracleType.NVarChar).Value = dwData["WGBSTMA"].ToString();
            or1.Parameters.Add("WGBSTMAKG", OracleType.NVarChar).Value = dwData["WGBSTMAKG"].ToString();
            or1.Parameters.Add("WGBSTME", OracleType.NVarChar).Value = dwData["WGBSTME"].ToString();
            or1.Parameters.Add("WGBSTMEKG", OracleType.NVarChar).Value = dwData["WGBSTMEKG"].ToString();
            or1.Parameters.Add("WGBSTVMA", OracleType.NVarChar).Value = dwData["WGBSTVMA"].ToString();
            or1.Parameters.Add("WGBSTVMAKG", OracleType.NVarChar).Value = dwData["WGBSTVMAKG"].ToString();
            or1.Parameters.Add("WGBSTVME", OracleType.NVarChar).Value = dwData["WGBSTVME"].ToString();
            or1.Parameters.Add("WGBSTVMEKG", OracleType.NVarChar).Value = dwData["WGBSTVMEKG"].ToString();
            or1.Parameters.Add("WGMEIV", OracleType.NVarChar).Value = dwData["WGMEIV"].ToString();
            or1.Parameters.Add("WGMEIVKG", OracleType.NVarChar).Value = dwData["WGMEIVKG"].ToString();
            or1.Parameters.Add("WGINDAT", OracleType.NVarChar).Value = dwData["WGINDAT"].ToString();
            or1.Parameters.Add("WGINBST", OracleType.NVarChar).Value = dwData["WGINBST"].ToString();
            or1.Parameters.Add("WGINBSTKG", OracleType.NVarChar).Value = dwData["WGINBSTKG"].ToString();
            or1.Parameters.Add("WGINALT", OracleType.NVarChar).Value = dwData["WGINALT"].ToString();
            or1.Parameters.Add("WGINALTKG", OracleType.NVarChar).Value = dwData["WGINALTKG"].ToString();
            or1.Parameters.Add("WGEKPRMA", OracleType.NVarChar).Value = dwData["WGEKPRMA"].ToString();
            or1.Parameters.Add("WGEKPRME", OracleType.NVarChar).Value = dwData["WGEKPRME"].ToString();
            or1.Parameters.Add("WGEKPRZU", OracleType.NVarChar).Value = dwData["WGEKPRZU"].ToString();
            or1.Parameters.Add("WGVRPR", OracleType.NVarChar).Value = dwData["WGVRPR"].ToString();
            or1.Parameters.Add("WGDLABST", OracleType.NVarChar).Value = dwData["WGDLABST"].ToString();
            or1.Parameters.Add("WGDLABSTKG", OracleType.NVarChar).Value = dwData["WGDLABSTKG"].ToString();
            or1.Parameters.Add("WGDLATAG", OracleType.NVarChar).Value = dwData["WGDLATAG"].ToString();
            or1.Parameters.Add("WGMINBST", OracleType.NVarChar).Value = dwData["WGMINBST"].ToString();
            or1.Parameters.Add("WGMINBSTKG", OracleType.NVarChar).Value = dwData["WGMINBSTKG"].ToString();
            or1.Parameters.Add("WGMAXBST", OracleType.NVarChar).Value = dwData["WGMAXBST"].ToString();
            or1.Parameters.Add("WGMAXBSTKG", OracleType.NVarChar).Value = dwData["WGMAXBSTKG"].ToString();
            or1.Parameters.Add("WGFERTKZ", OracleType.NVarChar).Value = dwData["WGFERTKZ"].ToString();
            or1.Parameters.Add("WGBRT", OracleType.NVarChar).Value = dwData["WGBRT"].ToString();
            or1.Parameters.Add("WGGRQM", OracleType.NVarChar).Value = dwData["WGGRQM"].ToString();
            or1.Parameters.Add("WGGRLFD", OracleType.NVarChar).Value = dwData["WGGRLFD"].ToString();
            or1.Parameters.Add("WGUEBER", OracleType.NVarChar).Value = dwData["WGUEBER"].ToString();
            or1.Parameters.Add("WGAENDZL", OracleType.NVarChar).Value = dwData["WGAENDZL"].ToString();
            or1.Parameters.Add("WGAENB", OracleType.NVarChar).Value = dwData["WGAENB"].ToString();
            or1.Parameters.Add("WGAEND", OracleType.NVarChar).Value = dwData["WGAEND"].ToString();
            or1.Parameters.Add("WGNEUB", OracleType.NVarChar).Value = dwData["WGNEUB"].ToString();
            or1.Parameters.Add("WGNEUD", OracleType.NVarChar).Value = dwData["WGNEUD"].ToString();
            or1.Parameters.Add("WGFILLER", OracleType.NVarChar).Value = dwData["WGFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateWASTAMM(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WASTAMM SET WABEZ=:WABEZ,WARBEM=:WARBEM"
                + ",WAAENB=:WAAENB,WAAEND=:WAAEND,WARABLOM=:WARABLOM"
                 + ",WAVWART=:WAVWART,WAVWVAR=:WAVWVAR,WAKAART=:WAKAART,WAKAVAR=:WAKAVAR,WADART=:WADART,WADVAR=:WADVAR"
                 + ",WASUBSTGR=:WASUBSTGR,WAPROGRP=:WAPROGRP,WAARTGRP=:WAARTGRP,WAFDDIM=:WAFDDIM"
                 + ",WAFFERTKZ=:WAFFERTKZ,WARFERTKZ=:WARFERTKZ,WAGFKZ=:WAGFKZ,WAFRBST=:WAFRBST"
                 + ",WAMASTA=:WAMASTA,WAKESTA=:WAKESTA,WAMATPRF=:WAMATPRF,WABRTPRF=:WABRTPRF,WASTKGP=:WASTKGP,WASCHLIP=:WASCHLIP,WASCHLIA=:WASCHLIA,WALIEFNR=:WALIEFNR,WAEG=:WAEG"
                 + ",WARSTDLG=:WARSTDLG,WARSTDGW=:WARSTDGW,WAFSTDLG=:WAFSTDLG,WAFSTDGW=:WAFSTDGW "
                 + ",WARSTAKZ=:WARSTAKZ,WAGASTA=:WAGASTA,WAUEBM=:WAUEBM"
                 + ",WARWBRT= :WARWBRT,WAFBRTL=:WAFBRTL,WAFBRTU=:WAFBRTU,WARGRQM=:WARGRQM, WAFGRQM=:WAFGRQM, WARGRLFD=:WARGRLFD, WAFGRLFD=:WAFGRLFD, WARGWTOL=:WARGWTOL"
                 + ",WARFDDIK=:WARFDDIK, WARFDDIS=:WARFDDIS, WAFFDDIK=:WAFFDDIK,WAFFDDIS=:WAFFDDIS,WABIND=:WABIND, WAEINZNR=:WAEINZNR, WATSDSCH=:WATSDSCH, WALAEAEND=:WALAEAEND"
                + " WHERE  "
         + "  WAMANDANT=:WAMANDANT AND WAART=:WAART AND WAVAR=:WAVAR";

            or1.Parameters.Add("WAMANDANT", OracleType.NVarChar).Value = dwData["WAMANDANT"].ToString();
            or1.Parameters.Add("WAART", OracleType.NVarChar).Value = dwData["WAART"].ToString();
            or1.Parameters.Add("WAVAR", OracleType.NVarChar).Value = dwData["WAVAR"].ToString();
            or1.Parameters.Add("WABEZ", OracleType.NVarChar).Value = dwData["WABEZ"].ToString();
            or1.Parameters.Add("WARBEM", OracleType.NVarChar).Value = dwData["WARBEM"].ToString();
            or1.Parameters.Add("WAAENB", OracleType.NVarChar).Value = dwData["WAAENB"].ToString();
            or1.Parameters.Add("WAAEND", OracleType.DateTime).Value = dwData["WAAEND"].ToString();
            or1.Parameters.Add("WARABLOM", OracleType.DateTime).Value = dwData["WARABLOM"].ToString();
            or1.Parameters.Add("WARSTAKZ", OracleType.DateTime).Value = dwData["WARSTAKZ"].ToString();
            or1.Parameters.Add("WAGASTA", OracleType.DateTime).Value = dwData["WAGASTA"].ToString();
            or1.Parameters.Add("WAUEBM", OracleType.DateTime).Value = dwData["WAUEBM"].ToString();

            or1.Parameters.Add("WAVWART", OracleType.NVarChar).Value = dwData["WAVWART"].ToString();
            or1.Parameters.Add("WAVWVAR", OracleType.NVarChar).Value = dwData["WAVWVAR"].ToString();
            or1.Parameters.Add("WAKAART", OracleType.NVarChar).Value = dwData["WAKAART"].ToString();
            or1.Parameters.Add("WAKAVAR", OracleType.NVarChar).Value = dwData["WAKAVAR"].ToString();
            or1.Parameters.Add("WADART", OracleType.NVarChar).Value = dwData["WADART"].ToString();
            or1.Parameters.Add("WADVAR", OracleType.NVarChar).Value = dwData["WADVAR"].ToString();

            or1.Parameters.Add("WASUBSTGR", OracleType.NVarChar).Value = dwData["WASUBSTGR"].ToString();
            or1.Parameters.Add("WAPROGRP", OracleType.NVarChar).Value = dwData["WAPROGRP"].ToString();
            or1.Parameters.Add("WAARTGRP", OracleType.NVarChar).Value = dwData["WAARTGRP"].ToString();
            or1.Parameters.Add("WAFFERTKZ", OracleType.NVarChar).Value = dwData["WAFFERTKZ"].ToString();
            or1.Parameters.Add("WARFERTKZ", OracleType.NVarChar).Value = dwData["WARFERTKZ"].ToString();
            or1.Parameters.Add("WAGFKZ", OracleType.NVarChar).Value = dwData["WAGFKZ"].ToString();
            or1.Parameters.Add("WAFRBST", OracleType.NVarChar).Value = dwData["WAFRBST"].ToString();

            or1.Parameters.Add("WAMASTA", OracleType.NVarChar).Value = dwData["WAMASTA"].ToString();
            or1.Parameters.Add("WAKESTA", OracleType.NVarChar).Value = dwData["WAKESTA"].ToString();
            or1.Parameters.Add("WAMATPRF", OracleType.NVarChar).Value = dwData["WAMATPRF"].ToString();
            or1.Parameters.Add("WABRTPRF", OracleType.NVarChar).Value = dwData["WABRTPRF"].ToString();
            or1.Parameters.Add("WASTKGP", OracleType.NVarChar).Value = dwData["WASTKGP"].ToString();
            or1.Parameters.Add("WASCHLIP", OracleType.NVarChar).Value = dwData["WASCHLIP"].ToString();
            or1.Parameters.Add("WASCHLIA", OracleType.NVarChar).Value = dwData["WASCHLIA"].ToString();
            or1.Parameters.Add("WALIEFNR", OracleType.NVarChar).Value = dwData["WALIEFNR"].ToString();
            or1.Parameters.Add("WAEG", OracleType.NVarChar).Value = dwData["WAEG"].ToString();

            or1.Parameters.Add("WAFDDIM", OracleType.NVarChar).Value = dwData["WAFDDIM"].ToString();

            or1.Parameters.Add("WARSTDLG", OracleType.Number).Value = dwData["WARSTDLG"].ToString();
            or1.Parameters.Add("WARSTDGW", OracleType.Number).Value = dwData["WARSTDGW"].ToString();
            or1.Parameters.Add("WAFSTDLG", OracleType.Number).Value = dwData["WAFSTDLG"].ToString();
            or1.Parameters.Add("WAFSTDGW", OracleType.Number).Value = dwData["WAFSTDGW"].ToString();

            or1.Parameters.Add("WARWBRT", OracleType.Number).Value = dwData["WARWBRT"].ToString();
            or1.Parameters.Add("WAFBRTL", OracleType.Number).Value = dwData["WAFBRTL"].ToString();
            or1.Parameters.Add("WAFBRTU", OracleType.DateTime).Value = dwData["WAFBRTU"].ToString();
            or1.Parameters.Add("WARGRQM", OracleType.Number).Value = dwData["WARGRQM"].ToString();
            or1.Parameters.Add("WAFGRQM", OracleType.Number).Value = dwData["WAFGRQM"].ToString();
            or1.Parameters.Add("WARGRLFD", OracleType.Number).Value = dwData["WARGRLFD"].ToString();
            or1.Parameters.Add("WAFGRLFD", OracleType.Number).Value = dwData["WAFGRLFD"].ToString();
            or1.Parameters.Add("WARGWTOL", OracleType.Number).Value = dwData["WARGWTOL"].ToString();

            or1.Parameters.Add("WARFDDIK", OracleType.Number).Value = dwData["WARFDDIK"].ToString();
            or1.Parameters.Add("WARFDDIS", OracleType.Number).Value = dwData["WARFDDIS"].ToString();
            or1.Parameters.Add("WAFFDDIK", OracleType.Number).Value = dwData["WAFFDDIK"].ToString();
            or1.Parameters.Add("WAFFDDIS", OracleType.Number).Value = dwData["WAFFDDIS"].ToString();
            or1.Parameters.Add("WABIND", OracleType.NVarChar).Value = dwData["WABIND"].ToString();
            or1.Parameters.Add("WAEINZNR", OracleType.NVarChar).Value = dwData["WAEINZNR"].ToString();
            or1.Parameters.Add("WATSDSCH", OracleType.NVarChar).Value = dwData["WATSDSCH"].ToString();
            or1.Parameters.Add("WALAEAEND", OracleType.NVarChar).Value = dwData["WALAEAEND"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWTSCHUSS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WTSCHUSS SET "
            + "WTSSTAKZ=:WTSSTAKZ,"
            + "WTSBEZ=:WTSBEZ,"
            + "WTSCADKEY1=:WTSCADKEY1,"
            + "WTSCADKEY2=:WTSCADKEY2,"
            + "WTSMUSTER=:WTSMUSTER,"
            + "WTSSRAPP=:WTSSRAPP,"
            + "WTSGRAPP=:WTSGRAPP,"
            + "WTSJAC=:WTSJAC,"
            + "WTSPATRONE=:WTSPATRONE,"
            + "WTSREGU=:WTSREGU,"
            + "WTSANZFARB=:WTSANZFARB,"
            + "WTSANZMFS=:WTSANZMFS,"
            + "WTSGRDSCHT=:WTSGRDSCHT,"
            + "WTSFOLGE=:WTSFOLGE,"
            + "WTSSCHUSS01=:WTSSCHUSS01,"
            + "WTSSCHUSS02=:WTSSCHUSS02,"
            + "WTSAENDZL=:WTSAENDZL,"
            + "WTSAENDBEN=:WTSAENDBEN,"
            + "WTSAENDDAT=:WTSAENDDAT,"
            + "WTSNEUBEN=:WTSNEUBEN,"
            + "WTSNEUDAT=:WTSNEUDAT,"
            + "WTSFAKTOR=:WTSFAKTOR,"
            + "WTSFILLER=:WTSFILLER "
            + " WHERE  "
            + "  WTSMANDANT=:WTSMANDANT AND WTSSFLGNR=:WTSSFLGNR";
            or1.Parameters.Add("WTSMANDANT", OracleType.NVarChar).Value = dwData["WTSMANDANT"].ToString();
            or1.Parameters.Add("WTSSFLGNR", OracleType.NVarChar).Value = dwData["WTSSFLGNR"].ToString();
            or1.Parameters.Add("WTSSTAKZ", OracleType.NVarChar).Value = dwData["WTSSTAKZ"].ToString();
            or1.Parameters.Add("WTSBEZ", OracleType.NVarChar).Value = dwData["WTSBEZ"].ToString();
            or1.Parameters.Add("WTSCADKEY1", OracleType.NVarChar).Value = dwData["WTSCADKEY1"].ToString();
            or1.Parameters.Add("WTSCADKEY2", OracleType.NVarChar).Value = dwData["WTSCADKEY2"].ToString();
            or1.Parameters.Add("WTSMUSTER", OracleType.NVarChar).Value = dwData["WTSMUSTER"].ToString();
            or1.Parameters.Add("WTSSRAPP", OracleType.NVarChar).Value = dwData["WTSSRAPP"].ToString();
            or1.Parameters.Add("WTSGRAPP", OracleType.NVarChar).Value = dwData["WTSGRAPP"].ToString();
            or1.Parameters.Add("WTSJAC", OracleType.NVarChar).Value = dwData["WTSJAC"].ToString();
            or1.Parameters.Add("WTSPATRONE", OracleType.NVarChar).Value = dwData["WTSPATRONE"].ToString();
            or1.Parameters.Add("WTSREGU", OracleType.NVarChar).Value = dwData["WTSREGU"].ToString();
            or1.Parameters.Add("WTSANZFARB", OracleType.NVarChar).Value = dwData["WTSANZFARB"].ToString();
            or1.Parameters.Add("WTSANZMFS", OracleType.NVarChar).Value = dwData["WTSANZMFS"].ToString();
            or1.Parameters.Add("WTSGRDSCHT", OracleType.NVarChar).Value = dwData["WTSGRDSCHT"].ToString();
            or1.Parameters.Add("WTSFOLGE", OracleType.NVarChar).Value = dwData["WTSFOLGE"].ToString();
            or1.Parameters.Add("WTSSCHUSS01", OracleType.NVarChar).Value = dwData["WTSSCHUSS01"].ToString();
            or1.Parameters.Add("WTSSCHUSS02", OracleType.NVarChar).Value = dwData["WTSSCHUSS02"].ToString();
            or1.Parameters.Add("WTSAENDZL", OracleType.NVarChar).Value = dwData["WTSAENDZL"].ToString();
            or1.Parameters.Add("WTSAENDBEN", OracleType.NVarChar).Value = dwData["WTSAENDBEN"].ToString();
            or1.Parameters.Add("WTSAENDDAT", OracleType.NVarChar).Value = dwData["WTSAENDDAT"].ToString();
            or1.Parameters.Add("WTSNEUBEN", OracleType.NVarChar).Value = dwData["WTSNEUBEN"].ToString();
            or1.Parameters.Add("WTSNEUDAT", OracleType.NVarChar).Value = dwData["WTSNEUDAT"].ToString();
            or1.Parameters.Add("WTSFAKTOR", OracleType.NVarChar).Value = dwData["WTSFAKTOR"].ToString();
            or1.Parameters.Add("WTSFILLER", OracleType.NVarChar).Value = dwData["WTSFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWAFARBEN(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WAFARBEN SET "
                + "WAFLMANRKRS=:WAFLMANRKRS,"
                + "WAFLMALFDNR=:WAFLMALFDNR,"
                + "WAFLMAPOS=:WAFLMAPOS,"
                + "WAFLODKRS=:WAFLODKRS,"
                + "WAFLODLFD=:WAFLODLFD,"
                + "WAFLODPOS=:WAFLODPOS,"
                + "WAFKZDUMCOL=:WAFKZDUMCOL,"
                + "WAFPSEUDOCOL=:WAFPSEUDOCOL,"
                + "WAFPRFSCHL=:WAFPRFSCHL,"
                + "WAFFILLER=:WAFFILLER,"
                + "WAFAENDZL=:WAFAENDZL,"
                + "WAFAENDBEN=:WAFAENDBEN,"
                + "WAFAENDDAT=:WAFAENDDAT,"
                + "WAFNEUBEN=:WAFNEUBEN,"
                + "WAFNEUDAT=:WAFNEUDAT,"
                + "WAFMANDANT=:WAFMANDANT,"
                + "WAFKUNDNR=:WAFKUNDNR,"
                + "WAFWERK=:WAFWERK,"
                + "WAFABT=:WAFABT,"
                + "WAFART=:WAFART,"
                + "WAFVAR=:WAFVAR,"
                + "WAFZUART=:WAFZUART,"
                + "WAFZUSATZ=:WAFZUSATZ,"
                + "WAFCOLORIT=:WAFCOLORIT,"
                + "WAFSTATUS=:WAFSTATUS,"
                + "WAFSFKZ=:WAFSFKZ,"
                + "WAFBEZ=:WAFBEZ,"
                + "WAFTEXTSCHL=:WAFTEXTSCHL,"
                + "WAFFKARTNR=:WAFFKARTNR,"
                + "WAFROHFARBE=:WAFROHFARBE,"
                + "WAFMUDESS=:WAFMUDESS,"
                + "WAFUNIFARB=:WAFUNIFARB,"
                + "WAFVGRQM=:WAFVGRQM,"
                + "WAFVOLU=:WAFVOLU,"
                + "WAFZTWAHL=:WAFZTWAHL,"
                + "WAFRAPPH=:WAFRAPPH,"
                + "WAFRAPPB=:WAFRAPPB,"
                + "WAFRUESTGRP=:WAFRUESTGRP,"
                + "WAFPRUEFGRP=:WAFPRUEFGRP,"
                + "WAFSCHABANZ=:WAFSCHABANZ,"
                + "WAFUSCHABANZ=:WAFUSCHABANZ,"
                + "WAFFDVF=:WAFFDVF,"
                + "WAFPRGRP=:WAFPRGRP,"
                + "WAFGRPBEZ=:WAFGRPBEZ,"
                + "WAFPREIS=:WAFPREIS,"
                + "WAFZUABPR=:WAFZUABPR,"
                + "WAFZUABAB=:WAFZUABAB,"
                + "WAFNFART=:WAFNFART,"
                + "WAFWERT=:WAFWERT,"
                + "WAFKZPA=:WAFKZPA,"
                + "WAFZUABVH=:WAFZUABVH,"
                + "WAFZUABAK=:WAFZUABAK,"
                + "WAFZUABKU=:WAFZUABKU,"
                + "WAFZUABPROZ=:WAFZUABPROZ,"
                + "WAFEZUSTAND1=:WAFEZUSTAND1,"
                + "WAFEZUSTAND2=:WAFEZUSTAND2,"
                + "WAFEZUSTAND3=:WAFEZUSTAND3,"
                + "WAFEZUSTAND4=:WAFEZUSTAND4,"
                + "WAFEZUSTAND5=:WAFEZUSTAND5,"
                + "WAFEZUSTAND6=:WAFEZUSTAND6,"
                + "WAFEZUSTAND7=:WAFEZUSTAND7,"
                + "WAFEZUSTAND8=:WAFEZUSTAND8,"
                + "WAFEZUSTAND9=:WAFEZUSTAND9,"
                + "WAFEZUSTAND10=:WAFEZUSTAND10,"
                + "WAFFA=:WAFFA,"
                + "WAFGA=:WAFGA,"
                + "WAFQA=:WAFQA,"
                + "WAFQPKTH=:WAFQPKTH,"
                + "WAFQPKTLH=:WAFQPKTLH,"
                + "WAFLOAN=:WAFLOAN,"
                + "WAFLBAN=:WAFLBAN,"
                + "WAFLPAN=:WAFLPAN,"
                + "WAFABKZAN=:WAFABKZAN,"
                + "WAFPKL=:WAFPKL,"
                + "WAFVBBRT=:WAFVBBRT,"
                + "WAFBRTTOLPL=:WAFBRTTOLPL,"
                + "WAFBRTTOLMI=:WAFBRTTOLMI,"
                + "WAFVBGRQM=:WAFVBGRQM,"
                + "WAFVBGRLFD=:WAFVBGRLFD,"
                + "WAFGWTOLPL=:WAFGWTOLPL,"
                + "WAFGWTOLMIN=:WAFGWTOLMIN,"
                + "WAFVBFDDIK=:WAFVBFDDIK,"
                + "WAFFDKTOLPL=:WAFFDKTOLPL,"
                + "WAFFDKTOLMI=:WAFFDKTOLMI,"
                + "WAFVBFDDIS=:WAFVBFDDIS,"
                + "WAFFDSTOLPL=:WAFFDSTOLPL,"
                + "WAFFDSTOLMI=:WAFFDSTOLMI,"
                + "WAFLAEAEND=:WAFLAEAEND,"
                + "WAFGWVERL=:WAFGWVERL,"
                + "WAFRESTSCHL=:WAFRESTSCHL,"
                + "WAFPHWERTMI=:WAFPHWERTMI,"
                + "WAFPHWERTMA=:WAFPHWERTMA,"
                + "WAFWEISSGRD=:WAFWEISSGRD,"
                + "WAFNETZFVON=:WAFNETZFVON,"
                + "WAFNETZFBIS=:WAFNETZFBIS,"
                + "WAFNETZFSEK=:WAFNETZFSEK,"
                + "WAFRSSFTRKV=:WAFRSSFTRKV,"
                + "WAFRSSFTRKB=:WAFRSSFTRKB,"
                + "WAFRSSFTRSV=:WAFRSSFTRSV,"
                + "WAFRSSFTRSB=:WAFRSSFTRSB,"
                + "WAFUNIFAEH=:WAFUNIFAEH,"
                + "WAFFADGERAD=:WAFFADGERAD,"
                + "WAFMUSTFRB=:WAFMUSTFRB,"
                + "WAFVORB=:WAFVORB,"
                + "WAFNACHB=:WAFNACHB,"
                + "WAFMU=:WAFMU,"
                + "WAFMURLOD=:WAFMURLOD,"
                + "WAFMUPROD=:WAFMUPROD,"
                + "WAFMUCTOD=:WAFMUCTOD,"
                + "WAFMUDTRL=:WAFMUDTRL,"
                + "WAFMUBIRL=:WAFMUBIRL,"
                + "WAFHUNGLFM=:WAFHUNGLFM,"
                + "WAFHUNGQM=:WAFHUNGQM,"
                + "WAFHUNBRT=:WAFHUNBRT,"
                + "WAFHUNFDK=:WAFHUNFDK,"
                + "WAFHUNFDS=:WAFHUNFDS"
                + " WHERE  "
                + "  WAFMANDANT=:WAFMANDANT AND WAFART=:WAFART  AND WAFVAR=:WAFVAR  AND WAFZUART=:WAFZUART  AND WAFZUSATZ=:WAFZUSATZ";

            or1.Parameters.Add("WAFLMANRKRS", OracleType.NVarChar).Value = dwData["WAFLMANRKRS"].ToString();
            or1.Parameters.Add("WAFLMALFDNR", OracleType.NVarChar).Value = dwData["WAFLMALFDNR"].ToString();
            or1.Parameters.Add("WAFLMAPOS", OracleType.NVarChar).Value = dwData["WAFLMAPOS"].ToString();
            or1.Parameters.Add("WAFLODKRS", OracleType.NVarChar).Value = dwData["WAFLODKRS"].ToString();
            or1.Parameters.Add("WAFLODLFD", OracleType.NVarChar).Value = dwData["WAFLODLFD"].ToString();
            or1.Parameters.Add("WAFLODPOS", OracleType.NVarChar).Value = dwData["WAFLODPOS"].ToString();
            or1.Parameters.Add("WAFKZDUMCOL", OracleType.NVarChar).Value = dwData["WAFKZDUMCOL"].ToString();
            or1.Parameters.Add("WAFPSEUDOCOL", OracleType.NVarChar).Value = dwData["WAFPSEUDOCOL"].ToString();
            or1.Parameters.Add("WAFPRFSCHL", OracleType.NVarChar).Value = dwData["WAFPRFSCHL"].ToString();
            or1.Parameters.Add("WAFFILLER", OracleType.NVarChar).Value = dwData["WAFFILLER"].ToString();
            or1.Parameters.Add("WAFAENDZL", OracleType.NVarChar).Value = dwData["WAFAENDZL"].ToString();
            or1.Parameters.Add("WAFAENDBEN", OracleType.NVarChar).Value = dwData["WAFAENDBEN"].ToString();
            or1.Parameters.Add("WAFAENDDAT", OracleType.NVarChar).Value = dwData["WAFAENDDAT"].ToString();
            or1.Parameters.Add("WAFNEUBEN", OracleType.NVarChar).Value = dwData["WAFNEUBEN"].ToString();
            or1.Parameters.Add("WAFNEUDAT", OracleType.NVarChar).Value = dwData["WAFNEUDAT"].ToString();
            or1.Parameters.Add("WAFMANDANT", OracleType.NVarChar).Value = dwData["WAFMANDANT"].ToString();
            or1.Parameters.Add("WAFKUNDNR", OracleType.NVarChar).Value = dwData["WAFKUNDNR"].ToString();
            or1.Parameters.Add("WAFWERK", OracleType.NVarChar).Value = dwData["WAFWERK"].ToString();
            or1.Parameters.Add("WAFABT", OracleType.NVarChar).Value = dwData["WAFABT"].ToString();
            or1.Parameters.Add("WAFART", OracleType.NVarChar).Value = dwData["WAFART"].ToString();
            or1.Parameters.Add("WAFVAR", OracleType.NVarChar).Value = dwData["WAFVAR"].ToString();
            or1.Parameters.Add("WAFZUART", OracleType.NVarChar).Value = dwData["WAFZUART"].ToString();
            or1.Parameters.Add("WAFZUSATZ", OracleType.NVarChar).Value = dwData["WAFZUSATZ"].ToString();
            or1.Parameters.Add("WAFCOLORIT", OracleType.NVarChar).Value = dwData["WAFCOLORIT"].ToString();
            or1.Parameters.Add("WAFSTATUS", OracleType.NVarChar).Value = dwData["WAFSTATUS"].ToString();
            or1.Parameters.Add("WAFSFKZ", OracleType.NVarChar).Value = dwData["WAFSFKZ"].ToString();
            or1.Parameters.Add("WAFBEZ", OracleType.NVarChar).Value = dwData["WAFBEZ"].ToString();
            or1.Parameters.Add("WAFTEXTSCHL", OracleType.NVarChar).Value = dwData["WAFTEXTSCHL"].ToString();
            or1.Parameters.Add("WAFFKARTNR", OracleType.NVarChar).Value = dwData["WAFFKARTNR"].ToString();
            or1.Parameters.Add("WAFROHFARBE", OracleType.NVarChar).Value = dwData["WAFROHFARBE"].ToString();
            or1.Parameters.Add("WAFMUDESS", OracleType.NVarChar).Value = dwData["WAFMUDESS"].ToString();
            or1.Parameters.Add("WAFUNIFARB", OracleType.NVarChar).Value = dwData["WAFUNIFARB"].ToString();
            or1.Parameters.Add("WAFVGRQM", OracleType.NVarChar).Value = dwData["WAFVGRQM"].ToString();
            or1.Parameters.Add("WAFVOLU", OracleType.NVarChar).Value = dwData["WAFVOLU"].ToString();
            or1.Parameters.Add("WAFZTWAHL", OracleType.NVarChar).Value = dwData["WAFZTWAHL"].ToString();
            or1.Parameters.Add("WAFRAPPH", OracleType.NVarChar).Value = dwData["WAFRAPPH"].ToString();
            or1.Parameters.Add("WAFRAPPB", OracleType.NVarChar).Value = dwData["WAFRAPPB"].ToString();
            or1.Parameters.Add("WAFRUESTGRP", OracleType.NVarChar).Value = dwData["WAFRUESTGRP"].ToString();
            or1.Parameters.Add("WAFPRUEFGRP", OracleType.NVarChar).Value = dwData["WAFPRUEFGRP"].ToString();
            or1.Parameters.Add("WAFSCHABANZ", OracleType.NVarChar).Value = dwData["WAFSCHABANZ"].ToString();
            or1.Parameters.Add("WAFUSCHABANZ", OracleType.NVarChar).Value = dwData["WAFUSCHABANZ"].ToString();
            or1.Parameters.Add("WAFFDVF", OracleType.NVarChar).Value = dwData["WAFFDVF"].ToString();
            or1.Parameters.Add("WAFPRGRP", OracleType.NVarChar).Value = dwData["WAFPRGRP"].ToString();
            or1.Parameters.Add("WAFGRPBEZ", OracleType.NVarChar).Value = dwData["WAFGRPBEZ"].ToString();
            or1.Parameters.Add("WAFPREIS", OracleType.NVarChar).Value = dwData["WAFPREIS"].ToString();
            or1.Parameters.Add("WAFZUABPR", OracleType.NVarChar).Value = dwData["WAFZUABPR"].ToString();
            or1.Parameters.Add("WAFZUABAB", OracleType.NVarChar).Value = dwData["WAFZUABAB"].ToString();
            or1.Parameters.Add("WAFNFART", OracleType.NVarChar).Value = dwData["WAFNFART"].ToString();
            or1.Parameters.Add("WAFWERT", OracleType.NVarChar).Value = dwData["WAFWERT"].ToString();
            or1.Parameters.Add("WAFKZPA", OracleType.NVarChar).Value = dwData["WAFKZPA"].ToString();
            or1.Parameters.Add("WAFZUABVH", OracleType.NVarChar).Value = dwData["WAFZUABVH"].ToString();
            or1.Parameters.Add("WAFZUABAK", OracleType.NVarChar).Value = dwData["WAFZUABAK"].ToString();
            or1.Parameters.Add("WAFZUABKU", OracleType.NVarChar).Value = dwData["WAFZUABKU"].ToString();
            or1.Parameters.Add("WAFZUABPROZ", OracleType.NVarChar).Value = dwData["WAFZUABPROZ"].ToString();
            or1.Parameters.Add("WAFEZUSTAND1", OracleType.NVarChar).Value = dwData["WAFEZUSTAND1"].ToString();
            or1.Parameters.Add("WAFEZUSTAND2", OracleType.NVarChar).Value = dwData["WAFEZUSTAND2"].ToString();
            or1.Parameters.Add("WAFEZUSTAND3", OracleType.NVarChar).Value = dwData["WAFEZUSTAND3"].ToString();
            or1.Parameters.Add("WAFEZUSTAND4", OracleType.NVarChar).Value = dwData["WAFEZUSTAND4"].ToString();
            or1.Parameters.Add("WAFEZUSTAND5", OracleType.NVarChar).Value = dwData["WAFEZUSTAND5"].ToString();
            or1.Parameters.Add("WAFEZUSTAND6", OracleType.NVarChar).Value = dwData["WAFEZUSTAND6"].ToString();
            or1.Parameters.Add("WAFEZUSTAND7", OracleType.NVarChar).Value = dwData["WAFEZUSTAND7"].ToString();
            or1.Parameters.Add("WAFEZUSTAND8", OracleType.NVarChar).Value = dwData["WAFEZUSTAND8"].ToString();
            or1.Parameters.Add("WAFEZUSTAND9", OracleType.NVarChar).Value = dwData["WAFEZUSTAND9"].ToString();
            or1.Parameters.Add("WAFEZUSTAND10", OracleType.NVarChar).Value = dwData["WAFEZUSTAND10"].ToString();
            or1.Parameters.Add("WAFFA", OracleType.NVarChar).Value = dwData["WAFFA"].ToString();
            or1.Parameters.Add("WAFGA", OracleType.NVarChar).Value = dwData["WAFGA"].ToString();
            or1.Parameters.Add("WAFQA", OracleType.NVarChar).Value = dwData["WAFQA"].ToString();
            or1.Parameters.Add("WAFQPKTH", OracleType.NVarChar).Value = dwData["WAFQPKTH"].ToString();
            or1.Parameters.Add("WAFQPKTLH", OracleType.NVarChar).Value = dwData["WAFQPKTLH"].ToString();
            or1.Parameters.Add("WAFLOAN", OracleType.NVarChar).Value = dwData["WAFLOAN"].ToString();
            or1.Parameters.Add("WAFLBAN", OracleType.NVarChar).Value = dwData["WAFLBAN"].ToString();
            or1.Parameters.Add("WAFLPAN", OracleType.NVarChar).Value = dwData["WAFLPAN"].ToString();
            or1.Parameters.Add("WAFABKZAN", OracleType.NVarChar).Value = dwData["WAFABKZAN"].ToString();
            or1.Parameters.Add("WAFPKL", OracleType.NVarChar).Value = dwData["WAFPKL"].ToString();
            or1.Parameters.Add("WAFVBBRT", OracleType.NVarChar).Value = dwData["WAFVBBRT"].ToString();
            or1.Parameters.Add("WAFBRTTOLPL", OracleType.NVarChar).Value = dwData["WAFBRTTOLPL"].ToString();
            or1.Parameters.Add("WAFBRTTOLMI", OracleType.NVarChar).Value = dwData["WAFBRTTOLMI"].ToString();
            or1.Parameters.Add("WAFVBGRQM", OracleType.NVarChar).Value = dwData["WAFVBGRQM"].ToString();
            or1.Parameters.Add("WAFVBGRLFD", OracleType.NVarChar).Value = dwData["WAFVBGRLFD"].ToString();
            or1.Parameters.Add("WAFGWTOLPL", OracleType.NVarChar).Value = dwData["WAFGWTOLPL"].ToString();
            or1.Parameters.Add("WAFGWTOLMIN", OracleType.NVarChar).Value = dwData["WAFGWTOLMIN"].ToString();
            or1.Parameters.Add("WAFVBFDDIK", OracleType.NVarChar).Value = dwData["WAFVBFDDIK"].ToString();
            or1.Parameters.Add("WAFFDKTOLPL", OracleType.NVarChar).Value = dwData["WAFFDKTOLPL"].ToString();
            or1.Parameters.Add("WAFFDKTOLMI", OracleType.NVarChar).Value = dwData["WAFFDKTOLMI"].ToString();
            or1.Parameters.Add("WAFVBFDDIS", OracleType.NVarChar).Value = dwData["WAFVBFDDIS"].ToString();
            or1.Parameters.Add("WAFFDSTOLPL", OracleType.NVarChar).Value = dwData["WAFFDSTOLPL"].ToString();
            or1.Parameters.Add("WAFFDSTOLMI", OracleType.NVarChar).Value = dwData["WAFFDSTOLMI"].ToString();
            or1.Parameters.Add("WAFLAEAEND", OracleType.NVarChar).Value = dwData["WAFLAEAEND"].ToString();
            or1.Parameters.Add("WAFGWVERL", OracleType.NVarChar).Value = dwData["WAFGWVERL"].ToString();
            or1.Parameters.Add("WAFRESTSCHL", OracleType.NVarChar).Value = dwData["WAFRESTSCHL"].ToString();
            or1.Parameters.Add("WAFPHWERTMI", OracleType.NVarChar).Value = dwData["WAFPHWERTMI"].ToString();
            or1.Parameters.Add("WAFPHWERTMA", OracleType.NVarChar).Value = dwData["WAFPHWERTMA"].ToString();
            or1.Parameters.Add("WAFWEISSGRD", OracleType.NVarChar).Value = dwData["WAFWEISSGRD"].ToString();
            or1.Parameters.Add("WAFNETZFVON", OracleType.NVarChar).Value = dwData["WAFNETZFVON"].ToString();
            or1.Parameters.Add("WAFNETZFBIS", OracleType.NVarChar).Value = dwData["WAFNETZFBIS"].ToString();
            or1.Parameters.Add("WAFNETZFSEK", OracleType.NVarChar).Value = dwData["WAFNETZFSEK"].ToString();
            or1.Parameters.Add("WAFRSSFTRKV", OracleType.NVarChar).Value = dwData["WAFRSSFTRKV"].ToString();
            or1.Parameters.Add("WAFRSSFTRKB", OracleType.NVarChar).Value = dwData["WAFRSSFTRKB"].ToString();
            or1.Parameters.Add("WAFRSSFTRSV", OracleType.NVarChar).Value = dwData["WAFRSSFTRSV"].ToString();
            or1.Parameters.Add("WAFRSSFTRSB", OracleType.NVarChar).Value = dwData["WAFRSSFTRSB"].ToString();
            or1.Parameters.Add("WAFUNIFAEH", OracleType.NVarChar).Value = dwData["WAFUNIFAEH"].ToString();
            or1.Parameters.Add("WAFFADGERAD", OracleType.NVarChar).Value = dwData["WAFFADGERAD"].ToString();
            or1.Parameters.Add("WAFMUSTFRB", OracleType.NVarChar).Value = dwData["WAFMUSTFRB"].ToString();
            or1.Parameters.Add("WAFVORB", OracleType.NVarChar).Value = dwData["WAFVORB"].ToString();
            or1.Parameters.Add("WAFNACHB", OracleType.NVarChar).Value = dwData["WAFNACHB"].ToString();
            or1.Parameters.Add("WAFMU", OracleType.NVarChar).Value = dwData["WAFMU"].ToString();
            or1.Parameters.Add("WAFMURLOD", OracleType.NVarChar).Value = dwData["WAFMURLOD"].ToString();
            or1.Parameters.Add("WAFMUPROD", OracleType.NVarChar).Value = dwData["WAFMUPROD"].ToString();
            or1.Parameters.Add("WAFMUCTOD", OracleType.NVarChar).Value = dwData["WAFMUCTOD"].ToString();
            or1.Parameters.Add("WAFMUDTRL", OracleType.NVarChar).Value = dwData["WAFMUDTRL"].ToString();
            or1.Parameters.Add("WAFMUBIRL", OracleType.NVarChar).Value = dwData["WAFMUBIRL"].ToString();
            or1.Parameters.Add("WAFHUNGLFM", OracleType.NVarChar).Value = dwData["WAFHUNGLFM"].ToString();
            or1.Parameters.Add("WAFHUNGQM", OracleType.NVarChar).Value = dwData["WAFHUNGQM"].ToString();
            or1.Parameters.Add("WAFHUNBRT", OracleType.NVarChar).Value = dwData["WAFHUNBRT"].ToString();
            or1.Parameters.Add("WAFHUNFDK", OracleType.NVarChar).Value = dwData["WAFHUNFDK"].ToString();
            or1.Parameters.Add("WAFHUNFDS", OracleType.NVarChar).Value = dwData["WAFHUNFDS"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWASTPASS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WASTPASS SET "
            + "WSPMANDANT=:WSPMANDANT,"
            + "WSPKUNDNR=:WSPKUNDNR,"
            + "WSPWERK=:WSPWERK,"
            + "WSPABT=:WSPABT,"
            + "WSPART=:WSPART,"
            + "WSPVAR=:WSPVAR,"
            + "WSPPOS=:WSPPOS,"
            + "WSPPASS=:WSPPASS "
            + " WHERE  "
            + "  WSPMANDANT=:WSPMANDANT AND WSPART=:WSPART AND WSPVAR=:WSPVAR AND WSPPOS=:WSPPOS";
            or1.Parameters.Add("WSPMANDANT", OracleType.NVarChar).Value = dwData["WSPMANDANT"].ToString();
            or1.Parameters.Add("WSPKUNDNR", OracleType.NVarChar).Value = dwData["WSPKUNDNR"].ToString();
            or1.Parameters.Add("WSPWERK", OracleType.NVarChar).Value = dwData["WSPWERK"].ToString();
            or1.Parameters.Add("WSPABT", OracleType.NVarChar).Value = dwData["WSPABT"].ToString();
            or1.Parameters.Add("WSPART", OracleType.NVarChar).Value = dwData["WSPART"].ToString();
            or1.Parameters.Add("WSPVAR", OracleType.NVarChar).Value = dwData["WSPVAR"].ToString();
            or1.Parameters.Add("WSPPOS", OracleType.NVarChar).Value = dwData["WSPPOS"].ToString();
            or1.Parameters.Add("WSPPASS", OracleType.NVarChar).Value = dwData["WSPPASS"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWTEINZ(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WTEINZ SET "
                 + "WTEMANDANT=:WTEMANDANT,"
                 + "WTEEINZNR=:WTEEINZNR,"
                 + "WTESTAKZ=:WTESTAKZ,"
                 + "WTEBEZ=:WTEBEZ,"
                 + "WTEEZ=:WTEEZ,"
                 + "WTEERSFD=:WTEERSFD,"
                 + "WTERAPP=:WTERAPP,"
                 + "WTEEZWBL=:WTEEZWBL,"
                 + "WTEESTBRT=:WTEESTBRT,"
                 + "WTEWBLBRT=:WTEWBLBRT,"
                 + "WTEWBLTL=:WTEWBLTL,"
                 + "WTELSL01=:WTELSL01,"
                 + "WTEGEW01=:WTEGEW01,"
                 + "WTELSR01=:WTELSR01,"
                 + "WTELEER01=:WTELEER01,"
                 + "WTELSL02=:WTELSL02,"
                 + "WTEGEW02=:WTEGEW02,"
                 + "WTELSR02=:WTELSR02,"
                 + "WTELEER02=:WTELEER02,"
                 + "WTELSL03=:WTELSL03,"
                 + "WTEGEW03=:WTEGEW03,"
                 + "WTELSR03=:WTELSR03,"
                 + "WTELEER03=:WTELEER03,"
                 + "WTELSL04=:WTELSL04,"
                 + "WTEGEW04=:WTEGEW04,"
                 + "WTELSR04=:WTELSR04,"
                 + "WTELEER04=:WTELEER04,"
                 + "WTELSL05=:WTELSL05,"
                 + "WTEGEW05=:WTEGEW05,"
                 + "WTELSR05=:WTELSR05,"
                 + "WTELEER05=:WTELEER05,"
                 + "WTEAENDZL=:WTEAENDZL,"
                 + "WTEAENDBEN=:WTEAENDBEN,"
                 + "WTEAENDDAT=:WTEAENDDAT,"
                 + "WTENEUBEN=:WTENEUBEN,"
                 + "WTENEUDAT=:WTENEUDAT,"
                 + "WTEFILLER=:WTEFILLER "
            + " WHERE  "
            + "  WTEMANDANT=:WTEMANDANT AND WTEEINZNR=:WTEEINZNR";
            or1.Parameters.Add("WTEMANDANT", OracleType.NVarChar).Value = dwData["WTEMANDANT"].ToString();
            or1.Parameters.Add("WTEEINZNR", OracleType.NVarChar).Value = dwData["WTEEINZNR"].ToString();
            or1.Parameters.Add("WTESTAKZ", OracleType.NVarChar).Value = dwData["WTESTAKZ"].ToString();
            or1.Parameters.Add("WTEBEZ", OracleType.NVarChar).Value = dwData["WTEBEZ"].ToString();
            or1.Parameters.Add("WTEEZ", OracleType.NVarChar).Value = dwData["WTEEZ"].ToString();
            or1.Parameters.Add("WTEERSFD", OracleType.NVarChar).Value = dwData["WTEERSFD"].ToString();
            or1.Parameters.Add("WTERAPP", OracleType.NVarChar).Value = dwData["WTERAPP"].ToString();
            or1.Parameters.Add("WTEEZWBL", OracleType.NVarChar).Value = dwData["WTEEZWBL"].ToString();
            or1.Parameters.Add("WTEESTBRT", OracleType.NVarChar).Value = dwData["WTEESTBRT"].ToString();
            or1.Parameters.Add("WTEWBLBRT", OracleType.NVarChar).Value = dwData["WTEWBLBRT"].ToString();
            or1.Parameters.Add("WTEWBLTL", OracleType.NVarChar).Value = dwData["WTEWBLTL"].ToString();
            or1.Parameters.Add("WTELSL01", OracleType.NVarChar).Value = dwData["WTELSL01"].ToString();
            or1.Parameters.Add("WTEGEW01", OracleType.NVarChar).Value = dwData["WTEGEW01"].ToString();
            or1.Parameters.Add("WTELSR01", OracleType.NVarChar).Value = dwData["WTELSR01"].ToString();
            or1.Parameters.Add("WTELEER01", OracleType.NVarChar).Value = dwData["WTELEER01"].ToString();
            or1.Parameters.Add("WTELSL02", OracleType.NVarChar).Value = dwData["WTELSL02"].ToString();
            or1.Parameters.Add("WTEGEW02", OracleType.NVarChar).Value = dwData["WTEGEW02"].ToString();
            or1.Parameters.Add("WTELSR02", OracleType.NVarChar).Value = dwData["WTELSR02"].ToString();
            or1.Parameters.Add("WTELEER02", OracleType.NVarChar).Value = dwData["WTELEER02"].ToString();
            or1.Parameters.Add("WTELSL03", OracleType.NVarChar).Value = dwData["WTELSL03"].ToString();
            or1.Parameters.Add("WTEGEW03", OracleType.NVarChar).Value = dwData["WTEGEW03"].ToString();
            or1.Parameters.Add("WTELSR03", OracleType.NVarChar).Value = dwData["WTELSR03"].ToString();
            or1.Parameters.Add("WTELEER03", OracleType.NVarChar).Value = dwData["WTELEER03"].ToString();
            or1.Parameters.Add("WTELSL04", OracleType.NVarChar).Value = dwData["WTELSL04"].ToString();
            or1.Parameters.Add("WTEGEW04", OracleType.NVarChar).Value = dwData["WTEGEW04"].ToString();
            or1.Parameters.Add("WTELSR04", OracleType.NVarChar).Value = dwData["WTELSR04"].ToString();
            or1.Parameters.Add("WTELEER04", OracleType.NVarChar).Value = dwData["WTELEER04"].ToString();
            or1.Parameters.Add("WTELSL05", OracleType.NVarChar).Value = dwData["WTELSL05"].ToString();
            or1.Parameters.Add("WTEGEW05", OracleType.NVarChar).Value = dwData["WTEGEW05"].ToString();
            or1.Parameters.Add("WTELSR05", OracleType.NVarChar).Value = dwData["WTELSR05"].ToString();
            or1.Parameters.Add("WTELEER05", OracleType.NVarChar).Value = dwData["WTELEER05"].ToString();
            or1.Parameters.Add("WTEAENDZL", OracleType.NVarChar).Value = dwData["WTEAENDZL"].ToString();
            or1.Parameters.Add("WTEAENDBEN", OracleType.NVarChar).Value = dwData["WTEAENDBEN"].ToString();
            or1.Parameters.Add("WTEAENDDAT", OracleType.NVarChar).Value = dwData["WTEAENDDAT"].ToString();
            or1.Parameters.Add("WTENEUBEN", OracleType.NVarChar).Value = dwData["WTENEUBEN"].ToString();
            or1.Parameters.Add("WTENEUDAT", OracleType.NVarChar).Value = dwData["WTENEUDAT"].ToString();
            or1.Parameters.Add("WTEFILLER", OracleType.NVarChar).Value = dwData["WTEFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWTPASS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WTPASS SET "
            + "WTPMANDANT=:WTPMANDANT,"
            + "WTPPASSNR=:WTPPASSNR,"
            + "WTPSTAKZ=:WTPSTAKZ,"
            + "WTPBEZ=:WTPBEZ,"
            + "WTPEZ=:WTPEZ,"
            + "WTPERSFD=:WTPERSFD,"
            + "WTPPSCHT=:WTPPSCHT,"
            + "WTPLSCHTW=:WTPLSCHTW,"
            + "WTPLSCHTK=:WTPLSCHTK,"
            + "WTPGSCHT=:WTPGSCHT,"
            + "WTPANZK=:WTPANZK,"
            + "WTPRAPP=:WTPRAPP,"
            + "WTPGLITY=:WTPGLITY,"
            + "WTPGLATY=:WTPGLATY,"
            + "WTPGLARH=:WTPGLARH,"
            + "WTPGLAANZ=:WTPGLAANZ,"
            + "WTPPLITY=:WTPPLITY,"
            + "WTPPLATY=:WTPPLATY,"
            + "WTPPLARH=:WTPPLARH,"
            + "WTPPLAANZ=:WTPPLAANZ,"
            + "WTPAENDZL=:WTPAENDZL,"
            + "WTPAENDBEN=:WTPAENDBEN,"
            + "WTPAENDDAT=:WTPAENDDAT,"
            + "WTPNEUBEN=:WTPNEUBEN,"
            + "WTPNEUDAT=:WTPNEUDAT,"
            + "WTPFILLER=:WTPFILLER "
            + " WHERE  "
            + "  WTPMANDANT=:WTPMANDANT AND WTPPASSNR=:WTPPASSNR";
            or1.Parameters.Add("WTPMANDANT", OracleType.NVarChar).Value = dwData["WTPMANDANT"].ToString();
            or1.Parameters.Add("WTPPASSNR", OracleType.NVarChar).Value = dwData["WTPPASSNR"].ToString();
            or1.Parameters.Add("WTPSTAKZ", OracleType.NVarChar).Value = dwData["WTPSTAKZ"].ToString();
            or1.Parameters.Add("WTPBEZ", OracleType.NVarChar).Value = dwData["WTPBEZ"].ToString();
            or1.Parameters.Add("WTPEZ", OracleType.NVarChar).Value = dwData["WTPEZ"].ToString();
            or1.Parameters.Add("WTPERSFD", OracleType.NVarChar).Value = dwData["WTPERSFD"].ToString();
            or1.Parameters.Add("WTPPSCHT", OracleType.NVarChar).Value = dwData["WTPPSCHT"].ToString();
            or1.Parameters.Add("WTPLSCHTW", OracleType.NVarChar).Value = dwData["WTPLSCHTW"].ToString();
            or1.Parameters.Add("WTPLSCHTK", OracleType.NVarChar).Value = dwData["WTPLSCHTK"].ToString();
            or1.Parameters.Add("WTPGSCHT", OracleType.NVarChar).Value = dwData["WTPGSCHT"].ToString();
            or1.Parameters.Add("WTPANZK", OracleType.NVarChar).Value = dwData["WTPANZK"].ToString();
            or1.Parameters.Add("WTPRAPP", OracleType.NVarChar).Value = dwData["WTPRAPP"].ToString();
            or1.Parameters.Add("WTPGLITY", OracleType.NVarChar).Value = dwData["WTPGLITY"].ToString();
            or1.Parameters.Add("WTPGLATY", OracleType.NVarChar).Value = dwData["WTPGLATY"].ToString();
            or1.Parameters.Add("WTPGLARH", OracleType.NVarChar).Value = dwData["WTPGLARH"].ToString();
            or1.Parameters.Add("WTPGLAANZ", OracleType.NVarChar).Value = dwData["WTPGLAANZ"].ToString();
            or1.Parameters.Add("WTPPLITY", OracleType.NVarChar).Value = dwData["WTPPLITY"].ToString();
            or1.Parameters.Add("WTPPLATY", OracleType.NVarChar).Value = dwData["WTPPLATY"].ToString();
            or1.Parameters.Add("WTPPLARH", OracleType.NVarChar).Value = dwData["WTPPLARH"].ToString();
            or1.Parameters.Add("WTPPLAANZ", OracleType.NVarChar).Value = dwData["WTPPLAANZ"].ToString();
            or1.Parameters.Add("WTPAENDZL", OracleType.NVarChar).Value = dwData["WTPAENDZL"].ToString();
            or1.Parameters.Add("WTPAENDBEN", OracleType.NVarChar).Value = dwData["WTPAENDBEN"].ToString();
            or1.Parameters.Add("WTPAENDDAT", OracleType.NVarChar).Value = dwData["WTPAENDDAT"].ToString();
            or1.Parameters.Add("WTPNEUBEN", OracleType.NVarChar).Value = dwData["WTPNEUBEN"].ToString();
            or1.Parameters.Add("WTPNEUDAT", OracleType.NVarChar).Value = dwData["WTPNEUDAT"].ToString();
            or1.Parameters.Add("WTPFILLER", OracleType.NVarChar).Value = dwData["WTPFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWTSAER(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WTSAER SET "
            #region update
 + "WTBFNR100=:WTBFNR100,"
+ "WTBANZFAE100=:WTBANZFAE100,"
+ "WTBAENDZL=:WTBAENDZL,"
+ "WTBAENDBEN=:WTBAENDBEN,"
+ "WTBAENDDAT=:WTBAENDDAT,"
+ "WTBNEUBEN=:WTBNEUBEN,"
+ "WTBNEUDAT=:WTBNEUDAT,"
+ "WTBFILLER=:WTBFILLER,"
+ "WTBMANDANT=:WTBMANDANT,"
+ "WTBSRFNR=:WTBSRFNR,"
+ "WTBPOS=:WTBPOS,"
+ "WTBSTAKZ=:WTBSTAKZ,"
+ "WTBBEZ=:WTBBEZ,"
+ "WTBMUSTER=:WTBMUSTER,"
+ "WTBRAUSGL=:WTBRAUSGL,"
+ "WTBCADKEY1=:WTBCADKEY1,"
+ "WTBCADKEY2=:WTBCADKEY2,"
+ "WTBSRAPP=:WTBSRAPP,"
+ "WTBANZFARB=:WTBANZFARB,"
+ "WTBGARN1=:WTBGARN1,"
+ "WTBFDZ1=:WTBFDZ1,"
+ "WTBGARN2=:WTBGARN2,"
+ "WTBFDZ2=:WTBFDZ2,"
+ "WTBGARN3=:WTBGARN3,"
+ "WTBFDZ3=:WTBFDZ3,"
+ "WTBGARN4=:WTBGARN4,"
+ "WTBFDZ4=:WTBFDZ4,"
+ "WTBGARN5=:WTBGARN5,"
+ "WTBFDZ5=:WTBFDZ5,"
+ "WTBGARN6=:WTBGARN6,"
+ "WTBFDZ6=:WTBFDZ6,"
+ "WTBGARN7=:WTBGARN7,"
+ "WTBFDZ7=:WTBFDZ7,"
+ "WTBGARN8=:WTBGARN8,"
+ "WTBFDZ8=:WTBFDZ8,"
+ "WTBGARN9=:WTBGARN9,"
+ "WTBFDZ9=:WTBFDZ9,"
+ "WTBGARN10=:WTBGARN10,"
+ "WTBFDZ10=:WTBFDZ10,"
+ "WTBGARN11=:WTBGARN11,"
+ "WTBFDZ11=:WTBFDZ11,"
+ "WTBGARN12=:WTBGARN12,"
+ "WTBFDZ12=:WTBFDZ12,"
+ "WTBGARN13=:WTBGARN13,"
+ "WTBFDZ13=:WTBFDZ13,"
+ "WTBGARN14=:WTBGARN14,"
+ "WTBFDZ14=:WTBFDZ14,"
+ "WTBGARN15=:WTBGARN15,"
+ "WTBFDZ15=:WTBFDZ15,"
+ "WTBGARN16=:WTBGARN16,"
+ "WTBFDZ16=:WTBFDZ16,"
+ "WTBGARN17=:WTBGARN17,"
+ "WTBFDZ17=:WTBFDZ17,"
+ "WTBGARN18=:WTBGARN18,"
+ "WTBFDZ18=:WTBFDZ18,"
+ "WTBGARN19=:WTBGARN19,"
+ "WTBFDZ19=:WTBFDZ19,"
+ "WTBGARN20=:WTBGARN20,"
+ "WTBFDZ20=:WTBFDZ20,"
+ "WTBGARN21=:WTBGARN21,"
+ "WTBFDZ21=:WTBFDZ21,"
+ "WTBGARN22=:WTBGARN22,"
+ "WTBFDZ22=:WTBFDZ22,"
+ "WTBGARN23=:WTBGARN23,"
+ "WTBFDZ23=:WTBFDZ23,"
+ "WTBGARN24=:WTBGARN24,"
+ "WTBFDZ24=:WTBFDZ24,"
+ "WTBGARN25=:WTBGARN25,"
+ "WTBFDZ25=:WTBFDZ25,"
+ "WTBGARN26=:WTBGARN26,"
+ "WTBFDZ26=:WTBFDZ26,"
+ "WTBGARN27=:WTBGARN27,"
+ "WTBFDZ27=:WTBFDZ27,"
+ "WTBGARN28=:WTBGARN28,"
+ "WTBFNR42=:WTBFNR42,"
+ "WTBANZFAE42=:WTBANZFAE42,"
+ "WTBFNR43=:WTBFNR43,"
+ "WTBANZFAE43=:WTBANZFAE43,"
+ "WTBFNR44=:WTBFNR44,"
+ "WTBANZFAE44=:WTBANZFAE44,"
+ "WTBFNR45=:WTBFNR45,"
+ "WTBANZFAE45=:WTBANZFAE45,"
+ "WTBFNR46=:WTBFNR46,"
+ "WTBANZFAE46=:WTBANZFAE46,"
+ "WTBFNR47=:WTBFNR47,"
+ "WTBANZFAE47=:WTBANZFAE47,"
+ "WTBFNR48=:WTBFNR48,"
+ "WTBANZFAE48=:WTBANZFAE48,"
+ "WTBFNR49=:WTBFNR49,"
+ "WTBANZFAE49=:WTBANZFAE49,"
+ "WTBFNR50=:WTBFNR50,"
+ "WTBANZFAE50=:WTBANZFAE50,"
+ "WTBFNR51=:WTBFNR51,"
+ "WTBANZFAE51=:WTBANZFAE51,"
+ "WTBFNR52=:WTBFNR52,"
+ "WTBANZFAE52=:WTBANZFAE52,"
+ "WTBFNR53=:WTBFNR53,"
+ "WTBANZFAE53=:WTBANZFAE53,"
+ "WTBFNR54=:WTBFNR54,"
+ "WTBANZFAE54=:WTBANZFAE54,"
+ "WTBFNR55=:WTBFNR55,"
+ "WTBANZFAE55=:WTBANZFAE55,"
+ "WTBFNR56=:WTBFNR56,"
+ "WTBANZFAE56=:WTBANZFAE56,"
+ "WTBFNR57=:WTBFNR57,"
+ "WTBANZFAE57=:WTBANZFAE57,"
+ "WTBFNR58=:WTBFNR58,"
+ "WTBANZFAE58=:WTBANZFAE58,"
+ "WTBFNR59=:WTBFNR59,"
+ "WTBANZFAE59=:WTBANZFAE59,"
+ "WTBFNR60=:WTBFNR60,"
+ "WTBANZFAE60=:WTBANZFAE60,"
+ "WTBFNR23=:WTBFNR23,"
+ "WTBANZFAE23=:WTBANZFAE23,"
+ "WTBFNR24=:WTBFNR24,"
+ "WTBANZFAE24=:WTBANZFAE24,"
+ "WTBFNR25=:WTBFNR25,"
+ "WTBANZFAE25=:WTBANZFAE25,"
+ "WTBFNR26=:WTBFNR26,"
+ "WTBANZFAE26=:WTBANZFAE26,"
+ "WTBFNR27=:WTBFNR27,"
+ "WTBANZFAE27=:WTBANZFAE27,"
+ "WTBFNR28=:WTBFNR28,"
+ "WTBANZFAE28=:WTBANZFAE28,"
+ "WTBFNR29=:WTBFNR29,"
+ "WTBANZFAE29=:WTBANZFAE29,"
+ "WTBFNR30=:WTBFNR30,"
+ "WTBANZFAE30=:WTBANZFAE30,"
+ "WTBFNR31=:WTBFNR31,"
+ "WTBANZFAE31=:WTBANZFAE31,"
+ "WTBFNR32=:WTBFNR32,"
+ "WTBANZFAE32=:WTBANZFAE32,"
+ "WTBFNR33=:WTBFNR33,"
+ "WTBANZFAE33=:WTBANZFAE33,"
+ "WTBFNR34=:WTBFNR34,"
+ "WTBANZFAE34=:WTBANZFAE34,"
+ "WTBFNR35=:WTBFNR35,"
+ "WTBANZFAE35=:WTBANZFAE35,"
+ "WTBFNR36=:WTBFNR36,"
+ "WTBANZFAE36=:WTBANZFAE36,"
+ "WTBFNR37=:WTBFNR37,"
+ "WTBANZFAE37=:WTBANZFAE37,"
+ "WTBFNR38=:WTBFNR38,"
+ "WTBANZFAE38=:WTBANZFAE38,"
+ "WTBFNR39=:WTBFNR39,"
+ "WTBANZFAE39=:WTBANZFAE39,"
+ "WTBFNR40=:WTBFNR40,"
+ "WTBANZFAE40=:WTBANZFAE40,"
+ "WTBFNR41=:WTBFNR41,"
+ "WTBANZFAE41=:WTBANZFAE41,"
+ "WTBANZFAE80=:WTBANZFAE80,"
+ "WTBFNR81=:WTBFNR81,"
+ "WTBANZFAE81=:WTBANZFAE81,"
+ "WTBFNR82=:WTBFNR82,"
+ "WTBANZFAE82=:WTBANZFAE82,"
+ "WTBFNR83=:WTBFNR83,"
+ "WTBANZFAE83=:WTBANZFAE83,"
+ "WTBFNR84=:WTBFNR84,"
+ "WTBANZFAE84=:WTBANZFAE84,"
+ "WTBFNR85=:WTBFNR85,"
+ "WTBANZFAE85=:WTBANZFAE85,"
+ "WTBFNR86=:WTBFNR86,"
+ "WTBANZFAE86=:WTBANZFAE86,"
+ "WTBFNR87=:WTBFNR87,"
+ "WTBANZFAE87=:WTBANZFAE87,"
+ "WTBFNR88=:WTBFNR88,"
+ "WTBANZFAE88=:WTBANZFAE88,"
+ "WTBFNR89=:WTBFNR89,"
+ "WTBANZFAE89=:WTBANZFAE89,"
+ "WTBFNR90=:WTBFNR90,"
+ "WTBANZFAE90=:WTBANZFAE90,"
+ "WTBFNR91=:WTBFNR91,"
+ "WTBANZFAE91=:WTBANZFAE91,"
+ "WTBFNR92=:WTBFNR92,"
+ "WTBANZFAE92=:WTBANZFAE92,"
+ "WTBFNR93=:WTBFNR93,"
+ "WTBANZFAE93=:WTBANZFAE93,"
+ "WTBFNR94=:WTBFNR94,"
+ "WTBANZFAE94=:WTBANZFAE94,"
+ "WTBFNR95=:WTBFNR95,"
+ "WTBANZFAE95=:WTBANZFAE95,"
+ "WTBFNR96=:WTBFNR96,"
+ "WTBANZFAE96=:WTBANZFAE96,"
+ "WTBFNR97=:WTBFNR97,"
+ "WTBANZFAE97=:WTBANZFAE97,"
+ "WTBFNR98=:WTBFNR98,"
+ "WTBANZFAE98=:WTBANZFAE98,"
+ "WTBFNR99=:WTBFNR99,"
+ "WTBANZFAE99=:WTBANZFAE99,"
+ "WTBFNR4=:WTBFNR4,"
+ "WTBANZFAE4=:WTBANZFAE4,"
+ "WTBFNR5=:WTBFNR5,"
+ "WTBANZFAE5=:WTBANZFAE5,"
+ "WTBFNR6=:WTBFNR6,"
+ "WTBANZFAE6=:WTBANZFAE6,"
+ "WTBFNR7=:WTBFNR7,"
+ "WTBANZFAE7=:WTBANZFAE7,"
+ "WTBFNR8=:WTBFNR8,"
+ "WTBANZFAE8=:WTBANZFAE8,"
+ "WTBFNR9=:WTBFNR9,"
+ "WTBANZFAE9=:WTBANZFAE9,"
+ "WTBFNR10=:WTBFNR10,"
+ "WTBANZFAE10=:WTBANZFAE10,"
+ "WTBFNR11=:WTBFNR11,"
+ "WTBANZFAE11=:WTBANZFAE11,"
+ "WTBFNR12=:WTBFNR12,"
+ "WTBANZFAE12=:WTBANZFAE12,"
+ "WTBFNR13=:WTBFNR13,"
+ "WTBANZFAE13=:WTBANZFAE13,"
+ "WTBFNR14=:WTBFNR14,"
+ "WTBANZFAE14=:WTBANZFAE14,"
+ "WTBFNR15=:WTBFNR15,"
+ "WTBANZFAE15=:WTBANZFAE15,"
+ "WTBFNR16=:WTBFNR16,"
+ "WTBANZFAE16=:WTBANZFAE16,"
+ "WTBFNR17=:WTBFNR17,"
+ "WTBANZFAE17=:WTBANZFAE17,"
+ "WTBFNR18=:WTBFNR18,"
+ "WTBANZFAE18=:WTBANZFAE18,"
+ "WTBFNR19=:WTBFNR19,"
+ "WTBANZFAE19=:WTBANZFAE19,"
+ "WTBFNR20=:WTBFNR20,"
+ "WTBANZFAE20=:WTBANZFAE20,"
+ "WTBFNR21=:WTBFNR21,"
+ "WTBANZFAE21=:WTBANZFAE21,"
+ "WTBFNR22=:WTBFNR22,"
+ "WTBANZFAE22=:WTBANZFAE22,"
+ "WTBFDZ28=:WTBFDZ28,"
+ "WTBGARN29=:WTBGARN29,"
+ "WTBFDZ29=:WTBFDZ29,"
+ "WTBGARN30=:WTBGARN30,"
+ "WTBFDZ30=:WTBFDZ30,"
+ "WTBGARN31=:WTBGARN31,"
+ "WTBFDZ31=:WTBFDZ31,"
+ "WTBGARN32=:WTBGARN32,"
+ "WTBFDZ32=:WTBFDZ32,"
+ "WTBGARN33=:WTBGARN33,"
+ "WTBFDZ33=:WTBFDZ33,"
+ "WTBGARN34=:WTBGARN34,"
+ "WTBFDZ34=:WTBFDZ34,"
+ "WTBGARN35=:WTBGARN35,"
+ "WTBFDZ35=:WTBFDZ35,"
+ "WTBGARN36=:WTBGARN36,"
+ "WTBFDZ36=:WTBFDZ36,"
+ "WTBGARN37=:WTBGARN37,"
+ "WTBFDZ37=:WTBFDZ37,"
+ "WTBGARN38=:WTBGARN38,"
+ "WTBFDZ38=:WTBFDZ38,"
+ "WTBGARN39=:WTBGARN39,"
+ "WTBFDZ39=:WTBFDZ39,"
+ "WTBGARN40=:WTBGARN40,"
+ "WTBFDZ40=:WTBFDZ40,"
+ "WTBGARN41=:WTBGARN41,"
+ "WTBFDZ41=:WTBFDZ41,"
+ "WTBGARN42=:WTBGARN42,"
+ "WTBFDZ42=:WTBFDZ42,"
+ "WTBGARN43=:WTBGARN43,"
+ "WTBFDZ43=:WTBFDZ43,"
+ "WTBGARN44=:WTBGARN44,"
+ "WTBFDZ44=:WTBFDZ44,"
+ "WTBGARN45=:WTBGARN45,"
+ "WTBFDZ45=:WTBFDZ45,"
+ "WTBGARN46=:WTBGARN46,"
+ "WTBFDZ46=:WTBFDZ46,"
+ "WTBGARN47=:WTBGARN47,"
+ "WTBFDZ47=:WTBFDZ47,"
+ "WTBGARN48=:WTBGARN48,"
+ "WTBFDZ48=:WTBFDZ48,"
+ "WTBGARN49=:WTBGARN49,"
+ "WTBFDZ49=:WTBFDZ49,"
+ "WTBGARN50=:WTBGARN50,"
+ "WTBFDZ50=:WTBFDZ50,"
+ "WTBGARN51=:WTBGARN51,"
+ "WTBFDZ51=:WTBFDZ51,"
+ "WTBGARN52=:WTBGARN52,"
+ "WTBFDZ52=:WTBFDZ52,"
+ "WTBGARN53=:WTBGARN53,"
+ "WTBFDZ53=:WTBFDZ53,"
+ "WTBGARN54=:WTBGARN54,"
+ "WTBFDZ54=:WTBFDZ54,"
+ "WTBGARN55=:WTBGARN55,"
+ "WTBFDZ55=:WTBFDZ55,"
+ "WTBGARN56=:WTBGARN56,"
+ "WTBFDZ56=:WTBFDZ56,"
+ "WTBGARN57=:WTBGARN57,"
+ "WTBFDZ57=:WTBFDZ57,"
+ "WTBGARN58=:WTBGARN58,"
+ "WTBFDZ58=:WTBFDZ58,"
+ "WTBGARN59=:WTBGARN59,"
+ "WTBFDZ59=:WTBFDZ59,"
+ "WTBGARN60=:WTBGARN60,"
+ "WTBFDZ60=:WTBFDZ60,"
+ "WTBGARN61=:WTBGARN61,"
+ "WTBFDZ61=:WTBFDZ61,"
+ "WTBGARN62=:WTBGARN62,"
+ "WTBFDZ62=:WTBFDZ62,"
+ "WTBGARN63=:WTBGARN63,"
+ "WTBFDZ63=:WTBFDZ63,"
+ "WTBGARN64=:WTBGARN64,"
+ "WTBFDZ64=:WTBFDZ64,"
+ "WTBGARN65=:WTBGARN65,"
+ "WTBFDZ65=:WTBFDZ65,"
+ "WTBGARN66=:WTBGARN66,"
+ "WTBFDZ66=:WTBFDZ66,"
+ "WTBGARN67=:WTBGARN67,"
+ "WTBFDZ67=:WTBFDZ67,"
+ "WTBGARN68=:WTBGARN68,"
+ "WTBFDZ68=:WTBFDZ68,"
+ "WTBGARN69=:WTBGARN69,"
+ "WTBFDZ69=:WTBFDZ69,"
+ "WTBGARN70=:WTBGARN70,"
+ "WTBFDZ70=:WTBFDZ70,"
+ "WTBGARN71=:WTBGARN71,"
+ "WTBFDZ71=:WTBFDZ71,"
+ "WTBGARN72=:WTBGARN72,"
+ "WTBFDZ72=:WTBFDZ72,"
+ "WTBGARN73=:WTBGARN73,"
+ "WTBFDZ73=:WTBFDZ73,"
+ "WTBGARN74=:WTBGARN74,"
+ "WTBFDZ74=:WTBFDZ74,"
+ "WTBGARN75=:WTBGARN75,"
+ "WTBFDZ75=:WTBFDZ75,"
+ "WTBGARN76=:WTBGARN76,"
+ "WTBFDZ76=:WTBFDZ76,"
+ "WTBGARN77=:WTBGARN77,"
+ "WTBFDZ77=:WTBFDZ77,"
+ "WTBGARN78=:WTBGARN78,"
+ "WTBFDZ78=:WTBFDZ78,"
+ "WTBGARN79=:WTBGARN79,"
+ "WTBFDZ79=:WTBFDZ79,"
+ "WTBGARN80=:WTBGARN80,"
+ "WTBFDZ80=:WTBFDZ80,"
+ "WTBFNR1=:WTBFNR1,"
+ "WTBANZFAE1=:WTBANZFAE1,"
+ "WTBFNR2=:WTBFNR2,"
+ "WTBANZFAE2=:WTBANZFAE2,"
+ "WTBFNR3=:WTBFNR3,"
+ "WTBANZFAE3=:WTBANZFAE3,"
+ "WTBFNR61=:WTBFNR61,"
+ "WTBANZFAE61=:WTBANZFAE61,"
+ "WTBFNR62=:WTBFNR62,"
+ "WTBANZFAE62=:WTBANZFAE62,"
+ "WTBFNR63=:WTBFNR63,"
+ "WTBANZFAE63=:WTBANZFAE63,"
+ "WTBFNR64=:WTBFNR64,"
+ "WTBANZFAE64=:WTBANZFAE64,"
+ "WTBFNR65=:WTBFNR65,"
+ "WTBANZFAE65=:WTBANZFAE65,"
+ "WTBFNR66=:WTBFNR66,"
+ "WTBANZFAE66=:WTBANZFAE66,"
+ "WTBFNR67=:WTBFNR67,"
+ "WTBANZFAE67=:WTBANZFAE67,"
+ "WTBFNR68=:WTBFNR68,"
+ "WTBANZFAE68=:WTBANZFAE68,"
+ "WTBFNR69=:WTBFNR69,"
+ "WTBANZFAE69=:WTBANZFAE69,"
+ "WTBFNR70=:WTBFNR70,"
+ "WTBANZFAE70=:WTBANZFAE70,"
+ "WTBFNR71=:WTBFNR71,"
+ "WTBANZFAE71=:WTBANZFAE71,"
+ "WTBFNR72=:WTBFNR72,"
+ "WTBANZFAE72=:WTBANZFAE72,"
+ "WTBFNR73=:WTBFNR73,"
+ "WTBANZFAE73=:WTBANZFAE73,"
+ "WTBFNR74=:WTBFNR74,"
+ "WTBANZFAE74=:WTBANZFAE74,"
+ "WTBFNR75=:WTBFNR75,"
+ "WTBANZFAE75=:WTBANZFAE75,"
+ "WTBFNR76=:WTBFNR76,"
+ "WTBANZFAE76=:WTBANZFAE76,"
+ "WTBFNR77=:WTBFNR77,"
+ "WTBANZFAE77=:WTBANZFAE77,"
+ "WTBFNR78=:WTBFNR78,"
+ "WTBANZFAE78=:WTBANZFAE78,"
+ "WTBFNR79=:WTBFNR79,"
+ "WTBANZFAE79=:WTBANZFAE79,"
+ "WTBFNR80=:WTBFNR80 "
            #endregion
 + " WHERE  "
            + "  WTBMANDANT=:WTBMANDANT AND WTBSRFNR=:WTBSRFNR";
            #region====cond====
            or1.Parameters.Add("WTBFNR100", OracleType.NVarChar).Value = dwData["WTBFNR100"].ToString();
            or1.Parameters.Add("WTBANZFAE100", OracleType.NVarChar).Value = dwData["WTBANZFAE100"].ToString();
            or1.Parameters.Add("WTBAENDZL", OracleType.NVarChar).Value = dwData["WTBAENDZL"].ToString();
            or1.Parameters.Add("WTBAENDBEN", OracleType.NVarChar).Value = dwData["WTBAENDBEN"].ToString();
            or1.Parameters.Add("WTBAENDDAT", OracleType.NVarChar).Value = dwData["WTBAENDDAT"].ToString();
            or1.Parameters.Add("WTBNEUBEN", OracleType.NVarChar).Value = dwData["WTBNEUBEN"].ToString();
            or1.Parameters.Add("WTBNEUDAT", OracleType.NVarChar).Value = dwData["WTBNEUDAT"].ToString();
            or1.Parameters.Add("WTBFILLER", OracleType.NVarChar).Value = dwData["WTBFILLER"].ToString();
            or1.Parameters.Add("WTBMANDANT", OracleType.NVarChar).Value = dwData["WTBMANDANT"].ToString();
            or1.Parameters.Add("WTBSRFNR", OracleType.NVarChar).Value = dwData["WTBSRFNR"].ToString();
            or1.Parameters.Add("WTBPOS", OracleType.NVarChar).Value = dwData["WTBPOS"].ToString();
            or1.Parameters.Add("WTBSTAKZ", OracleType.NVarChar).Value = dwData["WTBSTAKZ"].ToString();
            or1.Parameters.Add("WTBBEZ", OracleType.NVarChar).Value = dwData["WTBBEZ"].ToString();
            or1.Parameters.Add("WTBMUSTER", OracleType.NVarChar).Value = dwData["WTBMUSTER"].ToString();
            or1.Parameters.Add("WTBRAUSGL", OracleType.NVarChar).Value = dwData["WTBRAUSGL"].ToString();
            or1.Parameters.Add("WTBCADKEY1", OracleType.NVarChar).Value = dwData["WTBCADKEY1"].ToString();
            or1.Parameters.Add("WTBCADKEY2", OracleType.NVarChar).Value = dwData["WTBCADKEY2"].ToString();
            or1.Parameters.Add("WTBSRAPP", OracleType.NVarChar).Value = dwData["WTBSRAPP"].ToString();
            or1.Parameters.Add("WTBANZFARB", OracleType.NVarChar).Value = dwData["WTBANZFARB"].ToString();
            or1.Parameters.Add("WTBGARN1", OracleType.NVarChar).Value = dwData["WTBGARN1"].ToString();
            or1.Parameters.Add("WTBFDZ1", OracleType.NVarChar).Value = dwData["WTBFDZ1"].ToString();
            or1.Parameters.Add("WTBGARN2", OracleType.NVarChar).Value = dwData["WTBGARN2"].ToString();
            or1.Parameters.Add("WTBFDZ2", OracleType.NVarChar).Value = dwData["WTBFDZ2"].ToString();
            or1.Parameters.Add("WTBGARN3", OracleType.NVarChar).Value = dwData["WTBGARN3"].ToString();
            or1.Parameters.Add("WTBFDZ3", OracleType.NVarChar).Value = dwData["WTBFDZ3"].ToString();
            or1.Parameters.Add("WTBGARN4", OracleType.NVarChar).Value = dwData["WTBGARN4"].ToString();
            or1.Parameters.Add("WTBFDZ4", OracleType.NVarChar).Value = dwData["WTBFDZ4"].ToString();
            or1.Parameters.Add("WTBGARN5", OracleType.NVarChar).Value = dwData["WTBGARN5"].ToString();
            or1.Parameters.Add("WTBFDZ5", OracleType.NVarChar).Value = dwData["WTBFDZ5"].ToString();
            or1.Parameters.Add("WTBGARN6", OracleType.NVarChar).Value = dwData["WTBGARN6"].ToString();
            or1.Parameters.Add("WTBFDZ6", OracleType.NVarChar).Value = dwData["WTBFDZ6"].ToString();
            or1.Parameters.Add("WTBGARN7", OracleType.NVarChar).Value = dwData["WTBGARN7"].ToString();
            or1.Parameters.Add("WTBFDZ7", OracleType.NVarChar).Value = dwData["WTBFDZ7"].ToString();
            or1.Parameters.Add("WTBGARN8", OracleType.NVarChar).Value = dwData["WTBGARN8"].ToString();
            or1.Parameters.Add("WTBFDZ8", OracleType.NVarChar).Value = dwData["WTBFDZ8"].ToString();
            or1.Parameters.Add("WTBGARN9", OracleType.NVarChar).Value = dwData["WTBGARN9"].ToString();
            or1.Parameters.Add("WTBFDZ9", OracleType.NVarChar).Value = dwData["WTBFDZ9"].ToString();
            or1.Parameters.Add("WTBGARN10", OracleType.NVarChar).Value = dwData["WTBGARN10"].ToString();
            or1.Parameters.Add("WTBFDZ10", OracleType.NVarChar).Value = dwData["WTBFDZ10"].ToString();
            or1.Parameters.Add("WTBGARN11", OracleType.NVarChar).Value = dwData["WTBGARN11"].ToString();
            or1.Parameters.Add("WTBFDZ11", OracleType.NVarChar).Value = dwData["WTBFDZ11"].ToString();
            or1.Parameters.Add("WTBGARN12", OracleType.NVarChar).Value = dwData["WTBGARN12"].ToString();
            or1.Parameters.Add("WTBFDZ12", OracleType.NVarChar).Value = dwData["WTBFDZ12"].ToString();
            or1.Parameters.Add("WTBGARN13", OracleType.NVarChar).Value = dwData["WTBGARN13"].ToString();
            or1.Parameters.Add("WTBFDZ13", OracleType.NVarChar).Value = dwData["WTBFDZ13"].ToString();
            or1.Parameters.Add("WTBGARN14", OracleType.NVarChar).Value = dwData["WTBGARN14"].ToString();
            or1.Parameters.Add("WTBFDZ14", OracleType.NVarChar).Value = dwData["WTBFDZ14"].ToString();
            or1.Parameters.Add("WTBGARN15", OracleType.NVarChar).Value = dwData["WTBGARN15"].ToString();
            or1.Parameters.Add("WTBFDZ15", OracleType.NVarChar).Value = dwData["WTBFDZ15"].ToString();
            or1.Parameters.Add("WTBGARN16", OracleType.NVarChar).Value = dwData["WTBGARN16"].ToString();
            or1.Parameters.Add("WTBFDZ16", OracleType.NVarChar).Value = dwData["WTBFDZ16"].ToString();
            or1.Parameters.Add("WTBGARN17", OracleType.NVarChar).Value = dwData["WTBGARN17"].ToString();
            or1.Parameters.Add("WTBFDZ17", OracleType.NVarChar).Value = dwData["WTBFDZ17"].ToString();
            or1.Parameters.Add("WTBGARN18", OracleType.NVarChar).Value = dwData["WTBGARN18"].ToString();
            or1.Parameters.Add("WTBFDZ18", OracleType.NVarChar).Value = dwData["WTBFDZ18"].ToString();
            or1.Parameters.Add("WTBGARN19", OracleType.NVarChar).Value = dwData["WTBGARN19"].ToString();
            or1.Parameters.Add("WTBFDZ19", OracleType.NVarChar).Value = dwData["WTBFDZ19"].ToString();
            or1.Parameters.Add("WTBGARN20", OracleType.NVarChar).Value = dwData["WTBGARN20"].ToString();
            or1.Parameters.Add("WTBFDZ20", OracleType.NVarChar).Value = dwData["WTBFDZ20"].ToString();
            or1.Parameters.Add("WTBGARN21", OracleType.NVarChar).Value = dwData["WTBGARN21"].ToString();
            or1.Parameters.Add("WTBFDZ21", OracleType.NVarChar).Value = dwData["WTBFDZ21"].ToString();
            or1.Parameters.Add("WTBGARN22", OracleType.NVarChar).Value = dwData["WTBGARN22"].ToString();
            or1.Parameters.Add("WTBFDZ22", OracleType.NVarChar).Value = dwData["WTBFDZ22"].ToString();
            or1.Parameters.Add("WTBGARN23", OracleType.NVarChar).Value = dwData["WTBGARN23"].ToString();
            or1.Parameters.Add("WTBFDZ23", OracleType.NVarChar).Value = dwData["WTBFDZ23"].ToString();
            or1.Parameters.Add("WTBGARN24", OracleType.NVarChar).Value = dwData["WTBGARN24"].ToString();
            or1.Parameters.Add("WTBFDZ24", OracleType.NVarChar).Value = dwData["WTBFDZ24"].ToString();
            or1.Parameters.Add("WTBGARN25", OracleType.NVarChar).Value = dwData["WTBGARN25"].ToString();
            or1.Parameters.Add("WTBFDZ25", OracleType.NVarChar).Value = dwData["WTBFDZ25"].ToString();
            or1.Parameters.Add("WTBGARN26", OracleType.NVarChar).Value = dwData["WTBGARN26"].ToString();
            or1.Parameters.Add("WTBFDZ26", OracleType.NVarChar).Value = dwData["WTBFDZ26"].ToString();
            or1.Parameters.Add("WTBGARN27", OracleType.NVarChar).Value = dwData["WTBGARN27"].ToString();
            or1.Parameters.Add("WTBFDZ27", OracleType.NVarChar).Value = dwData["WTBFDZ27"].ToString();
            or1.Parameters.Add("WTBGARN28", OracleType.NVarChar).Value = dwData["WTBGARN28"].ToString();
            or1.Parameters.Add("WTBFNR42", OracleType.NVarChar).Value = dwData["WTBFNR42"].ToString();
            or1.Parameters.Add("WTBANZFAE42", OracleType.NVarChar).Value = dwData["WTBANZFAE42"].ToString();
            or1.Parameters.Add("WTBFNR43", OracleType.NVarChar).Value = dwData["WTBFNR43"].ToString();
            or1.Parameters.Add("WTBANZFAE43", OracleType.NVarChar).Value = dwData["WTBANZFAE43"].ToString();
            or1.Parameters.Add("WTBFNR44", OracleType.NVarChar).Value = dwData["WTBFNR44"].ToString();
            or1.Parameters.Add("WTBANZFAE44", OracleType.NVarChar).Value = dwData["WTBANZFAE44"].ToString();
            or1.Parameters.Add("WTBFNR45", OracleType.NVarChar).Value = dwData["WTBFNR45"].ToString();
            or1.Parameters.Add("WTBANZFAE45", OracleType.NVarChar).Value = dwData["WTBANZFAE45"].ToString();
            or1.Parameters.Add("WTBFNR46", OracleType.NVarChar).Value = dwData["WTBFNR46"].ToString();
            or1.Parameters.Add("WTBANZFAE46", OracleType.NVarChar).Value = dwData["WTBANZFAE46"].ToString();
            or1.Parameters.Add("WTBFNR47", OracleType.NVarChar).Value = dwData["WTBFNR47"].ToString();
            or1.Parameters.Add("WTBANZFAE47", OracleType.NVarChar).Value = dwData["WTBANZFAE47"].ToString();
            or1.Parameters.Add("WTBFNR48", OracleType.NVarChar).Value = dwData["WTBFNR48"].ToString();
            or1.Parameters.Add("WTBANZFAE48", OracleType.NVarChar).Value = dwData["WTBANZFAE48"].ToString();
            or1.Parameters.Add("WTBFNR49", OracleType.NVarChar).Value = dwData["WTBFNR49"].ToString();
            or1.Parameters.Add("WTBANZFAE49", OracleType.NVarChar).Value = dwData["WTBANZFAE49"].ToString();
            or1.Parameters.Add("WTBFNR50", OracleType.NVarChar).Value = dwData["WTBFNR50"].ToString();
            or1.Parameters.Add("WTBANZFAE50", OracleType.NVarChar).Value = dwData["WTBANZFAE50"].ToString();
            or1.Parameters.Add("WTBFNR51", OracleType.NVarChar).Value = dwData["WTBFNR51"].ToString();
            or1.Parameters.Add("WTBANZFAE51", OracleType.NVarChar).Value = dwData["WTBANZFAE51"].ToString();
            or1.Parameters.Add("WTBFNR52", OracleType.NVarChar).Value = dwData["WTBFNR52"].ToString();
            or1.Parameters.Add("WTBANZFAE52", OracleType.NVarChar).Value = dwData["WTBANZFAE52"].ToString();
            or1.Parameters.Add("WTBFNR53", OracleType.NVarChar).Value = dwData["WTBFNR53"].ToString();
            or1.Parameters.Add("WTBANZFAE53", OracleType.NVarChar).Value = dwData["WTBANZFAE53"].ToString();
            or1.Parameters.Add("WTBFNR54", OracleType.NVarChar).Value = dwData["WTBFNR54"].ToString();
            or1.Parameters.Add("WTBANZFAE54", OracleType.NVarChar).Value = dwData["WTBANZFAE54"].ToString();
            or1.Parameters.Add("WTBFNR55", OracleType.NVarChar).Value = dwData["WTBFNR55"].ToString();
            or1.Parameters.Add("WTBANZFAE55", OracleType.NVarChar).Value = dwData["WTBANZFAE55"].ToString();
            or1.Parameters.Add("WTBFNR56", OracleType.NVarChar).Value = dwData["WTBFNR56"].ToString();
            or1.Parameters.Add("WTBANZFAE56", OracleType.NVarChar).Value = dwData["WTBANZFAE56"].ToString();
            or1.Parameters.Add("WTBFNR57", OracleType.NVarChar).Value = dwData["WTBFNR57"].ToString();
            or1.Parameters.Add("WTBANZFAE57", OracleType.NVarChar).Value = dwData["WTBANZFAE57"].ToString();
            or1.Parameters.Add("WTBFNR58", OracleType.NVarChar).Value = dwData["WTBFNR58"].ToString();
            or1.Parameters.Add("WTBANZFAE58", OracleType.NVarChar).Value = dwData["WTBANZFAE58"].ToString();
            or1.Parameters.Add("WTBFNR59", OracleType.NVarChar).Value = dwData["WTBFNR59"].ToString();
            or1.Parameters.Add("WTBANZFAE59", OracleType.NVarChar).Value = dwData["WTBANZFAE59"].ToString();
            or1.Parameters.Add("WTBFNR60", OracleType.NVarChar).Value = dwData["WTBFNR60"].ToString();
            or1.Parameters.Add("WTBANZFAE60", OracleType.NVarChar).Value = dwData["WTBANZFAE60"].ToString();
            or1.Parameters.Add("WTBFNR23", OracleType.NVarChar).Value = dwData["WTBFNR23"].ToString();
            or1.Parameters.Add("WTBANZFAE23", OracleType.NVarChar).Value = dwData["WTBANZFAE23"].ToString();
            or1.Parameters.Add("WTBFNR24", OracleType.NVarChar).Value = dwData["WTBFNR24"].ToString();
            or1.Parameters.Add("WTBANZFAE24", OracleType.NVarChar).Value = dwData["WTBANZFAE24"].ToString();
            or1.Parameters.Add("WTBFNR25", OracleType.NVarChar).Value = dwData["WTBFNR25"].ToString();
            or1.Parameters.Add("WTBANZFAE25", OracleType.NVarChar).Value = dwData["WTBANZFAE25"].ToString();
            or1.Parameters.Add("WTBFNR26", OracleType.NVarChar).Value = dwData["WTBFNR26"].ToString();
            or1.Parameters.Add("WTBANZFAE26", OracleType.NVarChar).Value = dwData["WTBANZFAE26"].ToString();
            or1.Parameters.Add("WTBFNR27", OracleType.NVarChar).Value = dwData["WTBFNR27"].ToString();
            or1.Parameters.Add("WTBANZFAE27", OracleType.NVarChar).Value = dwData["WTBANZFAE27"].ToString();
            or1.Parameters.Add("WTBFNR28", OracleType.NVarChar).Value = dwData["WTBFNR28"].ToString();
            or1.Parameters.Add("WTBANZFAE28", OracleType.NVarChar).Value = dwData["WTBANZFAE28"].ToString();
            or1.Parameters.Add("WTBFNR29", OracleType.NVarChar).Value = dwData["WTBFNR29"].ToString();
            or1.Parameters.Add("WTBANZFAE29", OracleType.NVarChar).Value = dwData["WTBANZFAE29"].ToString();
            or1.Parameters.Add("WTBFNR30", OracleType.NVarChar).Value = dwData["WTBFNR30"].ToString();
            or1.Parameters.Add("WTBANZFAE30", OracleType.NVarChar).Value = dwData["WTBANZFAE30"].ToString();
            or1.Parameters.Add("WTBFNR31", OracleType.NVarChar).Value = dwData["WTBFNR31"].ToString();
            or1.Parameters.Add("WTBANZFAE31", OracleType.NVarChar).Value = dwData["WTBANZFAE31"].ToString();
            or1.Parameters.Add("WTBFNR32", OracleType.NVarChar).Value = dwData["WTBFNR32"].ToString();
            or1.Parameters.Add("WTBANZFAE32", OracleType.NVarChar).Value = dwData["WTBANZFAE32"].ToString();
            or1.Parameters.Add("WTBFNR33", OracleType.NVarChar).Value = dwData["WTBFNR33"].ToString();
            or1.Parameters.Add("WTBANZFAE33", OracleType.NVarChar).Value = dwData["WTBANZFAE33"].ToString();
            or1.Parameters.Add("WTBFNR34", OracleType.NVarChar).Value = dwData["WTBFNR34"].ToString();
            or1.Parameters.Add("WTBANZFAE34", OracleType.NVarChar).Value = dwData["WTBANZFAE34"].ToString();
            or1.Parameters.Add("WTBFNR35", OracleType.NVarChar).Value = dwData["WTBFNR35"].ToString();
            or1.Parameters.Add("WTBANZFAE35", OracleType.NVarChar).Value = dwData["WTBANZFAE35"].ToString();
            or1.Parameters.Add("WTBFNR36", OracleType.NVarChar).Value = dwData["WTBFNR36"].ToString();
            or1.Parameters.Add("WTBANZFAE36", OracleType.NVarChar).Value = dwData["WTBANZFAE36"].ToString();
            or1.Parameters.Add("WTBFNR37", OracleType.NVarChar).Value = dwData["WTBFNR37"].ToString();
            or1.Parameters.Add("WTBANZFAE37", OracleType.NVarChar).Value = dwData["WTBANZFAE37"].ToString();
            or1.Parameters.Add("WTBFNR38", OracleType.NVarChar).Value = dwData["WTBFNR38"].ToString();
            or1.Parameters.Add("WTBANZFAE38", OracleType.NVarChar).Value = dwData["WTBANZFAE38"].ToString();
            or1.Parameters.Add("WTBFNR39", OracleType.NVarChar).Value = dwData["WTBFNR39"].ToString();
            or1.Parameters.Add("WTBANZFAE39", OracleType.NVarChar).Value = dwData["WTBANZFAE39"].ToString();
            or1.Parameters.Add("WTBFNR40", OracleType.NVarChar).Value = dwData["WTBFNR40"].ToString();
            or1.Parameters.Add("WTBANZFAE40", OracleType.NVarChar).Value = dwData["WTBANZFAE40"].ToString();
            or1.Parameters.Add("WTBFNR41", OracleType.NVarChar).Value = dwData["WTBFNR41"].ToString();
            or1.Parameters.Add("WTBANZFAE41", OracleType.NVarChar).Value = dwData["WTBANZFAE41"].ToString();
            or1.Parameters.Add("WTBANZFAE80", OracleType.NVarChar).Value = dwData["WTBANZFAE80"].ToString();
            or1.Parameters.Add("WTBFNR81", OracleType.NVarChar).Value = dwData["WTBFNR81"].ToString();
            or1.Parameters.Add("WTBANZFAE81", OracleType.NVarChar).Value = dwData["WTBANZFAE81"].ToString();
            or1.Parameters.Add("WTBFNR82", OracleType.NVarChar).Value = dwData["WTBFNR82"].ToString();
            or1.Parameters.Add("WTBANZFAE82", OracleType.NVarChar).Value = dwData["WTBANZFAE82"].ToString();
            or1.Parameters.Add("WTBFNR83", OracleType.NVarChar).Value = dwData["WTBFNR83"].ToString();
            or1.Parameters.Add("WTBANZFAE83", OracleType.NVarChar).Value = dwData["WTBANZFAE83"].ToString();
            or1.Parameters.Add("WTBFNR84", OracleType.NVarChar).Value = dwData["WTBFNR84"].ToString();
            or1.Parameters.Add("WTBANZFAE84", OracleType.NVarChar).Value = dwData["WTBANZFAE84"].ToString();
            or1.Parameters.Add("WTBFNR85", OracleType.NVarChar).Value = dwData["WTBFNR85"].ToString();
            or1.Parameters.Add("WTBANZFAE85", OracleType.NVarChar).Value = dwData["WTBANZFAE85"].ToString();
            or1.Parameters.Add("WTBFNR86", OracleType.NVarChar).Value = dwData["WTBFNR86"].ToString();
            or1.Parameters.Add("WTBANZFAE86", OracleType.NVarChar).Value = dwData["WTBANZFAE86"].ToString();
            or1.Parameters.Add("WTBFNR87", OracleType.NVarChar).Value = dwData["WTBFNR87"].ToString();
            or1.Parameters.Add("WTBANZFAE87", OracleType.NVarChar).Value = dwData["WTBANZFAE87"].ToString();
            or1.Parameters.Add("WTBFNR88", OracleType.NVarChar).Value = dwData["WTBFNR88"].ToString();
            or1.Parameters.Add("WTBANZFAE88", OracleType.NVarChar).Value = dwData["WTBANZFAE88"].ToString();
            or1.Parameters.Add("WTBFNR89", OracleType.NVarChar).Value = dwData["WTBFNR89"].ToString();
            or1.Parameters.Add("WTBANZFAE89", OracleType.NVarChar).Value = dwData["WTBANZFAE89"].ToString();
            or1.Parameters.Add("WTBFNR90", OracleType.NVarChar).Value = dwData["WTBFNR90"].ToString();
            or1.Parameters.Add("WTBANZFAE90", OracleType.NVarChar).Value = dwData["WTBANZFAE90"].ToString();
            or1.Parameters.Add("WTBFNR91", OracleType.NVarChar).Value = dwData["WTBFNR91"].ToString();
            or1.Parameters.Add("WTBANZFAE91", OracleType.NVarChar).Value = dwData["WTBANZFAE91"].ToString();
            or1.Parameters.Add("WTBFNR92", OracleType.NVarChar).Value = dwData["WTBFNR92"].ToString();
            or1.Parameters.Add("WTBANZFAE92", OracleType.NVarChar).Value = dwData["WTBANZFAE92"].ToString();
            or1.Parameters.Add("WTBFNR93", OracleType.NVarChar).Value = dwData["WTBFNR93"].ToString();
            or1.Parameters.Add("WTBANZFAE93", OracleType.NVarChar).Value = dwData["WTBANZFAE93"].ToString();
            or1.Parameters.Add("WTBFNR94", OracleType.NVarChar).Value = dwData["WTBFNR94"].ToString();
            or1.Parameters.Add("WTBANZFAE94", OracleType.NVarChar).Value = dwData["WTBANZFAE94"].ToString();
            or1.Parameters.Add("WTBFNR95", OracleType.NVarChar).Value = dwData["WTBFNR95"].ToString();
            or1.Parameters.Add("WTBANZFAE95", OracleType.NVarChar).Value = dwData["WTBANZFAE95"].ToString();
            or1.Parameters.Add("WTBFNR96", OracleType.NVarChar).Value = dwData["WTBFNR96"].ToString();
            or1.Parameters.Add("WTBANZFAE96", OracleType.NVarChar).Value = dwData["WTBANZFAE96"].ToString();
            or1.Parameters.Add("WTBFNR97", OracleType.NVarChar).Value = dwData["WTBFNR97"].ToString();
            or1.Parameters.Add("WTBANZFAE97", OracleType.NVarChar).Value = dwData["WTBANZFAE97"].ToString();
            or1.Parameters.Add("WTBFNR98", OracleType.NVarChar).Value = dwData["WTBFNR98"].ToString();
            or1.Parameters.Add("WTBANZFAE98", OracleType.NVarChar).Value = dwData["WTBANZFAE98"].ToString();
            or1.Parameters.Add("WTBFNR99", OracleType.NVarChar).Value = dwData["WTBFNR99"].ToString();
            or1.Parameters.Add("WTBANZFAE99", OracleType.NVarChar).Value = dwData["WTBANZFAE99"].ToString();
            or1.Parameters.Add("WTBFNR4", OracleType.NVarChar).Value = dwData["WTBFNR4"].ToString();
            or1.Parameters.Add("WTBANZFAE4", OracleType.NVarChar).Value = dwData["WTBANZFAE4"].ToString();
            or1.Parameters.Add("WTBFNR5", OracleType.NVarChar).Value = dwData["WTBFNR5"].ToString();
            or1.Parameters.Add("WTBANZFAE5", OracleType.NVarChar).Value = dwData["WTBANZFAE5"].ToString();
            or1.Parameters.Add("WTBFNR6", OracleType.NVarChar).Value = dwData["WTBFNR6"].ToString();
            or1.Parameters.Add("WTBANZFAE6", OracleType.NVarChar).Value = dwData["WTBANZFAE6"].ToString();
            or1.Parameters.Add("WTBFNR7", OracleType.NVarChar).Value = dwData["WTBFNR7"].ToString();
            or1.Parameters.Add("WTBANZFAE7", OracleType.NVarChar).Value = dwData["WTBANZFAE7"].ToString();
            or1.Parameters.Add("WTBFNR8", OracleType.NVarChar).Value = dwData["WTBFNR8"].ToString();
            or1.Parameters.Add("WTBANZFAE8", OracleType.NVarChar).Value = dwData["WTBANZFAE8"].ToString();
            or1.Parameters.Add("WTBFNR9", OracleType.NVarChar).Value = dwData["WTBFNR9"].ToString();
            or1.Parameters.Add("WTBANZFAE9", OracleType.NVarChar).Value = dwData["WTBANZFAE9"].ToString();
            or1.Parameters.Add("WTBFNR10", OracleType.NVarChar).Value = dwData["WTBFNR10"].ToString();
            or1.Parameters.Add("WTBANZFAE10", OracleType.NVarChar).Value = dwData["WTBANZFAE10"].ToString();
            or1.Parameters.Add("WTBFNR11", OracleType.NVarChar).Value = dwData["WTBFNR11"].ToString();
            or1.Parameters.Add("WTBANZFAE11", OracleType.NVarChar).Value = dwData["WTBANZFAE11"].ToString();
            or1.Parameters.Add("WTBFNR12", OracleType.NVarChar).Value = dwData["WTBFNR12"].ToString();
            or1.Parameters.Add("WTBANZFAE12", OracleType.NVarChar).Value = dwData["WTBANZFAE12"].ToString();
            or1.Parameters.Add("WTBFNR13", OracleType.NVarChar).Value = dwData["WTBFNR13"].ToString();
            or1.Parameters.Add("WTBANZFAE13", OracleType.NVarChar).Value = dwData["WTBANZFAE13"].ToString();
            or1.Parameters.Add("WTBFNR14", OracleType.NVarChar).Value = dwData["WTBFNR14"].ToString();
            or1.Parameters.Add("WTBANZFAE14", OracleType.NVarChar).Value = dwData["WTBANZFAE14"].ToString();
            or1.Parameters.Add("WTBFNR15", OracleType.NVarChar).Value = dwData["WTBFNR15"].ToString();
            or1.Parameters.Add("WTBANZFAE15", OracleType.NVarChar).Value = dwData["WTBANZFAE15"].ToString();
            or1.Parameters.Add("WTBFNR16", OracleType.NVarChar).Value = dwData["WTBFNR16"].ToString();
            or1.Parameters.Add("WTBANZFAE16", OracleType.NVarChar).Value = dwData["WTBANZFAE16"].ToString();
            or1.Parameters.Add("WTBFNR17", OracleType.NVarChar).Value = dwData["WTBFNR17"].ToString();
            or1.Parameters.Add("WTBANZFAE17", OracleType.NVarChar).Value = dwData["WTBANZFAE17"].ToString();
            or1.Parameters.Add("WTBFNR18", OracleType.NVarChar).Value = dwData["WTBFNR18"].ToString();
            or1.Parameters.Add("WTBANZFAE18", OracleType.NVarChar).Value = dwData["WTBANZFAE18"].ToString();
            or1.Parameters.Add("WTBFNR19", OracleType.NVarChar).Value = dwData["WTBFNR19"].ToString();
            or1.Parameters.Add("WTBANZFAE19", OracleType.NVarChar).Value = dwData["WTBANZFAE19"].ToString();
            or1.Parameters.Add("WTBFNR20", OracleType.NVarChar).Value = dwData["WTBFNR20"].ToString();
            or1.Parameters.Add("WTBANZFAE20", OracleType.NVarChar).Value = dwData["WTBANZFAE20"].ToString();
            or1.Parameters.Add("WTBFNR21", OracleType.NVarChar).Value = dwData["WTBFNR21"].ToString();
            or1.Parameters.Add("WTBANZFAE21", OracleType.NVarChar).Value = dwData["WTBANZFAE21"].ToString();
            or1.Parameters.Add("WTBFNR22", OracleType.NVarChar).Value = dwData["WTBFNR22"].ToString();
            or1.Parameters.Add("WTBANZFAE22", OracleType.NVarChar).Value = dwData["WTBANZFAE22"].ToString();
            or1.Parameters.Add("WTBFDZ28", OracleType.NVarChar).Value = dwData["WTBFDZ28"].ToString();
            or1.Parameters.Add("WTBGARN29", OracleType.NVarChar).Value = dwData["WTBGARN29"].ToString();
            or1.Parameters.Add("WTBFDZ29", OracleType.NVarChar).Value = dwData["WTBFDZ29"].ToString();
            or1.Parameters.Add("WTBGARN30", OracleType.NVarChar).Value = dwData["WTBGARN30"].ToString();
            or1.Parameters.Add("WTBFDZ30", OracleType.NVarChar).Value = dwData["WTBFDZ30"].ToString();
            or1.Parameters.Add("WTBGARN31", OracleType.NVarChar).Value = dwData["WTBGARN31"].ToString();
            or1.Parameters.Add("WTBFDZ31", OracleType.NVarChar).Value = dwData["WTBFDZ31"].ToString();
            or1.Parameters.Add("WTBGARN32", OracleType.NVarChar).Value = dwData["WTBGARN32"].ToString();
            or1.Parameters.Add("WTBFDZ32", OracleType.NVarChar).Value = dwData["WTBFDZ32"].ToString();
            or1.Parameters.Add("WTBGARN33", OracleType.NVarChar).Value = dwData["WTBGARN33"].ToString();
            or1.Parameters.Add("WTBFDZ33", OracleType.NVarChar).Value = dwData["WTBFDZ33"].ToString();
            or1.Parameters.Add("WTBGARN34", OracleType.NVarChar).Value = dwData["WTBGARN34"].ToString();
            or1.Parameters.Add("WTBFDZ34", OracleType.NVarChar).Value = dwData["WTBFDZ34"].ToString();
            or1.Parameters.Add("WTBGARN35", OracleType.NVarChar).Value = dwData["WTBGARN35"].ToString();
            or1.Parameters.Add("WTBFDZ35", OracleType.NVarChar).Value = dwData["WTBFDZ35"].ToString();
            or1.Parameters.Add("WTBGARN36", OracleType.NVarChar).Value = dwData["WTBGARN36"].ToString();
            or1.Parameters.Add("WTBFDZ36", OracleType.NVarChar).Value = dwData["WTBFDZ36"].ToString();
            or1.Parameters.Add("WTBGARN37", OracleType.NVarChar).Value = dwData["WTBGARN37"].ToString();
            or1.Parameters.Add("WTBFDZ37", OracleType.NVarChar).Value = dwData["WTBFDZ37"].ToString();
            or1.Parameters.Add("WTBGARN38", OracleType.NVarChar).Value = dwData["WTBGARN38"].ToString();
            or1.Parameters.Add("WTBFDZ38", OracleType.NVarChar).Value = dwData["WTBFDZ38"].ToString();
            or1.Parameters.Add("WTBGARN39", OracleType.NVarChar).Value = dwData["WTBGARN39"].ToString();
            or1.Parameters.Add("WTBFDZ39", OracleType.NVarChar).Value = dwData["WTBFDZ39"].ToString();
            or1.Parameters.Add("WTBGARN40", OracleType.NVarChar).Value = dwData["WTBGARN40"].ToString();
            or1.Parameters.Add("WTBFDZ40", OracleType.NVarChar).Value = dwData["WTBFDZ40"].ToString();
            or1.Parameters.Add("WTBGARN41", OracleType.NVarChar).Value = dwData["WTBGARN41"].ToString();
            or1.Parameters.Add("WTBFDZ41", OracleType.NVarChar).Value = dwData["WTBFDZ41"].ToString();
            or1.Parameters.Add("WTBGARN42", OracleType.NVarChar).Value = dwData["WTBGARN42"].ToString();
            or1.Parameters.Add("WTBFDZ42", OracleType.NVarChar).Value = dwData["WTBFDZ42"].ToString();
            or1.Parameters.Add("WTBGARN43", OracleType.NVarChar).Value = dwData["WTBGARN43"].ToString();
            or1.Parameters.Add("WTBFDZ43", OracleType.NVarChar).Value = dwData["WTBFDZ43"].ToString();
            or1.Parameters.Add("WTBGARN44", OracleType.NVarChar).Value = dwData["WTBGARN44"].ToString();
            or1.Parameters.Add("WTBFDZ44", OracleType.NVarChar).Value = dwData["WTBFDZ44"].ToString();
            or1.Parameters.Add("WTBGARN45", OracleType.NVarChar).Value = dwData["WTBGARN45"].ToString();
            or1.Parameters.Add("WTBFDZ45", OracleType.NVarChar).Value = dwData["WTBFDZ45"].ToString();
            or1.Parameters.Add("WTBGARN46", OracleType.NVarChar).Value = dwData["WTBGARN46"].ToString();
            or1.Parameters.Add("WTBFDZ46", OracleType.NVarChar).Value = dwData["WTBFDZ46"].ToString();
            or1.Parameters.Add("WTBGARN47", OracleType.NVarChar).Value = dwData["WTBGARN47"].ToString();
            or1.Parameters.Add("WTBFDZ47", OracleType.NVarChar).Value = dwData["WTBFDZ47"].ToString();
            or1.Parameters.Add("WTBGARN48", OracleType.NVarChar).Value = dwData["WTBGARN48"].ToString();
            or1.Parameters.Add("WTBFDZ48", OracleType.NVarChar).Value = dwData["WTBFDZ48"].ToString();
            or1.Parameters.Add("WTBGARN49", OracleType.NVarChar).Value = dwData["WTBGARN49"].ToString();
            or1.Parameters.Add("WTBFDZ49", OracleType.NVarChar).Value = dwData["WTBFDZ49"].ToString();
            or1.Parameters.Add("WTBGARN50", OracleType.NVarChar).Value = dwData["WTBGARN50"].ToString();
            or1.Parameters.Add("WTBFDZ50", OracleType.NVarChar).Value = dwData["WTBFDZ50"].ToString();
            or1.Parameters.Add("WTBGARN51", OracleType.NVarChar).Value = dwData["WTBGARN51"].ToString();
            or1.Parameters.Add("WTBFDZ51", OracleType.NVarChar).Value = dwData["WTBFDZ51"].ToString();
            or1.Parameters.Add("WTBGARN52", OracleType.NVarChar).Value = dwData["WTBGARN52"].ToString();
            or1.Parameters.Add("WTBFDZ52", OracleType.NVarChar).Value = dwData["WTBFDZ52"].ToString();
            or1.Parameters.Add("WTBGARN53", OracleType.NVarChar).Value = dwData["WTBGARN53"].ToString();
            or1.Parameters.Add("WTBFDZ53", OracleType.NVarChar).Value = dwData["WTBFDZ53"].ToString();
            or1.Parameters.Add("WTBGARN54", OracleType.NVarChar).Value = dwData["WTBGARN54"].ToString();
            or1.Parameters.Add("WTBFDZ54", OracleType.NVarChar).Value = dwData["WTBFDZ54"].ToString();
            or1.Parameters.Add("WTBGARN55", OracleType.NVarChar).Value = dwData["WTBGARN55"].ToString();
            or1.Parameters.Add("WTBFDZ55", OracleType.NVarChar).Value = dwData["WTBFDZ55"].ToString();
            or1.Parameters.Add("WTBGARN56", OracleType.NVarChar).Value = dwData["WTBGARN56"].ToString();
            or1.Parameters.Add("WTBFDZ56", OracleType.NVarChar).Value = dwData["WTBFDZ56"].ToString();
            or1.Parameters.Add("WTBGARN57", OracleType.NVarChar).Value = dwData["WTBGARN57"].ToString();
            or1.Parameters.Add("WTBFDZ57", OracleType.NVarChar).Value = dwData["WTBFDZ57"].ToString();
            or1.Parameters.Add("WTBGARN58", OracleType.NVarChar).Value = dwData["WTBGARN58"].ToString();
            or1.Parameters.Add("WTBFDZ58", OracleType.NVarChar).Value = dwData["WTBFDZ58"].ToString();
            or1.Parameters.Add("WTBGARN59", OracleType.NVarChar).Value = dwData["WTBGARN59"].ToString();
            or1.Parameters.Add("WTBFDZ59", OracleType.NVarChar).Value = dwData["WTBFDZ59"].ToString();
            or1.Parameters.Add("WTBGARN60", OracleType.NVarChar).Value = dwData["WTBGARN60"].ToString();
            or1.Parameters.Add("WTBFDZ60", OracleType.NVarChar).Value = dwData["WTBFDZ60"].ToString();
            or1.Parameters.Add("WTBGARN61", OracleType.NVarChar).Value = dwData["WTBGARN61"].ToString();
            or1.Parameters.Add("WTBFDZ61", OracleType.NVarChar).Value = dwData["WTBFDZ61"].ToString();
            or1.Parameters.Add("WTBGARN62", OracleType.NVarChar).Value = dwData["WTBGARN62"].ToString();
            or1.Parameters.Add("WTBFDZ62", OracleType.NVarChar).Value = dwData["WTBFDZ62"].ToString();
            or1.Parameters.Add("WTBGARN63", OracleType.NVarChar).Value = dwData["WTBGARN63"].ToString();
            or1.Parameters.Add("WTBFDZ63", OracleType.NVarChar).Value = dwData["WTBFDZ63"].ToString();
            or1.Parameters.Add("WTBGARN64", OracleType.NVarChar).Value = dwData["WTBGARN64"].ToString();
            or1.Parameters.Add("WTBFDZ64", OracleType.NVarChar).Value = dwData["WTBFDZ64"].ToString();
            or1.Parameters.Add("WTBGARN65", OracleType.NVarChar).Value = dwData["WTBGARN65"].ToString();
            or1.Parameters.Add("WTBFDZ65", OracleType.NVarChar).Value = dwData["WTBFDZ65"].ToString();
            or1.Parameters.Add("WTBGARN66", OracleType.NVarChar).Value = dwData["WTBGARN66"].ToString();
            or1.Parameters.Add("WTBFDZ66", OracleType.NVarChar).Value = dwData["WTBFDZ66"].ToString();
            or1.Parameters.Add("WTBGARN67", OracleType.NVarChar).Value = dwData["WTBGARN67"].ToString();
            or1.Parameters.Add("WTBFDZ67", OracleType.NVarChar).Value = dwData["WTBFDZ67"].ToString();
            or1.Parameters.Add("WTBGARN68", OracleType.NVarChar).Value = dwData["WTBGARN68"].ToString();
            or1.Parameters.Add("WTBFDZ68", OracleType.NVarChar).Value = dwData["WTBFDZ68"].ToString();
            or1.Parameters.Add("WTBGARN69", OracleType.NVarChar).Value = dwData["WTBGARN69"].ToString();
            or1.Parameters.Add("WTBFDZ69", OracleType.NVarChar).Value = dwData["WTBFDZ69"].ToString();
            or1.Parameters.Add("WTBGARN70", OracleType.NVarChar).Value = dwData["WTBGARN70"].ToString();
            or1.Parameters.Add("WTBFDZ70", OracleType.NVarChar).Value = dwData["WTBFDZ70"].ToString();
            or1.Parameters.Add("WTBGARN71", OracleType.NVarChar).Value = dwData["WTBGARN71"].ToString();
            or1.Parameters.Add("WTBFDZ71", OracleType.NVarChar).Value = dwData["WTBFDZ71"].ToString();
            or1.Parameters.Add("WTBGARN72", OracleType.NVarChar).Value = dwData["WTBGARN72"].ToString();
            or1.Parameters.Add("WTBFDZ72", OracleType.NVarChar).Value = dwData["WTBFDZ72"].ToString();
            or1.Parameters.Add("WTBGARN73", OracleType.NVarChar).Value = dwData["WTBGARN73"].ToString();
            or1.Parameters.Add("WTBFDZ73", OracleType.NVarChar).Value = dwData["WTBFDZ73"].ToString();
            or1.Parameters.Add("WTBGARN74", OracleType.NVarChar).Value = dwData["WTBGARN74"].ToString();
            or1.Parameters.Add("WTBFDZ74", OracleType.NVarChar).Value = dwData["WTBFDZ74"].ToString();
            or1.Parameters.Add("WTBGARN75", OracleType.NVarChar).Value = dwData["WTBGARN75"].ToString();
            or1.Parameters.Add("WTBFDZ75", OracleType.NVarChar).Value = dwData["WTBFDZ75"].ToString();
            or1.Parameters.Add("WTBGARN76", OracleType.NVarChar).Value = dwData["WTBGARN76"].ToString();
            or1.Parameters.Add("WTBFDZ76", OracleType.NVarChar).Value = dwData["WTBFDZ76"].ToString();
            or1.Parameters.Add("WTBGARN77", OracleType.NVarChar).Value = dwData["WTBGARN77"].ToString();
            or1.Parameters.Add("WTBFDZ77", OracleType.NVarChar).Value = dwData["WTBFDZ77"].ToString();
            or1.Parameters.Add("WTBGARN78", OracleType.NVarChar).Value = dwData["WTBGARN78"].ToString();
            or1.Parameters.Add("WTBFDZ78", OracleType.NVarChar).Value = dwData["WTBFDZ78"].ToString();
            or1.Parameters.Add("WTBGARN79", OracleType.NVarChar).Value = dwData["WTBGARN79"].ToString();
            or1.Parameters.Add("WTBFDZ79", OracleType.NVarChar).Value = dwData["WTBFDZ79"].ToString();
            or1.Parameters.Add("WTBGARN80", OracleType.NVarChar).Value = dwData["WTBGARN80"].ToString();
            or1.Parameters.Add("WTBFDZ80", OracleType.NVarChar).Value = dwData["WTBFDZ80"].ToString();
            or1.Parameters.Add("WTBFNR1", OracleType.NVarChar).Value = dwData["WTBFNR1"].ToString();
            or1.Parameters.Add("WTBANZFAE1", OracleType.NVarChar).Value = dwData["WTBANZFAE1"].ToString();
            or1.Parameters.Add("WTBFNR2", OracleType.NVarChar).Value = dwData["WTBFNR2"].ToString();
            or1.Parameters.Add("WTBANZFAE2", OracleType.NVarChar).Value = dwData["WTBANZFAE2"].ToString();
            or1.Parameters.Add("WTBFNR3", OracleType.NVarChar).Value = dwData["WTBFNR3"].ToString();
            or1.Parameters.Add("WTBANZFAE3", OracleType.NVarChar).Value = dwData["WTBANZFAE3"].ToString();
            or1.Parameters.Add("WTBFNR61", OracleType.NVarChar).Value = dwData["WTBFNR61"].ToString();
            or1.Parameters.Add("WTBANZFAE61", OracleType.NVarChar).Value = dwData["WTBANZFAE61"].ToString();
            or1.Parameters.Add("WTBFNR62", OracleType.NVarChar).Value = dwData["WTBFNR62"].ToString();
            or1.Parameters.Add("WTBANZFAE62", OracleType.NVarChar).Value = dwData["WTBANZFAE62"].ToString();
            or1.Parameters.Add("WTBFNR63", OracleType.NVarChar).Value = dwData["WTBFNR63"].ToString();
            or1.Parameters.Add("WTBANZFAE63", OracleType.NVarChar).Value = dwData["WTBANZFAE63"].ToString();
            or1.Parameters.Add("WTBFNR64", OracleType.NVarChar).Value = dwData["WTBFNR64"].ToString();
            or1.Parameters.Add("WTBANZFAE64", OracleType.NVarChar).Value = dwData["WTBANZFAE64"].ToString();
            or1.Parameters.Add("WTBFNR65", OracleType.NVarChar).Value = dwData["WTBFNR65"].ToString();
            or1.Parameters.Add("WTBANZFAE65", OracleType.NVarChar).Value = dwData["WTBANZFAE65"].ToString();
            or1.Parameters.Add("WTBFNR66", OracleType.NVarChar).Value = dwData["WTBFNR66"].ToString();
            or1.Parameters.Add("WTBANZFAE66", OracleType.NVarChar).Value = dwData["WTBANZFAE66"].ToString();
            or1.Parameters.Add("WTBFNR67", OracleType.NVarChar).Value = dwData["WTBFNR67"].ToString();
            or1.Parameters.Add("WTBANZFAE67", OracleType.NVarChar).Value = dwData["WTBANZFAE67"].ToString();
            or1.Parameters.Add("WTBFNR68", OracleType.NVarChar).Value = dwData["WTBFNR68"].ToString();
            or1.Parameters.Add("WTBANZFAE68", OracleType.NVarChar).Value = dwData["WTBANZFAE68"].ToString();
            or1.Parameters.Add("WTBFNR69", OracleType.NVarChar).Value = dwData["WTBFNR69"].ToString();
            or1.Parameters.Add("WTBANZFAE69", OracleType.NVarChar).Value = dwData["WTBANZFAE69"].ToString();
            or1.Parameters.Add("WTBFNR70", OracleType.NVarChar).Value = dwData["WTBFNR70"].ToString();
            or1.Parameters.Add("WTBANZFAE70", OracleType.NVarChar).Value = dwData["WTBANZFAE70"].ToString();
            or1.Parameters.Add("WTBFNR71", OracleType.NVarChar).Value = dwData["WTBFNR71"].ToString();
            or1.Parameters.Add("WTBANZFAE71", OracleType.NVarChar).Value = dwData["WTBANZFAE71"].ToString();
            or1.Parameters.Add("WTBFNR72", OracleType.NVarChar).Value = dwData["WTBFNR72"].ToString();
            or1.Parameters.Add("WTBANZFAE72", OracleType.NVarChar).Value = dwData["WTBANZFAE72"].ToString();
            or1.Parameters.Add("WTBFNR73", OracleType.NVarChar).Value = dwData["WTBFNR73"].ToString();
            or1.Parameters.Add("WTBANZFAE73", OracleType.NVarChar).Value = dwData["WTBANZFAE73"].ToString();
            or1.Parameters.Add("WTBFNR74", OracleType.NVarChar).Value = dwData["WTBFNR74"].ToString();
            or1.Parameters.Add("WTBANZFAE74", OracleType.NVarChar).Value = dwData["WTBANZFAE74"].ToString();
            or1.Parameters.Add("WTBFNR75", OracleType.NVarChar).Value = dwData["WTBFNR75"].ToString();
            or1.Parameters.Add("WTBANZFAE75", OracleType.NVarChar).Value = dwData["WTBANZFAE75"].ToString();
            or1.Parameters.Add("WTBFNR76", OracleType.NVarChar).Value = dwData["WTBFNR76"].ToString();
            or1.Parameters.Add("WTBANZFAE76", OracleType.NVarChar).Value = dwData["WTBANZFAE76"].ToString();
            or1.Parameters.Add("WTBFNR77", OracleType.NVarChar).Value = dwData["WTBFNR77"].ToString();
            or1.Parameters.Add("WTBANZFAE77", OracleType.NVarChar).Value = dwData["WTBANZFAE77"].ToString();
            or1.Parameters.Add("WTBFNR78", OracleType.NVarChar).Value = dwData["WTBFNR78"].ToString();
            or1.Parameters.Add("WTBANZFAE78", OracleType.NVarChar).Value = dwData["WTBANZFAE78"].ToString();
            or1.Parameters.Add("WTBFNR79", OracleType.NVarChar).Value = dwData["WTBFNR79"].ToString();
            or1.Parameters.Add("WTBANZFAE79", OracleType.NVarChar).Value = dwData["WTBANZFAE79"].ToString();
            or1.Parameters.Add("WTBFNR80", OracleType.NVarChar).Value = dwData["WTBFNR80"].ToString();
            #endregion
            Connect2Proxy(or1);
        }
        public void UpdateWTGEW(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WTGEW SET "
            + "WTGMANDANT=:WTGMANDANT,"
            + "WTGKUNDNR=:WTGKUNDNR,"
            + "WTGWERK=:WTGWERK,"
            + "WTGABT=:WTGABT,"
            + "WTGART=:WTGART,"
            + "WTGVAR=:WTGVAR,"
            + "WTGAENZL=:WTGAENZL,"
            + "WTGAENB=:WTGAENB,"
            + "WTGAEND=:WTGAEND,"
            + "WTGNEUB=:WTGNEUB,"
            + "WTGNEUD=:WTGNEUD,"
            + "WTGWBBRT=:WTGWBBRT,"
            + "WTGWBF=:WTGWBF,"
            + "WTGFDISM=:WTGFDISM,"
            + "WTGFDLGS=:WTGFDLGS,"
            + "WTGFDLFS=:WTGFDLFS,"
            + "WTGSFLG=:WTGSFLG,"
            + "WTGKCOL=:WTGKCOL,"
            + "WTGSMTRS=:WTGSMTRS,"
            + "WTGREAPPI=:WTGREAPPI,"
            + "WTGRNAME=:WTGRNAME,"
            + "WTGCHORE=:WTGCHORE,"
            + "WTGRDENS=:WTGRDENS,"
            + "WTGRDENSTM=:WTGRDENSTM,"
            + "WTGRDENSTP=:WTGRDENSTP,"
            + "WTGKARTEN=:WTGKARTEN,"
            + "WTGPLATINEN=:WTGPLATINEN,"
            + "WTGNOPPEN=:WTGNOPPEN,"
            + "WTGANZRAPP=:WTGANZRAPP,"
            + "WTGRWRAPH=:WTGRWRAPH,"
            + "WTGRWRAPB=:WTGRWRAPB,"
            + "WTGRWRAPHFD=:WTGRWRAPHFD,"
            + "WTGRWRAPBFD=:WTGRWRAPBFD,"
            + "WTGPANELS=:WTGPANELS,"
            + "WTGSHEDS=:WTGSHEDS,"
            + "WTGNFLRH=:WTGNFLRH,"
            + "WTGNFLRA=:WTGNFLRA,"
            + "WTGNFTOLM=:WTGNFTOLM,"
            + "WTGNFTOLP=:WTGNFTOLP,"
            + "WTGMFLRH=:WTGMFLRH,"
            + "WTGMFLRA=:WTGMFLRA,"
            + "WTGMFTOLM=:WTGMFTOLM,"
            + "WTGMFTOLP=:WTGMFTOLP,"
            + "WTGHFLRH=:WTGHFLRH,"
            + "WTGHFLRA=:WTGHFLRA,"
            + "WTGHFTOLM=:WTGHFTOLM,"
            + "WTGHFTOLP=:WTGHFTOLP,"
            + "WTGFILLER=:WTGFILLER "
                + " WHERE  "
                + "  WTGMANDANT=:WTGMANDANT AND WTGART=:WTGART  AND WTGVAR=:WTGVAR ";
            or1.Parameters.Add("WTGMANDANT", OracleType.NVarChar).Value = dwData["WTGMANDANT"].ToString();
            or1.Parameters.Add("WTGKUNDNR", OracleType.NVarChar).Value = dwData["WTGKUNDNR"].ToString();
            or1.Parameters.Add("WTGWERK", OracleType.NVarChar).Value = dwData["WTGWERK"].ToString();
            or1.Parameters.Add("WTGABT", OracleType.NVarChar).Value = dwData["WTGABT"].ToString();
            or1.Parameters.Add("WTGART", OracleType.NVarChar).Value = dwData["WTGART"].ToString();
            or1.Parameters.Add("WTGVAR", OracleType.NVarChar).Value = dwData["WTGVAR"].ToString();
            or1.Parameters.Add("WTGAENZL", OracleType.NVarChar).Value = dwData["WTGAENZL"].ToString();
            or1.Parameters.Add("WTGAENB", OracleType.NVarChar).Value = dwData["WTGAENB"].ToString();
            or1.Parameters.Add("WTGAEND", OracleType.NVarChar).Value = dwData["WTGAEND"].ToString();
            or1.Parameters.Add("WTGNEUB", OracleType.NVarChar).Value = dwData["WTGNEUB"].ToString();
            or1.Parameters.Add("WTGNEUD", OracleType.NVarChar).Value = dwData["WTGNEUD"].ToString();
            or1.Parameters.Add("WTGWBBRT", OracleType.NVarChar).Value = dwData["WTGWBBRT"].ToString();
            or1.Parameters.Add("WTGWBF", OracleType.NVarChar).Value = dwData["WTGWBF"].ToString();
            or1.Parameters.Add("WTGFDISM", OracleType.NVarChar).Value = dwData["WTGFDISM"].ToString();
            or1.Parameters.Add("WTGFDLGS", OracleType.NVarChar).Value = dwData["WTGFDLGS"].ToString();
            or1.Parameters.Add("WTGFDLFS", OracleType.NVarChar).Value = dwData["WTGFDLFS"].ToString();
            or1.Parameters.Add("WTGSFLG", OracleType.NVarChar).Value = dwData["WTGSFLG"].ToString();
            or1.Parameters.Add("WTGKCOL", OracleType.NVarChar).Value = dwData["WTGKCOL"].ToString();
            or1.Parameters.Add("WTGSMTRS", OracleType.NVarChar).Value = dwData["WTGSMTRS"].ToString();
            or1.Parameters.Add("WTGREAPPI", OracleType.NVarChar).Value = dwData["WTGREAPPI"].ToString();
            or1.Parameters.Add("WTGRNAME", OracleType.NVarChar).Value = dwData["WTGRNAME"].ToString();
            or1.Parameters.Add("WTGCHORE", OracleType.NVarChar).Value = dwData["WTGCHORE"].ToString();
            or1.Parameters.Add("WTGRDENS", OracleType.NVarChar).Value = dwData["WTGRDENS"].ToString();
            or1.Parameters.Add("WTGRDENSTM", OracleType.NVarChar).Value = dwData["WTGRDENSTM"].ToString();
            or1.Parameters.Add("WTGRDENSTP", OracleType.NVarChar).Value = dwData["WTGRDENSTP"].ToString();
            or1.Parameters.Add("WTGKARTEN", OracleType.NVarChar).Value = dwData["WTGKARTEN"].ToString();
            or1.Parameters.Add("WTGPLATINEN", OracleType.NVarChar).Value = dwData["WTGPLATINEN"].ToString();
            or1.Parameters.Add("WTGNOPPEN", OracleType.NVarChar).Value = dwData["WTGNOPPEN"].ToString();
            or1.Parameters.Add("WTGANZRAPP", OracleType.NVarChar).Value = dwData["WTGANZRAPP"].ToString();
            or1.Parameters.Add("WTGRWRAPH", OracleType.NVarChar).Value = dwData["WTGRWRAPH"].ToString();
            or1.Parameters.Add("WTGRWRAPB", OracleType.NVarChar).Value = dwData["WTGRWRAPB"].ToString();
            or1.Parameters.Add("WTGRWRAPHFD", OracleType.NVarChar).Value = dwData["WTGRWRAPHFD"].ToString();
            or1.Parameters.Add("WTGRWRAPBFD", OracleType.NVarChar).Value = dwData["WTGRWRAPBFD"].ToString();
            or1.Parameters.Add("WTGPANELS", OracleType.NVarChar).Value = dwData["WTGPANELS"].ToString();
            or1.Parameters.Add("WTGSHEDS", OracleType.NVarChar).Value = dwData["WTGSHEDS"].ToString();
            or1.Parameters.Add("WTGNFLRH", OracleType.NVarChar).Value = dwData["WTGNFLRH"].ToString();
            or1.Parameters.Add("WTGNFLRA", OracleType.NVarChar).Value = dwData["WTGNFLRA"].ToString();
            or1.Parameters.Add("WTGNFTOLM", OracleType.NVarChar).Value = dwData["WTGNFTOLM"].ToString();
            or1.Parameters.Add("WTGNFTOLP", OracleType.NVarChar).Value = dwData["WTGNFTOLP"].ToString();
            or1.Parameters.Add("WTGMFLRH", OracleType.NVarChar).Value = dwData["WTGMFLRH"].ToString();
            or1.Parameters.Add("WTGMFLRA", OracleType.NVarChar).Value = dwData["WTGMFLRA"].ToString();
            or1.Parameters.Add("WTGMFTOLM", OracleType.NVarChar).Value = dwData["WTGMFTOLM"].ToString();
            or1.Parameters.Add("WTGMFTOLP", OracleType.NVarChar).Value = dwData["WTGMFTOLP"].ToString();
            or1.Parameters.Add("WTGHFLRH", OracleType.NVarChar).Value = dwData["WTGHFLRH"].ToString();
            or1.Parameters.Add("WTGHFLRA", OracleType.NVarChar).Value = dwData["WTGHFLRA"].ToString();
            or1.Parameters.Add("WTGHFTOLM", OracleType.NVarChar).Value = dwData["WTGHFTOLM"].ToString();
            or1.Parameters.Add("WTGHFTOLP", OracleType.NVarChar).Value = dwData["WTGHFTOLP"].ToString();
            or1.Parameters.Add("WTGFILLER", OracleType.NVarChar).Value = dwData["WTGFILLER"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWASTKE(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WASTKE SET "
                + "WAKMANDANT=:WAKMANDANT,"
                + "WAKKUNDNR=:WAKKUNDNR,"
                + "WAKWERK=:WAKWERK,"
                + "WAKABT=:WAKABT,"
                + "WAKART=:WAKART,"
                + "WAKVAR=:WAKVAR,"
                + "WAKWCOL=:WAKWCOL,"
                + "WAKPOS=:WAKPOS,"
                + "WAKKART=:WAKKART,"
                + "WAKKVAR=:WAKKVAR,"
                + "WAKKFARBE=:WAKKFARBE,"
                + "WAKBAUMKZ=:WAKBAUMKZ,"
                + "WAKVERWEN=:WAKVERWEN,"
                + "WAKANZBA=:WAKANZBA,"
                + "WAKDIVISOR=:WAKDIVISOR,"
                + "WAKEAFAKTM=:WAKEAFAKTM,"
                + "WAKEAFAKTR=:WAKEAFAKTR,"
                + "WAKDISPOKZ=:WAKDISPOKZ,"
                + "WAKSTBR=:WAKSTBR,"
                + "WAKLLEIST=:WAKLLEIST,"
                + "WAKRLEIST=:WAKRLEIST,"
                + "WAKRBEM=:WAKRBEM,"
                + "WAKNET=:WAKNET,"
                + "WAKBRUT=:WAKBRUT,"
                + "WAKROSTA=:WAKROSTA,"
                + "WAKSBSTUE=:WAKSBSTUE,"
                + "WAKEARUE=:WAKEARUE,"
                + "WAKSTICH=:WAKSTICH,"
                + "WAKSCHIEART=:WAKSCHIEART,"
                + "WAKSCHIENE=:WAKSCHIENE,"
                + "WAKLAENG=:WAKLAENG,"
                + "WAKEINL=:WAKEINL,"
                + "WAKSPANNV=:WAKSPANNV,"
                + "WAKSPANNB=:WAKSPANNB,"
                + "WAKSPANNF=:WAKSPANNF,"
                + "WAKVERSATZ=:WAKVERSATZ,"
                + "WAKVARKZ=:WAKVARKZ,"
                + "WAKABFFDZ=:WAKABFFDZ,"
                + "WAKUSEDFDZ=:WAKUSEDFDZ,"
                + "WAKFILLER=:WAKFILLER,"
                + "WAKAENZL=:WAKAENZL,"
                + "WAKAENB=:WAKAENB,"
                + "WAKAEND=:WAKAEND,"
                + "WAKNEUB=:WAKNEUB,"
                + "WAKNEUD=:WAKNEUD "
                + " WHERE  "
                + "  WAKMANDANT=:WAKMANDANT AND WAKART=:WAKART  AND WAKVAR=:WAKVAR  AND WAKWCOL=:WAKWCOL";
            or1.Parameters.Add("WAKMANDANT", OracleType.NVarChar).Value = dwData["WAKMANDANT"].ToString();
            or1.Parameters.Add("WAKKUNDNR", OracleType.NVarChar).Value = dwData["WAKKUNDNR"].ToString();
            or1.Parameters.Add("WAKWERK", OracleType.NVarChar).Value = dwData["WAKWERK"].ToString();
            or1.Parameters.Add("WAKABT", OracleType.NVarChar).Value = dwData["WAKABT"].ToString();
            or1.Parameters.Add("WAKART", OracleType.NVarChar).Value = dwData["WAKART"].ToString();
            or1.Parameters.Add("WAKVAR", OracleType.NVarChar).Value = dwData["WAKVAR"].ToString();
            or1.Parameters.Add("WAKWCOL", OracleType.NVarChar).Value = dwData["WAKWCOL"].ToString();
            or1.Parameters.Add("WAKPOS", OracleType.NVarChar).Value = dwData["WAKPOS"].ToString();
            or1.Parameters.Add("WAKKART", OracleType.NVarChar).Value = dwData["WAKKART"].ToString();
            or1.Parameters.Add("WAKKVAR", OracleType.NVarChar).Value = dwData["WAKKVAR"].ToString();
            or1.Parameters.Add("WAKKFARBE", OracleType.NVarChar).Value = dwData["WAKKFARBE"].ToString();
            or1.Parameters.Add("WAKBAUMKZ", OracleType.NVarChar).Value = dwData["WAKBAUMKZ"].ToString();
            or1.Parameters.Add("WAKVERWEN", OracleType.NVarChar).Value = dwData["WAKVERWEN"].ToString();
            or1.Parameters.Add("WAKANZBA", OracleType.NVarChar).Value = dwData["WAKANZBA"].ToString();
            or1.Parameters.Add("WAKDIVISOR", OracleType.NVarChar).Value = dwData["WAKDIVISOR"].ToString();
            or1.Parameters.Add("WAKEAFAKTM", OracleType.NVarChar).Value = dwData["WAKEAFAKTM"].ToString();
            or1.Parameters.Add("WAKEAFAKTR", OracleType.NVarChar).Value = dwData["WAKEAFAKTR"].ToString();
            or1.Parameters.Add("WAKDISPOKZ", OracleType.NVarChar).Value = dwData["WAKDISPOKZ"].ToString();
            or1.Parameters.Add("WAKSTBR", OracleType.NVarChar).Value = dwData["WAKSTBR"].ToString();
            or1.Parameters.Add("WAKLLEIST", OracleType.NVarChar).Value = dwData["WAKLLEIST"].ToString();
            or1.Parameters.Add("WAKRLEIST", OracleType.NVarChar).Value = dwData["WAKRLEIST"].ToString();
            or1.Parameters.Add("WAKRBEM", OracleType.NVarChar).Value = dwData["WAKRBEM"].ToString();
            or1.Parameters.Add("WAKNET", OracleType.NVarChar).Value = dwData["WAKNET"].ToString();
            or1.Parameters.Add("WAKBRUT", OracleType.NVarChar).Value = dwData["WAKBRUT"].ToString();
            or1.Parameters.Add("WAKROSTA", OracleType.NVarChar).Value = dwData["WAKROSTA"].ToString();
            or1.Parameters.Add("WAKSBSTUE", OracleType.NVarChar).Value = dwData["WAKSBSTUE"].ToString();
            or1.Parameters.Add("WAKEARUE", OracleType.NVarChar).Value = dwData["WAKEARUE"].ToString();
            or1.Parameters.Add("WAKSTICH", OracleType.NVarChar).Value = dwData["WAKSTICH"].ToString();
            or1.Parameters.Add("WAKSCHIEART", OracleType.NVarChar).Value = dwData["WAKSCHIEART"].ToString();
            or1.Parameters.Add("WAKSCHIENE", OracleType.NVarChar).Value = dwData["WAKSCHIENE"].ToString();
            or1.Parameters.Add("WAKLAENG", OracleType.NVarChar).Value = dwData["WAKLAENG"].ToString();
            or1.Parameters.Add("WAKEINL", OracleType.NVarChar).Value = dwData["WAKEINL"].ToString();
            or1.Parameters.Add("WAKSPANNV", OracleType.NVarChar).Value = dwData["WAKSPANNV"].ToString();
            or1.Parameters.Add("WAKSPANNB", OracleType.NVarChar).Value = dwData["WAKSPANNB"].ToString();
            or1.Parameters.Add("WAKSPANNF", OracleType.NVarChar).Value = dwData["WAKSPANNF"].ToString();
            or1.Parameters.Add("WAKVERSATZ", OracleType.NVarChar).Value = dwData["WAKVERSATZ"].ToString();
            or1.Parameters.Add("WAKVARKZ", OracleType.NVarChar).Value = dwData["WAKVARKZ"].ToString();
            or1.Parameters.Add("WAKABFFDZ", OracleType.NVarChar).Value = dwData["WAKABFFDZ"].ToString();
            or1.Parameters.Add("WAKUSEDFDZ", OracleType.NVarChar).Value = dwData["WAKUSEDFDZ"].ToString();
            or1.Parameters.Add("WAKFILLER", OracleType.NVarChar).Value = dwData["WAKFILLER"].ToString();
            or1.Parameters.Add("WAKAENZL", OracleType.NVarChar).Value = dwData["WAKAENZL"].ToString();
            or1.Parameters.Add("WAKAENB", OracleType.NVarChar).Value = dwData["WAKAENB"].ToString();
            or1.Parameters.Add("WAKAEND", OracleType.NVarChar).Value = dwData["WAKAEND"].ToString();
            or1.Parameters.Add("WAKNEUB", OracleType.NVarChar).Value = dwData["WAKNEUB"].ToString();
            or1.Parameters.Add("WAKNEUD", OracleType.NVarChar).Value = dwData["WAKNEUD"].ToString();
            Connect2Proxy(or1);
        }
        public void UpdateWASTGA(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            or1.CommandText = "UPDATE WASTGA SET "
             + "WAGABFALL=:WAGABFALL,"
            + "WAGAUFM=:WAGAUFM,"
            + "WAGANT=:WAGANT,"
            + "WAGEINL=:WAGEINL,"
            + "WAGSPANNV=:WAGSPANNV,"
            + "WAGSPANNB=:WAGSPANNB,"
            + "WAGSPANNF=:WAGSPANNF,"
            + "WAGVARKZ=:WAGVARKZ,"
            + "WAGNA1=:WAGNA1,"
            + "WAGNA2=:WAGNA2,"
            + "WAGNA3=:WAGNA3,"
            + "WAGNA4=:WAGNA4,"
            + "WAGNA5=:WAGNA5,"
            + "WAGNP=:WAGNP,"
            + "WAGWEAVIN=:WAGWEAVIN,"
            + "WAGWEEMBR=:WAGWEEMBR,"
            + "WAGFLOATING=:WAGFLOATING,"
            + "WAGFL=:WAGFL,"
            + "WAGFLNA1=:WAGFLNA1,"
            + "WAGFLNA2=:WAGFLNA2,"
            + "WAGFLNA3=:WAGFLNA3,"
            + "WAGFLNA4=:WAGFLNA4,"
            + "WAGFLNA5=:WAGFLNA5,"
            + "WAGFLNP=:WAGFLNP,"
            + "WAGFILLER=:WAGFILLER,"
            + "WAGMANDANT=:WAGMANDANT,"
            + "WAGKUNDNR=:WAGKUNDNR,"
            + "WAGWERK=:WAGWERK,"
            + "WAGABT=:WAGABT,"
            + "WAGART=:WAGART,"
            + "WAGVAR=:WAGVAR,"
            + "WAGWCOL=:WAGWCOL,"
            + "WAGPSA=:WAGPSA,"
            + "WAGPOS=:WAGPOS,"
            + "WAGFOLGEPOS=:WAGFOLGEPOS,"
            + "WAGGART=:WAGGART,"
            + "WAGGVAR=:WAGGVAR,"
            + "WAGGFARBE=:WAGGFARBE,"
            + "WAGFDZ=:WAGFDZ,"
            + "WAGABFKZ=:WAGABFKZ,"
            + "WAGABF=:WAGABF,"
            + "WAGABFLG=:WAGABFLG,"
            + "WAGKGNET=:WAGKGNET,"
            + "WAGKGBRUT=:WAGKGBRUT,"
            + "WAGDISPOKZ=:WAGDISPOKZ,"
            + "WAGBEM=:WAGBEM,"
            + "WAGEAFAKTOR=:WAGEAFAKTOR,"
            + "WAGGRLFDM=:WAGGRLFDM,"
            + "WAGKZQM=:WAGKZQM,"
            + "WAGPROZWG=:WAGPROZWG "
            + " WHERE  "
            + "  WAGMANDANT=:WAGMANDANT AND WAGART=:WAGART  AND WAGVAR=:WAGVAR  AND WAGWCOL=:WAGWCOL"
            + " AND WAGPSA=:WAGPSA AND WAGPOS=:WAGPOS AND WAGFOLGEPOS=:WAGFOLGEPOS"
            ;
            or1.Parameters.Add("WAGABFALL", OracleType.NVarChar).Value = dwData["WAGABFALL"].ToString();
            or1.Parameters.Add("WAGAUFM", OracleType.NVarChar).Value = dwData["WAGAUFM"].ToString();
            or1.Parameters.Add("WAGANT", OracleType.NVarChar).Value = dwData["WAGANT"].ToString();
            or1.Parameters.Add("WAGEINL", OracleType.NVarChar).Value = dwData["WAGEINL"].ToString();
            or1.Parameters.Add("WAGSPANNV", OracleType.NVarChar).Value = dwData["WAGSPANNV"].ToString();
            or1.Parameters.Add("WAGSPANNB", OracleType.NVarChar).Value = dwData["WAGSPANNB"].ToString();
            or1.Parameters.Add("WAGSPANNF", OracleType.NVarChar).Value = dwData["WAGSPANNF"].ToString();
            or1.Parameters.Add("WAGVARKZ", OracleType.NVarChar).Value = dwData["WAGVARKZ"].ToString();
            or1.Parameters.Add("WAGNA1", OracleType.NVarChar).Value = dwData["WAGNA1"].ToString();
            or1.Parameters.Add("WAGNA2", OracleType.NVarChar).Value = dwData["WAGNA2"].ToString();
            or1.Parameters.Add("WAGNA3", OracleType.NVarChar).Value = dwData["WAGNA3"].ToString();
            or1.Parameters.Add("WAGNA4", OracleType.NVarChar).Value = dwData["WAGNA4"].ToString();
            or1.Parameters.Add("WAGNA5", OracleType.NVarChar).Value = dwData["WAGNA5"].ToString();
            or1.Parameters.Add("WAGNP", OracleType.NVarChar).Value = dwData["WAGNP"].ToString();
            or1.Parameters.Add("WAGWEAVIN", OracleType.NVarChar).Value = dwData["WAGWEAVIN"].ToString();
            or1.Parameters.Add("WAGWEEMBR", OracleType.NVarChar).Value = dwData["WAGWEEMBR"].ToString();
            or1.Parameters.Add("WAGFLOATING", OracleType.NVarChar).Value = dwData["WAGFLOATING"].ToString();
            or1.Parameters.Add("WAGFL", OracleType.NVarChar).Value = dwData["WAGFL"].ToString();
            or1.Parameters.Add("WAGFLNA1", OracleType.NVarChar).Value = dwData["WAGFLNA1"].ToString();
            or1.Parameters.Add("WAGFLNA2", OracleType.NVarChar).Value = dwData["WAGFLNA2"].ToString();
            or1.Parameters.Add("WAGFLNA3", OracleType.NVarChar).Value = dwData["WAGFLNA3"].ToString();
            or1.Parameters.Add("WAGFLNA4", OracleType.NVarChar).Value = dwData["WAGFLNA4"].ToString();
            or1.Parameters.Add("WAGFLNA5", OracleType.NVarChar).Value = dwData["WAGFLNA5"].ToString();
            or1.Parameters.Add("WAGFLNP", OracleType.NVarChar).Value = dwData["WAGFLNP"].ToString();
            or1.Parameters.Add("WAGFILLER", OracleType.NVarChar).Value = dwData["WAGFILLER"].ToString();
            or1.Parameters.Add("WAGMANDANT", OracleType.NVarChar).Value = dwData["WAGMANDANT"].ToString();
            or1.Parameters.Add("WAGKUNDNR", OracleType.NVarChar).Value = dwData["WAGKUNDNR"].ToString();
            or1.Parameters.Add("WAGWERK", OracleType.NVarChar).Value = dwData["WAGWERK"].ToString();
            or1.Parameters.Add("WAGABT", OracleType.NVarChar).Value = dwData["WAGABT"].ToString();
            or1.Parameters.Add("WAGART", OracleType.NVarChar).Value = dwData["WAGART"].ToString();
            or1.Parameters.Add("WAGVAR", OracleType.NVarChar).Value = dwData["WAGVAR"].ToString();
            or1.Parameters.Add("WAGWCOL", OracleType.NVarChar).Value = dwData["WAGWCOL"].ToString();
            or1.Parameters.Add("WAGPSA", OracleType.NVarChar).Value = dwData["WAGPSA"].ToString();
            or1.Parameters.Add("WAGPOS", OracleType.NVarChar).Value = dwData["WAGPOS"].ToString();
            or1.Parameters.Add("WAGFOLGEPOS", OracleType.NVarChar).Value = dwData["WAGFOLGEPOS"].ToString();
            or1.Parameters.Add("WAGGART", OracleType.NVarChar).Value = dwData["WAGGART"].ToString();
            or1.Parameters.Add("WAGGVAR", OracleType.NVarChar).Value = dwData["WAGGVAR"].ToString();
            or1.Parameters.Add("WAGGFARBE", OracleType.NVarChar).Value = dwData["WAGGFARBE"].ToString();
            or1.Parameters.Add("WAGFDZ", OracleType.NVarChar).Value = dwData["WAGFDZ"].ToString();
            or1.Parameters.Add("WAGABFKZ", OracleType.NVarChar).Value = dwData["WAGABFKZ"].ToString();
            or1.Parameters.Add("WAGABF", OracleType.NVarChar).Value = dwData["WAGABF"].ToString();
            or1.Parameters.Add("WAGABFLG", OracleType.NVarChar).Value = dwData["WAGABFLG"].ToString();
            or1.Parameters.Add("WAGKGNET", OracleType.NVarChar).Value = dwData["WAGKGNET"].ToString();
            or1.Parameters.Add("WAGKGBRUT", OracleType.NVarChar).Value = dwData["WAGKGBRUT"].ToString();
            or1.Parameters.Add("WAGDISPOKZ", OracleType.NVarChar).Value = dwData["WAGDISPOKZ"].ToString();
            or1.Parameters.Add("WAGBEM", OracleType.NVarChar).Value = dwData["WAGBEM"].ToString();
            or1.Parameters.Add("WAGEAFAKTOR", OracleType.NVarChar).Value = dwData["WAGEAFAKTOR"].ToString();
            or1.Parameters.Add("WAGGRLFDM", OracleType.NVarChar).Value = dwData["WAGGRLFDM"].ToString();
            or1.Parameters.Add("WAGKZQM", OracleType.NVarChar).Value = dwData["WAGKZQM"].ToString();
            or1.Parameters.Add("WAGPROZWG", OracleType.NVarChar).Value = dwData["WAGPROZWG"].ToString();
            Connect2Proxy(or1);
        }
        #endregion

        #region======V==============
        public void UpdateVAART(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====

            or1.CommandText = " UPDATE VAART SET "
                + "VAAMANDANT=:VAAMANDANT,"
                + "VAAKOLL=:VAAKOLL,"
                + "VAAART=:VAAART,"
                + "VAABEZ=:VAABEZ,"
                + "VAABESTANDF=:VAABESTANDF,"
                + "VAAMEBRT=:VAAMEBRT,"
                + "VAABRTFKT=:VAABRTFKT,"
                + "VAABRTVON=:VAABRTVON,"
                + "VAABRTBIS=:VAABRTBIS,"
                + "VAAMELAE=:VAAMELAE,"
                + "VAALAEFKT=:VAALAEFKT,"
                + "VAALAEVON=:VAALAEVON,"
                + "VAALAEBIS=:VAALAEBIS,"
                + "VAAMEHRAP=:VAAMEHRAP,"
                + "VAAHRAPVON=:VAAHRAPVON,"
                + "VAAHRAPBIS=:VAAHRAPBIS,"
                + "VAAMEBRAP=:VAAMEBRAP,"
                + "VAABRAPVON=:VAABRAPVON,"
                + "VAABRAPBIS=:VAABRAPBIS,"
                + "VAAMEGEW=:VAAMEGEW,"
                + "VAAGEWGRP=:VAAGEWGRP,"
                + "VAAGEWFKT=:VAAGEWFKT,"
                + "VAAGEWVON=:VAAGEWVON,"
                + "VAAGEWBIS=:VAAGEWBIS,"
                + "VAAMENGEH=:VAAMENGEH,"
                + "VAAMEGGRP=:VAAMEGGRP,"
                + "VAAMEGFKT=:VAAMEGFKT,"
                + "VAAMEUEB=:VAAMEUEB,"
                + "VAAUEBGRP=:VAAUEBGRP,"
                + "VAAUEBFKT=:VAAUEBFKT,"
                + "VAAEAN=:VAAEAN,"
                + "VAASTATWNR=:VAASTATWNR,"
                + "VAAZOLLTNR1=:VAAZOLLTNR1,"
                + "VAAZOLLTNR2=:VAAZOLLTNR2,"
                + "VAAARTPRGR=:VAAARTPRGR,"
                + "VAAPVGRP=:VAAPVGRP,"
                + "VAAAUFART=:VAAAUFART,"
                + "VAAPACKART=:VAAPACKART,"
                + "VAAURLAND=:VAAURLAND,"
                + "VAAWECHSEL=:VAAWECHSEL,"
                + "VAAURTEXT=:VAAURTEXT,"
                + "VAAREFART=:VAAREFART,"
                + "VAAPART=:VAAPART,"
                + "VAADKUNDNR=:VAADKUNDNR,"
                + "VAADWERK=:VAADWERK,"
                + "VAADABT=:VAADABT,"
                + "VAADART=:VAADART,"
                + "VAADVAR=:VAADVAR,"
                + "VAAGESANT1=:VAAGESANT1,"
                + "VAAGESBEZ1=:VAAGESBEZ1,"
                + "VAAPOLANT1=:VAAPOLANT1,"
                + "VAAPOLBEZ1=:VAAPOLBEZ1,"
                + "VAARUECKANT1=:VAARUECKANT1,"
                + "VAARUECKBEZ1=:VAARUECKBEZ1,"
                + "VAAGESANT2=:VAAGESANT2,"
                + "VAAGESBEZ2=:VAAGESBEZ2,"
                + "VAAPOLANT2=:VAAPOLANT2,"
                + "VAAPOLBEZ2=:VAAPOLBEZ2,"
                + "VAARUECKANT2=:VAARUECKANT2,"
                + "VAARUECKBEZ2=:VAARUECKBEZ2,"
                + "VAAGESANT3=:VAAGESANT3,"
                + "VAAGESBEZ3=:VAAGESBEZ3,"
                + "VAAPOLANT3=:VAAPOLANT3,"
                + "VAAPOLBEZ3=:VAAPOLBEZ3,"
                + "VAARUECKANT3=:VAARUECKANT3,"
                + "VAARUECKBEZ3=:VAARUECKBEZ3,"
                + "VAAGESANT4=:VAAGESANT4,"
                + "VAAGESBEZ4=:VAAGESBEZ4,"
                + "VAAPOLANT4=:VAAPOLANT4,"
                + "VAAPOLBEZ4=:VAAPOLBEZ4,"
                + "VAARUECKANT4=:VAARUECKANT4,"
                + "VAARUECKBEZ4=:VAARUECKBEZ4,"
                + "VAAGESANT5=:VAAGESANT5,"
                + "VAAGESBEZ5=:VAAGESBEZ5,"
                + "VAAPOLANT5=:VAAPOLANT5,"
                + "VAAPOLBEZ5=:VAAPOLBEZ5,"
                + "VAARUECKANT5=:VAARUECKANT5,"
                + "VAARUECKBEZ5=:VAARUECKBEZ5,"
                + "VAAGESANT6=:VAAGESANT6,"
                + "VAAGESBEZ6=:VAAGESBEZ6,"
                + "VAAPOLANT6=:VAAPOLANT6,"
                + "VAAPOLBEZ6=:VAAPOLBEZ6,"
                + "VAARUECKANT6=:VAARUECKANT6,"
                + "VAARUECKBEZ6=:VAARUECKBEZ6,"
                + "VAAGESANT7=:VAAGESANT7,"
                + "VAAGESBEZ7=:VAAGESBEZ7,"
                + "VAAPOLANT7=:VAAPOLANT7,"
                + "VAAPOLBEZ7=:VAAPOLBEZ7,"
                + "VAARUECKANT7=:VAARUECKANT7,"
                + "VAARUECKBEZ7=:VAARUECKBEZ7,"
                + "VAAGESANT8=:VAAGESANT8,"
                + "VAAGESBEZ8=:VAAGESBEZ8,"
                + "VAAPOLANT8=:VAAPOLANT8,"
                + "VAAPOLBEZ8=:VAAPOLBEZ8,"
                + "VAARUECKANT8=:VAARUECKANT8,"
                + "VAARUECKBEZ8=:VAARUECKBEZ8,"
                + "VAAHWANT=:VAAHWANT,"
                + "VAAPOLANTG=:VAAPOLANTG,"
                + "VAARUEKANTG=:VAARUEKANTG,"
                + "VAAAENDZL=:VAAAENDZL,"
                + "VAAAENDBEN=:VAAAENDBEN,"
                + "VAAAENDDAT=:VAAAENDDAT,"
                + "VAANEUBEN=:VAANEUBEN,"
                + "VAANEUDAT=:VAANEUDAT,"
                + "VAAARTST=:VAAARTST,"
                + "VAAZUREGEL=:VAAZUREGEL,"
                + "VAAZIELGR=:VAAZIELGR,"
                + "VAAPRGR=:VAAPRGR,"
                + "VAAARTGRP=:VAAARTGRP,"
                + "VAALO=:VAALO,"
                + "VAABRTCA=:VAABRTCA,"
                + "VAALAECA=:VAALAECA,"
                + "VAAHRAPCA=:VAAHRAPCA,"
                + "VAABRAPCA=:VAABRAPCA,"
                + "VAAGEWCA=:VAAGEWCA,"
                + "VAAPREH=:VAAPREH,"
                + "VAAEXCL=:VAAEXCL,"
                + "VAATAX=:VAATAX,"
                + "VAASONDER=:VAASONDER,"
                + "VAAFILLER=:VAAFILLER"
                + " WHERE  "
                + "  VAAMANDANT=:VAAMANDANT AND VAAKOLL=:VAAKOLL AND VAAART=:VAAART";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("VAAMANDANT", OracleType.NVarChar).Value = dwData["VAAMANDANT"].ToString();
            or1.Parameters.Add("VAAKOLL", OracleType.NVarChar).Value = dwData["VAAKOLL"].ToString();
            or1.Parameters.Add("VAAART", OracleType.NVarChar).Value = dwData["VAAART"].ToString();
            or1.Parameters.Add("VAABEZ", OracleType.NVarChar).Value = dwData["VAABEZ"].ToString();
            or1.Parameters.Add("VAABESTANDF", OracleType.NVarChar).Value = dwData["VAABESTANDF"].ToString();
            or1.Parameters.Add("VAAMEBRT", OracleType.NVarChar).Value = dwData["VAAMEBRT"].ToString();
            or1.Parameters.Add("VAABRTFKT", OracleType.NVarChar).Value = dwData["VAABRTFKT"].ToString();
            or1.Parameters.Add("VAABRTVON", OracleType.NVarChar).Value = dwData["VAABRTVON"].ToString();
            or1.Parameters.Add("VAABRTBIS", OracleType.NVarChar).Value = dwData["VAABRTBIS"].ToString();
            or1.Parameters.Add("VAAMELAE", OracleType.NVarChar).Value = dwData["VAAMELAE"].ToString();
            or1.Parameters.Add("VAALAEFKT", OracleType.NVarChar).Value = dwData["VAALAEFKT"].ToString();
            or1.Parameters.Add("VAALAEVON", OracleType.NVarChar).Value = dwData["VAALAEVON"].ToString();
            or1.Parameters.Add("VAALAEBIS", OracleType.NVarChar).Value = dwData["VAALAEBIS"].ToString();
            or1.Parameters.Add("VAAMEHRAP", OracleType.NVarChar).Value = dwData["VAAMEHRAP"].ToString();
            or1.Parameters.Add("VAAHRAPVON", OracleType.NVarChar).Value = dwData["VAAHRAPVON"].ToString();
            or1.Parameters.Add("VAAHRAPBIS", OracleType.NVarChar).Value = dwData["VAAHRAPBIS"].ToString();
            or1.Parameters.Add("VAAMEBRAP", OracleType.NVarChar).Value = dwData["VAAMEBRAP"].ToString();
            or1.Parameters.Add("VAABRAPVON", OracleType.NVarChar).Value = dwData["VAABRAPVON"].ToString();
            or1.Parameters.Add("VAABRAPBIS", OracleType.NVarChar).Value = dwData["VAABRAPBIS"].ToString();
            or1.Parameters.Add("VAAMEGEW", OracleType.NVarChar).Value = dwData["VAAMEGEW"].ToString();
            or1.Parameters.Add("VAAGEWGRP", OracleType.NVarChar).Value = dwData["VAAGEWGRP"].ToString();
            or1.Parameters.Add("VAAGEWFKT", OracleType.NVarChar).Value = dwData["VAAGEWFKT"].ToString();
            or1.Parameters.Add("VAAGEWVON", OracleType.NVarChar).Value = dwData["VAAGEWVON"].ToString();
            or1.Parameters.Add("VAAGEWBIS", OracleType.NVarChar).Value = dwData["VAAGEWBIS"].ToString();
            or1.Parameters.Add("VAAMENGEH", OracleType.NVarChar).Value = dwData["VAAMENGEH"].ToString();
            or1.Parameters.Add("VAAMEGGRP", OracleType.NVarChar).Value = dwData["VAAMEGGRP"].ToString();
            or1.Parameters.Add("VAAMEGFKT", OracleType.NVarChar).Value = dwData["VAAMEGFKT"].ToString();
            or1.Parameters.Add("VAAMEUEB", OracleType.NVarChar).Value = dwData["VAAMEUEB"].ToString();
            or1.Parameters.Add("VAAUEBGRP", OracleType.NVarChar).Value = dwData["VAAUEBGRP"].ToString();
            or1.Parameters.Add("VAAUEBFKT", OracleType.NVarChar).Value = dwData["VAAUEBFKT"].ToString();
            or1.Parameters.Add("VAAEAN", OracleType.NVarChar).Value = dwData["VAAEAN"].ToString();
            or1.Parameters.Add("VAASTATWNR", OracleType.NVarChar).Value = dwData["VAASTATWNR"].ToString();
            or1.Parameters.Add("VAAZOLLTNR1", OracleType.NVarChar).Value = dwData["VAAZOLLTNR1"].ToString();
            or1.Parameters.Add("VAAZOLLTNR2", OracleType.NVarChar).Value = dwData["VAAZOLLTNR2"].ToString();
            or1.Parameters.Add("VAAARTPRGR", OracleType.NVarChar).Value = dwData["VAAARTPRGR"].ToString();
            or1.Parameters.Add("VAAPVGRP", OracleType.NVarChar).Value = dwData["VAAPVGRP"].ToString();
            or1.Parameters.Add("VAAAUFART", OracleType.NVarChar).Value = dwData["VAAAUFART"].ToString();
            or1.Parameters.Add("VAAPACKART", OracleType.NVarChar).Value = dwData["VAAPACKART"].ToString();
            or1.Parameters.Add("VAAURLAND", OracleType.NVarChar).Value = dwData["VAAURLAND"].ToString();
            or1.Parameters.Add("VAAWECHSEL", OracleType.NVarChar).Value = dwData["VAAWECHSEL"].ToString();
            or1.Parameters.Add("VAAURTEXT", OracleType.NVarChar).Value = dwData["VAAURTEXT"].ToString();
            or1.Parameters.Add("VAAREFART", OracleType.NVarChar).Value = dwData["VAAREFART"].ToString();
            or1.Parameters.Add("VAAPART", OracleType.NVarChar).Value = dwData["VAAPART"].ToString();
            or1.Parameters.Add("VAADKUNDNR", OracleType.NVarChar).Value = dwData["VAADKUNDNR"].ToString();
            or1.Parameters.Add("VAADWERK", OracleType.NVarChar).Value = dwData["VAADWERK"].ToString();
            or1.Parameters.Add("VAADABT", OracleType.NVarChar).Value = dwData["VAADABT"].ToString();
            or1.Parameters.Add("VAADART", OracleType.NVarChar).Value = dwData["VAADART"].ToString();
            or1.Parameters.Add("VAADVAR", OracleType.NVarChar).Value = dwData["VAADVAR"].ToString();
            or1.Parameters.Add("VAAGESANT1", OracleType.NVarChar).Value = dwData["VAAGESANT1"].ToString();
            or1.Parameters.Add("VAAGESBEZ1", OracleType.NVarChar).Value = dwData["VAAGESBEZ1"].ToString();
            or1.Parameters.Add("VAAPOLANT1", OracleType.NVarChar).Value = dwData["VAAPOLANT1"].ToString();
            or1.Parameters.Add("VAAPOLBEZ1", OracleType.NVarChar).Value = dwData["VAAPOLBEZ1"].ToString();
            or1.Parameters.Add("VAARUECKANT1", OracleType.NVarChar).Value = dwData["VAARUECKANT1"].ToString();
            or1.Parameters.Add("VAARUECKBEZ1", OracleType.NVarChar).Value = dwData["VAARUECKBEZ1"].ToString();
            or1.Parameters.Add("VAAGESANT2", OracleType.NVarChar).Value = dwData["VAAGESANT2"].ToString();
            or1.Parameters.Add("VAAGESBEZ2", OracleType.NVarChar).Value = dwData["VAAGESBEZ2"].ToString();
            or1.Parameters.Add("VAAPOLANT2", OracleType.NVarChar).Value = dwData["VAAPOLANT2"].ToString();
            or1.Parameters.Add("VAAPOLBEZ2", OracleType.NVarChar).Value = dwData["VAAPOLBEZ2"].ToString();
            or1.Parameters.Add("VAARUECKANT2", OracleType.NVarChar).Value = dwData["VAARUECKANT2"].ToString();
            or1.Parameters.Add("VAARUECKBEZ2", OracleType.NVarChar).Value = dwData["VAARUECKBEZ2"].ToString();
            or1.Parameters.Add("VAAGESANT3", OracleType.NVarChar).Value = dwData["VAAGESANT3"].ToString();
            or1.Parameters.Add("VAAGESBEZ3", OracleType.NVarChar).Value = dwData["VAAGESBEZ3"].ToString();
            or1.Parameters.Add("VAAPOLANT3", OracleType.NVarChar).Value = dwData["VAAPOLANT3"].ToString();
            or1.Parameters.Add("VAAPOLBEZ3", OracleType.NVarChar).Value = dwData["VAAPOLBEZ3"].ToString();
            or1.Parameters.Add("VAARUECKANT3", OracleType.NVarChar).Value = dwData["VAARUECKANT3"].ToString();
            or1.Parameters.Add("VAARUECKBEZ3", OracleType.NVarChar).Value = dwData["VAARUECKBEZ3"].ToString();
            or1.Parameters.Add("VAAGESANT4", OracleType.NVarChar).Value = dwData["VAAGESANT4"].ToString();
            or1.Parameters.Add("VAAGESBEZ4", OracleType.NVarChar).Value = dwData["VAAGESBEZ4"].ToString();
            or1.Parameters.Add("VAAPOLANT4", OracleType.NVarChar).Value = dwData["VAAPOLANT4"].ToString();
            or1.Parameters.Add("VAAPOLBEZ4", OracleType.NVarChar).Value = dwData["VAAPOLBEZ4"].ToString();
            or1.Parameters.Add("VAARUECKANT4", OracleType.NVarChar).Value = dwData["VAARUECKANT4"].ToString();
            or1.Parameters.Add("VAARUECKBEZ4", OracleType.NVarChar).Value = dwData["VAARUECKBEZ4"].ToString();
            or1.Parameters.Add("VAAGESANT5", OracleType.NVarChar).Value = dwData["VAAGESANT5"].ToString();
            or1.Parameters.Add("VAAGESBEZ5", OracleType.NVarChar).Value = dwData["VAAGESBEZ5"].ToString();
            or1.Parameters.Add("VAAPOLANT5", OracleType.NVarChar).Value = dwData["VAAPOLANT5"].ToString();
            or1.Parameters.Add("VAAPOLBEZ5", OracleType.NVarChar).Value = dwData["VAAPOLBEZ5"].ToString();
            or1.Parameters.Add("VAARUECKANT5", OracleType.NVarChar).Value = dwData["VAARUECKANT5"].ToString();
            or1.Parameters.Add("VAARUECKBEZ5", OracleType.NVarChar).Value = dwData["VAARUECKBEZ5"].ToString();
            or1.Parameters.Add("VAAGESANT6", OracleType.NVarChar).Value = dwData["VAAGESANT6"].ToString();
            or1.Parameters.Add("VAAGESBEZ6", OracleType.NVarChar).Value = dwData["VAAGESBEZ6"].ToString();
            or1.Parameters.Add("VAAPOLANT6", OracleType.NVarChar).Value = dwData["VAAPOLANT6"].ToString();
            or1.Parameters.Add("VAAPOLBEZ6", OracleType.NVarChar).Value = dwData["VAAPOLBEZ6"].ToString();
            or1.Parameters.Add("VAARUECKANT6", OracleType.NVarChar).Value = dwData["VAARUECKANT6"].ToString();
            or1.Parameters.Add("VAARUECKBEZ6", OracleType.NVarChar).Value = dwData["VAARUECKBEZ6"].ToString();
            or1.Parameters.Add("VAAGESANT7", OracleType.NVarChar).Value = dwData["VAAGESANT7"].ToString();
            or1.Parameters.Add("VAAGESBEZ7", OracleType.NVarChar).Value = dwData["VAAGESBEZ7"].ToString();
            or1.Parameters.Add("VAAPOLANT7", OracleType.NVarChar).Value = dwData["VAAPOLANT7"].ToString();
            or1.Parameters.Add("VAAPOLBEZ7", OracleType.NVarChar).Value = dwData["VAAPOLBEZ7"].ToString();
            or1.Parameters.Add("VAARUECKANT7", OracleType.NVarChar).Value = dwData["VAARUECKANT7"].ToString();
            or1.Parameters.Add("VAARUECKBEZ7", OracleType.NVarChar).Value = dwData["VAARUECKBEZ7"].ToString();
            or1.Parameters.Add("VAAGESANT8", OracleType.NVarChar).Value = dwData["VAAGESANT8"].ToString();
            or1.Parameters.Add("VAAGESBEZ8", OracleType.NVarChar).Value = dwData["VAAGESBEZ8"].ToString();
            or1.Parameters.Add("VAAPOLANT8", OracleType.NVarChar).Value = dwData["VAAPOLANT8"].ToString();
            or1.Parameters.Add("VAAPOLBEZ8", OracleType.NVarChar).Value = dwData["VAAPOLBEZ8"].ToString();
            or1.Parameters.Add("VAARUECKANT8", OracleType.NVarChar).Value = dwData["VAARUECKANT8"].ToString();
            or1.Parameters.Add("VAARUECKBEZ8", OracleType.NVarChar).Value = dwData["VAARUECKBEZ8"].ToString();
            or1.Parameters.Add("VAAHWANT", OracleType.NVarChar).Value = dwData["VAAHWANT"].ToString();
            or1.Parameters.Add("VAAPOLANTG", OracleType.NVarChar).Value = dwData["VAAPOLANTG"].ToString();
            or1.Parameters.Add("VAARUEKANTG", OracleType.NVarChar).Value = dwData["VAARUEKANTG"].ToString();
            or1.Parameters.Add("VAAAENDZL", OracleType.NVarChar).Value = dwData["VAAAENDZL"].ToString();
            or1.Parameters.Add("VAAAENDBEN", OracleType.NVarChar).Value = dwData["VAAAENDBEN"].ToString();
            or1.Parameters.Add("VAAAENDDAT", OracleType.NVarChar).Value = dwData["VAAAENDDAT"].ToString();
            or1.Parameters.Add("VAANEUBEN", OracleType.NVarChar).Value = dwData["VAANEUBEN"].ToString();
            or1.Parameters.Add("VAANEUDAT", OracleType.NVarChar).Value = dwData["VAANEUDAT"].ToString();
            or1.Parameters.Add("VAAARTST", OracleType.NVarChar).Value = dwData["VAAARTST"].ToString();
            or1.Parameters.Add("VAAZUREGEL", OracleType.NVarChar).Value = dwData["VAAZUREGEL"].ToString();
            or1.Parameters.Add("VAAZIELGR", OracleType.NVarChar).Value = dwData["VAAZIELGR"].ToString();
            or1.Parameters.Add("VAAPRGR", OracleType.NVarChar).Value = dwData["VAAPRGR"].ToString();
            or1.Parameters.Add("VAAARTGRP", OracleType.NVarChar).Value = dwData["VAAARTGRP"].ToString();
            or1.Parameters.Add("VAALO", OracleType.NVarChar).Value = dwData["VAALO"].ToString();
            or1.Parameters.Add("VAABRTCA", OracleType.NVarChar).Value = dwData["VAABRTCA"].ToString();
            or1.Parameters.Add("VAALAECA", OracleType.NVarChar).Value = dwData["VAALAECA"].ToString();
            or1.Parameters.Add("VAAHRAPCA", OracleType.NVarChar).Value = dwData["VAAHRAPCA"].ToString();
            or1.Parameters.Add("VAABRAPCA", OracleType.NVarChar).Value = dwData["VAABRAPCA"].ToString();
            or1.Parameters.Add("VAAGEWCA", OracleType.NVarChar).Value = dwData["VAAGEWCA"].ToString();
            or1.Parameters.Add("VAAPREH", OracleType.NVarChar).Value = dwData["VAAPREH"].ToString();
            or1.Parameters.Add("VAAEXCL", OracleType.NVarChar).Value = dwData["VAAEXCL"].ToString();
            or1.Parameters.Add("VAATAX", OracleType.NVarChar).Value = dwData["VAATAX"].ToString();
            or1.Parameters.Add("VAASONDER", OracleType.NVarChar).Value = dwData["VAASONDER"].ToString();
            or1.Parameters.Add("VAAFILLER", OracleType.NVarChar).Value = dwData["VAAFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateVAFARBEN(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region====Command====

                    or1.CommandText = " UPDATE VAFARBEN SET "
                        + "VAFMANDANT=:VAFMANDANT,"
                        + "VAFKOLL=:VAFKOLL,"
                        + "VAFART=:VAFART,"
                        + "VAFFARBE=:VAFFARBE,"
                        + "VAFLIEFERSG=:VAFLIEFERSG,"
                        + "VAFBEZ=:VAFBEZ,"
                        + "VAFFFARBE=:VAFFFARBE,"
                        + "VAFDESS=:VAFDESS,"
                        + "VAFCOLORIT=:VAFCOLORIT,"
                        + "VAFBESCHICH=:VAFBESCHICH,"
                        + "VAFPKUNDNR=:VAFPKUNDNR,"
                        + "VAFPWERK=:VAFPWERK,"
                        + "VAFPABT=:VAFPABT,"
                        + "VAFPART=:VAFPART,"
                        + "VAFPVAR=:VAFPVAR,"
                        + "VAFPLART=:VAFPLART,"
                        + "VAFSPERRDAT=:VAFSPERRDAT,"
                        + "VAFKZZOLL2=:VAFKZZOLL2,"
                        + "VAFFARBGRP=:VAFFARBGRP,"
                        + "VAFMUFAEH=:VAFMUFAEH,"
                        + "VAFCOFAEH=:VAFCOFAEH,"
                        + "VAFMINPR1=:VAFMINPR1,"
                        + "VAFMINPR2=:VAFMINPR2,"
                        + "VAFABVK=:VAFABVK,"
                        + "VAFSFERTKZ=:VAFSFERTKZ,"
                        + "VAFEAN=:VAFEAN,"
                        + "VAFPGROE=:VAFPGROE,"
                        + "VAFARTBEZ=:VAFARTBEZ,"
                        + "VAFZUSTAND=:VAFZUSTAND,"
                        + "VAFURCODE1=:VAFURCODE1,"
                        + "VAFURCODE2=:VAFURCODE2,"
                        + "VAFURCODE3=:VAFURCODE3,"
                        + "VAFURCODE4=:VAFURCODE4,"
                        + "VAFKZDUMCOL=:VAFKZDUMCOL,"
                        + "VAFLASCHE=:VAFLASCHE,"
                        + "VAFPVARKZ=:VAFPVARKZ,"
                        + "VAFSTANDARD=:VAFSTANDARD,"
                        + "VAFEANLASCHE=:VAFEANLASCHE,"
                        + "VAFFILLER=:VAFFILLER,"
                        + "VAFAENDZL=:VAFAENDZL,"
                        + "VAFAENDBEN=:VAFAENDBEN,"
                        + "VAFAENDDAT=:VAFAENDDAT,"
                        + "VAFNEUBEN=:VAFNEUBEN,"
                        + "VAFNEUDAT=:VAFNEUDAT"
                        + " WHERE  "
                        + "  VAFMANDANT=:VAFMANDANT AND VAFKOLL=:VAFKOLL AND VAFART=:VAFART AND VAFFARBE=:VAFFARBE";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VAFMANDANT", OracleType.NVarChar).Value = dwData["VAFMANDANT"].ToString();
                    or1.Parameters.Add("VAFKOLL", OracleType.NVarChar).Value = dwData["VAFKOLL"].ToString();
                    or1.Parameters.Add("VAFART", OracleType.NVarChar).Value = dwData["VAFART"].ToString();
                    or1.Parameters.Add("VAFFARBE", OracleType.NVarChar).Value = dwData["VAFFARBE"].ToString();
                    or1.Parameters.Add("VAFLIEFERSG", OracleType.NVarChar).Value = dwData["VAFLIEFERSG"].ToString();
                    or1.Parameters.Add("VAFBEZ", OracleType.NVarChar).Value = dwData["VAFBEZ"].ToString();
                    or1.Parameters.Add("VAFFFARBE", OracleType.NVarChar).Value = dwData["VAFFFARBE"].ToString();
                    or1.Parameters.Add("VAFDESS", OracleType.NVarChar).Value = dwData["VAFDESS"].ToString();
                    or1.Parameters.Add("VAFCOLORIT", OracleType.NVarChar).Value = dwData["VAFCOLORIT"].ToString();
                    or1.Parameters.Add("VAFBESCHICH", OracleType.NVarChar).Value = dwData["VAFBESCHICH"].ToString();
                    or1.Parameters.Add("VAFPKUNDNR", OracleType.NVarChar).Value = dwData["VAFPKUNDNR"].ToString();
                    or1.Parameters.Add("VAFPWERK", OracleType.NVarChar).Value = dwData["VAFPWERK"].ToString();
                    or1.Parameters.Add("VAFPABT", OracleType.NVarChar).Value = dwData["VAFPABT"].ToString();
                    or1.Parameters.Add("VAFPART", OracleType.NVarChar).Value = dwData["VAFPART"].ToString();
                    or1.Parameters.Add("VAFPVAR", OracleType.NVarChar).Value = dwData["VAFPVAR"].ToString();
                    or1.Parameters.Add("VAFPLART", OracleType.NVarChar).Value = dwData["VAFPLART"].ToString();
                    or1.Parameters.Add("VAFSPERRDAT", OracleType.NVarChar).Value = dwData["VAFSPERRDAT"].ToString();
                    or1.Parameters.Add("VAFKZZOLL2", OracleType.NVarChar).Value = dwData["VAFKZZOLL2"].ToString();
                    or1.Parameters.Add("VAFFARBGRP", OracleType.NVarChar).Value = dwData["VAFFARBGRP"].ToString();
                    or1.Parameters.Add("VAFMUFAEH", OracleType.NVarChar).Value = dwData["VAFMUFAEH"].ToString();
                    or1.Parameters.Add("VAFCOFAEH", OracleType.NVarChar).Value = dwData["VAFCOFAEH"].ToString();
                    or1.Parameters.Add("VAFMINPR1", OracleType.NVarChar).Value = dwData["VAFMINPR1"].ToString();
                    or1.Parameters.Add("VAFMINPR2", OracleType.NVarChar).Value = dwData["VAFMINPR2"].ToString();
                    or1.Parameters.Add("VAFABVK", OracleType.NVarChar).Value = dwData["VAFABVK"].ToString();
                    or1.Parameters.Add("VAFSFERTKZ", OracleType.NVarChar).Value = dwData["VAFSFERTKZ"].ToString();
                    or1.Parameters.Add("VAFEAN", OracleType.NVarChar).Value = dwData["VAFEAN"].ToString();
                    or1.Parameters.Add("VAFPGROE", OracleType.NVarChar).Value = dwData["VAFPGROE"].ToString();
                    or1.Parameters.Add("VAFARTBEZ", OracleType.NVarChar).Value = dwData["VAFARTBEZ"].ToString();
                    or1.Parameters.Add("VAFZUSTAND", OracleType.NVarChar).Value = dwData["VAFZUSTAND"].ToString();
                    or1.Parameters.Add("VAFURCODE1", OracleType.NVarChar).Value = dwData["VAFURCODE1"].ToString();
                    or1.Parameters.Add("VAFURCODE2", OracleType.NVarChar).Value = dwData["VAFURCODE2"].ToString();
                    or1.Parameters.Add("VAFURCODE3", OracleType.NVarChar).Value = dwData["VAFURCODE3"].ToString();
                    or1.Parameters.Add("VAFURCODE4", OracleType.NVarChar).Value = dwData["VAFURCODE4"].ToString();
                    or1.Parameters.Add("VAFKZDUMCOL", OracleType.NVarChar).Value = dwData["VAFKZDUMCOL"].ToString();
                    or1.Parameters.Add("VAFLASCHE", OracleType.NVarChar).Value = dwData["VAFLASCHE"].ToString();
                    or1.Parameters.Add("VAFPVARKZ", OracleType.NVarChar).Value = dwData["VAFPVARKZ"].ToString();
                    or1.Parameters.Add("VAFSTANDARD", OracleType.NVarChar).Value = dwData["VAFSTANDARD"].ToString();
                    or1.Parameters.Add("VAFEANLASCHE", OracleType.NVarChar).Value = dwData["VAFEANLASCHE"].ToString();
                    or1.Parameters.Add("VAFFILLER", OracleType.NVarChar).Value = dwData["VAFFILLER"].ToString();
                    or1.Parameters.Add("VAFAENDZL", OracleType.NVarChar).Value = dwData["VAFAENDZL"].ToString();
                    or1.Parameters.Add("VAFAENDBEN", OracleType.NVarChar).Value = dwData["VAFAENDBEN"].ToString();
                    or1.Parameters.Add("VAFAENDDAT", OracleType.NVarChar).Value = dwData["VAFAENDDAT"].ToString();
                    or1.Parameters.Add("VAFNEUBEN", OracleType.NVarChar).Value = dwData["VAFNEUBEN"].ToString();
                    or1.Parameters.Add("VAFNEUDAT", OracleType.NVarChar).Value = dwData["VAFNEUDAT"].ToString();
                    #endregion
                    break;
                case 2:
                    #region====Parameters====
                    or1.CommandText = " UPDATE VAFARBEN SET "
                + "VAFARTBEZ=:VAFARTBEZ"
                + " WHERE  "
                + "  VAFMANDANT=:VAFMANDANT  AND VAFART=:VAFART  ";
                    or1.Parameters.Add("VAFMANDANT", OracleType.NVarChar).Value = dwData["VAFMANDANT"].ToString();
                    or1.Parameters.Add("VAFART", OracleType.NVarChar).Value = dwData["VAFART"].ToString();
                    or1.Parameters.Add("VAFARTBEZ", OracleType.NVarChar).Value = dwData["VAFARTBEZ"].ToString();
                    #endregion
                    break;
                default:
                    break;
            }


            Connect2Proxy(or1);
        }
        public void UpdateVKKOPF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====

            or1.CommandText = "UPDATE VKKOPF SET VKKLIEFALLG=:VKKLIEFALLG,VKKRECHALLG=:VKKRECHALLG,VKKLVORALLG=:VKKLVORALLG,"
                + "VKKIVVTALLG=:VKKIVVTALLG,VKKIVDIALLG=:VKKIVDIALLG,VKKANL1TXT=:VKKANL1TXT,VKKANL2TXT=:VKKANL2TXT,VKKANL3TXT=:VKKANL3TXT,"
                + "VKKDBLATT=:VKKDBLATT,VKKTBRIEF=:VKKTBRIEF,VKKARTBILD=:VKKARTBILD,VKKFORMAT=:VKKFORMAT,VKKZEUGNIS=:VKKZEUGNIS,VKKRES1=:VKKRES1,"
                + "VKKRES2=:VKKRES2,VKKVKZUABVH=:VKKVKZUABVH,VKKVKZUADR=:VKKVKZUADR,VKKKZPRNEU=:VKKKZPRNEU,VKKKZFRNEU=:VKKKZFRNEU,VKKVAEAKZ=:VKKVAEAKZ,"
                + "VKKMUKRS=:VKKMUKRS,VKKMULFD=:VKKMULFD,VKKMUPOS=:VKKMUPOS,VKKCPKRS=:VKKCPKRS,VKKCPLFD=:VKKCPLFD,VKKCPPOS=:VKKCPPOS,"
                + "VKKEDIKZ=:VKKEDIKZ,VKKKOMMNR=:VKKKOMMNR,VKKEDIDAT=:VKKEDIDAT,VKKEDIZEIT=:VKKEDIZEIT,VKKABSAUFART=:VKKABSAUFART,VKKARCHKZ=:VKKARCHKZ,"
                + "VKKARCHDAT=:VKKARCHDAT,VKKARCHBEL=:VKKARCHBEL,VKKOPITEM=:VKKOPITEM,VKKABSCHR=:VKKABSCHR,VKKSFEUCHTE=:VKKSFEUCHTE,VKKAFEUCHTE=:VKKAFEUCHTE,VKKFEUKZ=:VKKFEUKZ,"
                + "VKKABRKZ=:VKKABRKZ,VKKVTYP=:VKKVTYP,VKKEXMANDANT=:VKKEXMANDANT,VKKWEGBINICH=:VKKWEGBINICH,VKKOFFNEU=:VKKOFFNEU,VKKINDEXNA1=:VKKINDEXNA1,VKKINDEXBA1=:VKKINDEXBA1,"
                + "VKKINDEXHS1=:VKKINDEXHS1,VKKINDEXNA2=:VKKINDEXNA2,VKKINDEXBA2=:VKKINDEXBA2,VKKINDEXHS2=:VKKINDEXHS2,VKKINDEXNA3=:VKKINDEXNA3,VKKINDEXBA3=:VKKINDEXBA3,"
                + "VKKINDEXHS3=:VKKINDEXHS3,VKKHUELBE=:VKKHUELBE,VKKRATIFI=:VKKRATIFI,VKKMU1ANZ=:VKKMU1ANZ,VKKMU1GR=:VKKMU1GR,VKKMU1ME=:VKKMU1ME,VKKMU1PROMG=:VKKMU1PROMG,"
                + "VKKMU2ANZ=:VKKMU2ANZ,VKKMU2GR=:VKKMU2GR,VKKMU2ME=:VKKMU2ME,VKKMU2PROMG=:VKKMU2PROMG,VKKFILLER=:VKKFILLER,VKKPRGRPV=:VKKPRGRPV,VKKPRGRPZ=:VKKPRGRPZ,"
                + "VKKPRGRPSTD=:VKKPRGRPSTD,VKKPROJNR=:VKKPROJNR,VKKVKART=:VKKVKART,VKKKUNDNRST=:VKKKUNDNRST,VKKABNGRPST=:VKKABNGRPST,VKKGLOBAL=:VKKGLOBAL,"
                + "VKKKOMENGE=:VKKKOMENGE,VKKEINGET=:VKKEINGET,VKKOFFEN=:VKKOFFEN,VKKEINGETOV=:VKKEINGETOV,VKKEINGETPO=:VKKEINGETPO,VKKCORQTY=:VKKCORQTY,VKKLIMGWO=:VKKLIMGWO,VKKMEEH=:VKKMEEH,"
                + "VKKMEEHGRP=:VKKMEEHGRP,VKKMEEHFKT=:VKKMEEHFKT,VKKKOMENGET1=:VKKKOMENGET1,VKKKOMENGET2=:VKKKOMENGET2,VKKKOMENGET3=:VKKKOMENGET3,VKKKOMENGET4=:VKKKOMENGET4,VKKEINTT1=:VKKEINTT1,"
                + "VKKEINTT2=:VKKEINTT2,VKKEINTT3=:VKKEINTT3,VKKEINTT4=:VKKEINTT4,VKKOFFENT1=:VKKOFFENT1,VKKOFFENT2=:VKKOFFENT2,VKKOFFENT3=:VKKOFFENT3,VKKOFFENT4=:VKKOFFENT4,"
                + "VKKEINTTOV1=:VKKEINTTOV1,VKKEINTTOV2=:VKKEINTTOV2,VKKEINTTOV3=:VKKEINTTOV3,VKKEINTTOV4=:VKKEINTTOV4,VKKEINTTPO1=:VKKEINTTPO1,VKKEINTTPO2=:VKKEINTTPO2,"
                + "VKKEINTTPO3=:VKKEINTTPO3,VKKEINTTPO4=:VKKEINTTPO4,VKKCORQTYT1=:VKKCORQTYT1,VKKCORQTYT2=:VKKCORQTYT2,VKKCORQTYT3=:VKKCORQTYT3,VKKCORQTYT4=:VKKCORQTYT4,VKKLIMGWOT1=:VKKLIMGWOT1,"
                + "VKKLIMGWOT2=:VKKLIMGWOT2,VKKLIMGWOT3=:VKKLIMGWOT3,VKKLIMGWOT4=:VKKLIMGWOT4,VKKRSTBEZ=:VKKRSTBEZ,VKKOPTION=:VKKOPTION,VKKOPTANBIS=:VKKOPTANBIS,"
                + "VKKOPTANAM=:VKKOPTANAM,VKKDECKPROZ=:VKKDECKPROZ,VKKWDECKDAT=:VKKWDECKDAT,VKKUEBEINT=:VKKUEBEINT,VKKMINBEST=:VKKMINBEST,VKKMAXBEST=:VKKMAXBEST,VKKSCHRAST=:VKKSCHRAST,VKKGESMENGE1=:VKKGESMENGE1,"
                + "VKKGESMENGE2=:VKKGESMENGE2,VKKGESMENGE3=:VKKGESMENGE3,VKKGESMENGE4=:VKKGESMENGE4,VKKGESWERT=:VKKGESWERT,VKKCOVPRC=:VKKCOVPRC,VKKAKKREDNR=:VKKAKKREDNR,VKKGESSTA=:VKKGESSTA,VKKKDSTA=:VKKKDSTA,"
                + "VKKAUFSTA=:VKKAUFSTA,VKKPOSSTA=:VKKPOSSTA,VKKSTA4=:VKKSTA4,VKKKURS=:VKKKURS,VKKBETRAG=:VKKBETRAG,VKKVKURS=:VKKVKURS,VKKVBETRAG=:VKKVBETRAG,VKKSCHWPLU=:VKKSCHWPLU,"
                + "VKKSCHWMIN=:VKKSCHWMIN,VKKHWAEHRSL=:VKKHWAEHRSL,VKKHEUROKURS=:VKKHEUROKURS,VKKHEUROKURSVK=:VKKHEUROKURSVK,VKKFEUROKURS=:VKKFEUROKURS,"
                + "VKKFEUROKURSVK=:VKKFEUROKURSVK,VKKALTWAEHR=:VKKALTWAEHR,VKKALTWAEHRF=:VKKALTWAEHRF,VKKVALUTA=:VKKVALUTA,VKKVALDAT=:VKKVALDAT,VKKWAEHRSL=:VKKWAEHRSL,"
                + "VKKZAHLBED=:VKKZAHLBED,VKKEKON=:VKKEKON,VKKKDVKL=:VKKKDVKL,VKKLIEFBED=:VKKLIEFBED,VKKLANDU=:VKKLANDU,VKKPLZU=:VKKPLZU,VKKORTU=:VKKORTU,VKKBZU=:VKKBZU,"
                + "VKKBZBEZU=:VKKBZBEZU,VKKCOUNTYU=:VKKCOUNTYU,VKKCITYU=:VKKCITYU,VKKLIEFKOMP=:VKKLIEFKOMP,VKKVERSART=:VKKVERSART,VKKSPED=:VKKSPED,VKKZUSATZ=:VKKZUSATZ,VKKDRBEST=:VKKDRBEST,VKKBSTDAT=:VKKBSTDAT,"
                + "VKKANGETEXT=:VKKANGETEXT,VKKANGEWIE=:VKKANGEWIE,VKKBESTTEXT=:VKKBESTTEXT,VKKBESTWIE=:VKKBESTWIE,VKKLIEFTEXT=:VKKLIEFTEXT,VKKLIEFWIE=:VKKLIEFWIE,VKKRECHTEXT=:VKKRECHTEXT,"
                + "VKKRECHWIE=:VKKRECHWIE,VKKLVORTEXT=:VKKLVORTEXT,VKKLVORWIE=:VKKLVORWIE,VKKIVVTTEXT=:VKKIVVTTEXT,VKKIVVTWIE=:VKKIVVTWIE,VKKIVDITEXT=:VKKIVDITEXT,VKKIVDIWIE=:VKKIVDIWIE,VKKAGT=:VKKAGT,"
                + "VKKANGEALLG=:VKKANGEALLG,VKKBESTALLG=:VKKBESTALLG,VKKMANDANT=:VKKMANDANT,VKKSA=:VKKSA,VKKAUFKRS=:VKKAUFKRS,VKKAUFLFD=:VKKAUFLFD,VKKAENDST=:VKKAENDST,"
                + "VKKAENDZL=:VKKAENDZL,VKKAENDBEN=:VKKAENDBEN,VKKAENDDAT=:VKKAENDDAT,VKKNEUBEN=:VKKNEUBEN,VKKNEUDAT=:VKKNEUDAT,VKKAESTAT=:VKKAESTAT,"
                + "VKKAUFART=:VKKAUFART,VKKKUNDNR=:VKKKUNDNR,VKKVB=:VKKVB,VKKVG=:VKKVG,VKKADRSL=:VKKADRSL,VKKVERBNR=:VKKVERBNR,VKKZENTR=:VKKZENTR,VKKZENTRR=:VKKZENTRR,VKKKREDKDNR=:VKKKREDKDNR,VKKKDARTBEZ=:VKKKDARTBEZ,VKKORDER=:VKKORDER,"
                + "VKKANSPRECH=:VKKANSPRECH,VKKANSPZUS=:VKKANSPZUS,VKKBESTNR=:VKKBESTNR,VKKBESTDAT=:VKKBESTDAT,VKKGLTVON=:VKKGLTVON,VKKGLTBIS=:VKKGLTBIS,"
                + "VKKETAB=:VKKETAB,VKKBESTSB=:VKKBESTSB,VKKAEDAT=:VKKAEDAT,VKKSACHBE=:VKKSACHBE,VKKPRGRP=:VKKPRGRP"
                + " WHERE  "
                + "  VKKMANDANT=:VKKMANDANT AND VKKAUFKRS=:VKKAUFKRS AND VKKAUFLFD=:VKKAUFLFD";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("VKKLIEFALLG", OracleType.NVarChar).Value = dwData["VKKLIEFALLG"].ToString();
            or1.Parameters.Add("VKKRECHALLG", OracleType.NVarChar).Value = dwData["VKKRECHALLG"].ToString();
            or1.Parameters.Add("VKKLVORALLG", OracleType.NVarChar).Value = dwData["VKKLVORALLG"].ToString();
            or1.Parameters.Add("VKKIVVTALLG", OracleType.NVarChar).Value = dwData["VKKIVVTALLG"].ToString();
            or1.Parameters.Add("VKKIVDIALLG", OracleType.NVarChar).Value = dwData["VKKIVDIALLG"].ToString();
            or1.Parameters.Add("VKKANL1TXT", OracleType.NVarChar).Value = dwData["VKKANL1TXT"].ToString();
            or1.Parameters.Add("VKKANL2TXT", OracleType.NVarChar).Value = dwData["VKKANL2TXT"].ToString();
            or1.Parameters.Add("VKKANL3TXT", OracleType.NVarChar).Value = dwData["VKKANL3TXT"].ToString();
            or1.Parameters.Add("VKKDBLATT", OracleType.NVarChar).Value = dwData["VKKDBLATT"].ToString();
            or1.Parameters.Add("VKKTBRIEF", OracleType.NVarChar).Value = dwData["VKKTBRIEF"].ToString();
            or1.Parameters.Add("VKKARTBILD", OracleType.NVarChar).Value = dwData["VKKARTBILD"].ToString();
            or1.Parameters.Add("VKKFORMAT", OracleType.NVarChar).Value = dwData["VKKFORMAT"].ToString();
            or1.Parameters.Add("VKKZEUGNIS", OracleType.NVarChar).Value = dwData["VKKZEUGNIS"].ToString();
            or1.Parameters.Add("VKKRES1", OracleType.NVarChar).Value = dwData["VKKRES1"].ToString();
            or1.Parameters.Add("VKKRES2", OracleType.NVarChar).Value = dwData["VKKRES2"].ToString();
            or1.Parameters.Add("VKKVKZUABVH", OracleType.NVarChar).Value = dwData["VKKVKZUABVH"].ToString();
            or1.Parameters.Add("VKKVKZUADR", OracleType.NVarChar).Value = dwData["VKKVKZUADR"].ToString();
            or1.Parameters.Add("VKKKZPRNEU", OracleType.NVarChar).Value = dwData["VKKKZPRNEU"].ToString();
            or1.Parameters.Add("VKKKZFRNEU", OracleType.NVarChar).Value = dwData["VKKKZFRNEU"].ToString();
            or1.Parameters.Add("VKKVAEAKZ", OracleType.NVarChar).Value = dwData["VKKVAEAKZ"].ToString();
            or1.Parameters.Add("VKKMUKRS", OracleType.NVarChar).Value = dwData["VKKMUKRS"].ToString();
            or1.Parameters.Add("VKKMULFD", OracleType.NVarChar).Value = dwData["VKKMULFD"].ToString();
            or1.Parameters.Add("VKKMUPOS", OracleType.NVarChar).Value = dwData["VKKMUPOS"].ToString();
            or1.Parameters.Add("VKKCPKRS", OracleType.NVarChar).Value = dwData["VKKCPKRS"].ToString();
            or1.Parameters.Add("VKKCPLFD", OracleType.NVarChar).Value = dwData["VKKCPLFD"].ToString();
            or1.Parameters.Add("VKKCPPOS", OracleType.NVarChar).Value = dwData["VKKCPPOS"].ToString();
            or1.Parameters.Add("VKKEDIKZ", OracleType.NVarChar).Value = dwData["VKKEDIKZ"].ToString();
            or1.Parameters.Add("VKKKOMMNR", OracleType.NVarChar).Value = dwData["VKKKOMMNR"].ToString();
            or1.Parameters.Add("VKKEDIDAT", OracleType.NVarChar).Value = dwData["VKKEDIDAT"].ToString();
            or1.Parameters.Add("VKKEDIZEIT", OracleType.NVarChar).Value = dwData["VKKEDIZEIT"].ToString();
            or1.Parameters.Add("VKKABSAUFART", OracleType.NVarChar).Value = dwData["VKKABSAUFART"].ToString();
            or1.Parameters.Add("VKKARCHKZ", OracleType.NVarChar).Value = dwData["VKKARCHKZ"].ToString();
            or1.Parameters.Add("VKKARCHDAT", OracleType.NVarChar).Value = dwData["VKKARCHDAT"].ToString();
            or1.Parameters.Add("VKKARCHBEL", OracleType.NVarChar).Value = dwData["VKKARCHBEL"].ToString();
            or1.Parameters.Add("VKKOPITEM", OracleType.NVarChar).Value = dwData["VKKOPITEM"].ToString();
            or1.Parameters.Add("VKKABSCHR", OracleType.NVarChar).Value = dwData["VKKABSCHR"].ToString();
            or1.Parameters.Add("VKKSFEUCHTE", OracleType.NVarChar).Value = dwData["VKKSFEUCHTE"].ToString();
            or1.Parameters.Add("VKKAFEUCHTE", OracleType.NVarChar).Value = dwData["VKKAFEUCHTE"].ToString();
            or1.Parameters.Add("VKKFEUKZ", OracleType.NVarChar).Value = dwData["VKKFEUKZ"].ToString();
            or1.Parameters.Add("VKKABRKZ", OracleType.NVarChar).Value = dwData["VKKABRKZ"].ToString();
            or1.Parameters.Add("VKKVTYP", OracleType.NVarChar).Value = dwData["VKKVTYP"].ToString();
            or1.Parameters.Add("VKKEXMANDANT", OracleType.NVarChar).Value = dwData["VKKEXMANDANT"].ToString();
            or1.Parameters.Add("VKKWEGBINICH", OracleType.NVarChar).Value = dwData["VKKWEGBINICH"].ToString();
            or1.Parameters.Add("VKKOFFNEU", OracleType.NVarChar).Value = dwData["VKKOFFNEU"].ToString();
            or1.Parameters.Add("VKKINDEXNA1", OracleType.NVarChar).Value = dwData["VKKINDEXNA1"].ToString();
            or1.Parameters.Add("VKKINDEXBA1", OracleType.NVarChar).Value = dwData["VKKINDEXBA1"].ToString();
            or1.Parameters.Add("VKKINDEXHS1", OracleType.NVarChar).Value = dwData["VKKINDEXHS1"].ToString();
            or1.Parameters.Add("VKKINDEXNA2", OracleType.NVarChar).Value = dwData["VKKINDEXNA2"].ToString();
            or1.Parameters.Add("VKKINDEXBA2", OracleType.NVarChar).Value = dwData["VKKINDEXBA2"].ToString();
            or1.Parameters.Add("VKKINDEXHS2", OracleType.NVarChar).Value = dwData["VKKINDEXHS2"].ToString();
            or1.Parameters.Add("VKKINDEXNA3", OracleType.NVarChar).Value = dwData["VKKINDEXNA3"].ToString();
            or1.Parameters.Add("VKKINDEXBA3", OracleType.NVarChar).Value = dwData["VKKINDEXBA3"].ToString();
            or1.Parameters.Add("VKKINDEXHS3", OracleType.NVarChar).Value = dwData["VKKINDEXHS3"].ToString();
            or1.Parameters.Add("VKKHUELBE", OracleType.NVarChar).Value = dwData["VKKHUELBE"].ToString();
            or1.Parameters.Add("VKKRATIFI", OracleType.NVarChar).Value = dwData["VKKRATIFI"].ToString();
            or1.Parameters.Add("VKKMU1ANZ", OracleType.NVarChar).Value = dwData["VKKMU1ANZ"].ToString();
            or1.Parameters.Add("VKKMU1GR", OracleType.NVarChar).Value = dwData["VKKMU1GR"].ToString();
            or1.Parameters.Add("VKKMU1ME", OracleType.NVarChar).Value = dwData["VKKMU1ME"].ToString();
            or1.Parameters.Add("VKKMU1PROMG", OracleType.NVarChar).Value = dwData["VKKMU1PROMG"].ToString();
            or1.Parameters.Add("VKKMU2ANZ", OracleType.NVarChar).Value = dwData["VKKMU2ANZ"].ToString();
            or1.Parameters.Add("VKKMU2GR", OracleType.NVarChar).Value = dwData["VKKMU2GR"].ToString();
            or1.Parameters.Add("VKKMU2ME", OracleType.NVarChar).Value = dwData["VKKMU2ME"].ToString();
            or1.Parameters.Add("VKKMU2PROMG", OracleType.NVarChar).Value = dwData["VKKMU2PROMG"].ToString();
            or1.Parameters.Add("VKKFILLER", OracleType.NVarChar).Value = dwData["VKKFILLER"].ToString();
            or1.Parameters.Add("VKKPRGRPV", OracleType.NVarChar).Value = dwData["VKKPRGRPV"].ToString();
            or1.Parameters.Add("VKKPRGRPZ", OracleType.NVarChar).Value = dwData["VKKPRGRPZ"].ToString();
            or1.Parameters.Add("VKKPRGRPSTD", OracleType.NVarChar).Value = dwData["VKKPRGRPSTD"].ToString();
            or1.Parameters.Add("VKKPROJNR", OracleType.NVarChar).Value = dwData["VKKPROJNR"].ToString();
            or1.Parameters.Add("VKKVKART", OracleType.NVarChar).Value = dwData["VKKVKART"].ToString();
            or1.Parameters.Add("VKKKUNDNRST", OracleType.NVarChar).Value = dwData["VKKKUNDNRST"].ToString();
            or1.Parameters.Add("VKKABNGRPST", OracleType.NVarChar).Value = dwData["VKKABNGRPST"].ToString();
            or1.Parameters.Add("VKKGLOBAL", OracleType.NVarChar).Value = dwData["VKKGLOBAL"].ToString();
            or1.Parameters.Add("VKKKOMENGE", OracleType.NVarChar).Value = dwData["VKKKOMENGE"].ToString();
            or1.Parameters.Add("VKKEINGET", OracleType.NVarChar).Value = dwData["VKKEINGET"].ToString();
            or1.Parameters.Add("VKKOFFEN", OracleType.NVarChar).Value = dwData["VKKOFFEN"].ToString();
            or1.Parameters.Add("VKKEINGETOV", OracleType.NVarChar).Value = dwData["VKKEINGETOV"].ToString();
            or1.Parameters.Add("VKKEINGETPO", OracleType.NVarChar).Value = dwData["VKKEINGETPO"].ToString();
            or1.Parameters.Add("VKKCORQTY", OracleType.NVarChar).Value = dwData["VKKCORQTY"].ToString();
            or1.Parameters.Add("VKKLIMGWO", OracleType.NVarChar).Value = dwData["VKKLIMGWO"].ToString();
            or1.Parameters.Add("VKKMEEH", OracleType.NVarChar).Value = dwData["VKKMEEH"].ToString();
            or1.Parameters.Add("VKKMEEHGRP", OracleType.NVarChar).Value = dwData["VKKMEEHGRP"].ToString();
            or1.Parameters.Add("VKKMEEHFKT", OracleType.NVarChar).Value = dwData["VKKMEEHFKT"].ToString();
            or1.Parameters.Add("VKKKOMENGET1", OracleType.NVarChar).Value = dwData["VKKKOMENGET1"].ToString();
            or1.Parameters.Add("VKKKOMENGET2", OracleType.NVarChar).Value = dwData["VKKKOMENGET2"].ToString();
            or1.Parameters.Add("VKKKOMENGET3", OracleType.NVarChar).Value = dwData["VKKKOMENGET3"].ToString();
            or1.Parameters.Add("VKKKOMENGET4", OracleType.NVarChar).Value = dwData["VKKKOMENGET4"].ToString();
            or1.Parameters.Add("VKKEINTT1", OracleType.NVarChar).Value = dwData["VKKEINTT1"].ToString();
            or1.Parameters.Add("VKKEINTT2", OracleType.NVarChar).Value = dwData["VKKEINTT2"].ToString();
            or1.Parameters.Add("VKKEINTT3", OracleType.NVarChar).Value = dwData["VKKEINTT3"].ToString();
            or1.Parameters.Add("VKKEINTT4", OracleType.NVarChar).Value = dwData["VKKEINTT4"].ToString();
            or1.Parameters.Add("VKKOFFENT1", OracleType.NVarChar).Value = dwData["VKKOFFENT1"].ToString();
            or1.Parameters.Add("VKKOFFENT2", OracleType.NVarChar).Value = dwData["VKKOFFENT2"].ToString();
            or1.Parameters.Add("VKKOFFENT3", OracleType.NVarChar).Value = dwData["VKKOFFENT3"].ToString();
            or1.Parameters.Add("VKKOFFENT4", OracleType.NVarChar).Value = dwData["VKKOFFENT4"].ToString();
            or1.Parameters.Add("VKKEINTTOV1", OracleType.NVarChar).Value = dwData["VKKEINTTOV1"].ToString();
            or1.Parameters.Add("VKKEINTTOV2", OracleType.NVarChar).Value = dwData["VKKEINTTOV2"].ToString();
            or1.Parameters.Add("VKKEINTTOV3", OracleType.NVarChar).Value = dwData["VKKEINTTOV3"].ToString();
            or1.Parameters.Add("VKKEINTTOV4", OracleType.NVarChar).Value = dwData["VKKEINTTOV4"].ToString();
            or1.Parameters.Add("VKKEINTTPO1", OracleType.NVarChar).Value = dwData["VKKEINTTPO1"].ToString();
            or1.Parameters.Add("VKKEINTTPO2", OracleType.NVarChar).Value = dwData["VKKEINTTPO2"].ToString();
            or1.Parameters.Add("VKKEINTTPO3", OracleType.NVarChar).Value = dwData["VKKEINTTPO3"].ToString();
            or1.Parameters.Add("VKKEINTTPO4", OracleType.NVarChar).Value = dwData["VKKEINTTPO4"].ToString();
            or1.Parameters.Add("VKKCORQTYT1", OracleType.NVarChar).Value = dwData["VKKCORQTYT1"].ToString();
            or1.Parameters.Add("VKKCORQTYT2", OracleType.NVarChar).Value = dwData["VKKCORQTYT2"].ToString();
            or1.Parameters.Add("VKKCORQTYT3", OracleType.NVarChar).Value = dwData["VKKCORQTYT3"].ToString();
            or1.Parameters.Add("VKKCORQTYT4", OracleType.NVarChar).Value = dwData["VKKCORQTYT4"].ToString();
            or1.Parameters.Add("VKKLIMGWOT1", OracleType.NVarChar).Value = dwData["VKKLIMGWOT1"].ToString();
            or1.Parameters.Add("VKKLIMGWOT2", OracleType.NVarChar).Value = dwData["VKKLIMGWOT2"].ToString();
            or1.Parameters.Add("VKKLIMGWOT3", OracleType.NVarChar).Value = dwData["VKKLIMGWOT3"].ToString();
            or1.Parameters.Add("VKKLIMGWOT4", OracleType.NVarChar).Value = dwData["VKKLIMGWOT4"].ToString();
            or1.Parameters.Add("VKKRSTBEZ", OracleType.NVarChar).Value = dwData["VKKRSTBEZ"].ToString();
            or1.Parameters.Add("VKKOPTION", OracleType.NVarChar).Value = dwData["VKKOPTION"].ToString();
            or1.Parameters.Add("VKKOPTANBIS", OracleType.NVarChar).Value = dwData["VKKOPTANBIS"].ToString();
            or1.Parameters.Add("VKKOPTANAM", OracleType.NVarChar).Value = dwData["VKKOPTANAM"].ToString();
            or1.Parameters.Add("VKKDECKPROZ", OracleType.NVarChar).Value = dwData["VKKDECKPROZ"].ToString();
            or1.Parameters.Add("VKKWDECKDAT", OracleType.NVarChar).Value = dwData["VKKWDECKDAT"].ToString();
            or1.Parameters.Add("VKKUEBEINT", OracleType.NVarChar).Value = dwData["VKKUEBEINT"].ToString();
            or1.Parameters.Add("VKKMINBEST", OracleType.NVarChar).Value = dwData["VKKMINBEST"].ToString();
            or1.Parameters.Add("VKKMAXBEST", OracleType.NVarChar).Value = dwData["VKKMAXBEST"].ToString();
            or1.Parameters.Add("VKKSCHRAST", OracleType.NVarChar).Value = dwData["VKKSCHRAST"].ToString();
            or1.Parameters.Add("VKKGESMENGE1", OracleType.NVarChar).Value = dwData["VKKGESMENGE1"].ToString();
            or1.Parameters.Add("VKKGESMENGE2", OracleType.NVarChar).Value = dwData["VKKGESMENGE2"].ToString();
            or1.Parameters.Add("VKKGESMENGE3", OracleType.NVarChar).Value = dwData["VKKGESMENGE3"].ToString();
            or1.Parameters.Add("VKKGESMENGE4", OracleType.NVarChar).Value = dwData["VKKGESMENGE4"].ToString();
            or1.Parameters.Add("VKKGESWERT", OracleType.NVarChar).Value = dwData["VKKGESWERT"].ToString();
            or1.Parameters.Add("VKKCOVPRC", OracleType.NVarChar).Value = dwData["VKKCOVPRC"].ToString();
            or1.Parameters.Add("VKKAKKREDNR", OracleType.NVarChar).Value = dwData["VKKAKKREDNR"].ToString();
            or1.Parameters.Add("VKKGESSTA", OracleType.NVarChar).Value = dwData["VKKGESSTA"].ToString();
            or1.Parameters.Add("VKKKDSTA", OracleType.NVarChar).Value = dwData["VKKKDSTA"].ToString();
            or1.Parameters.Add("VKKAUFSTA", OracleType.NVarChar).Value = dwData["VKKAUFSTA"].ToString();
            or1.Parameters.Add("VKKPOSSTA", OracleType.NVarChar).Value = dwData["VKKPOSSTA"].ToString();
            or1.Parameters.Add("VKKSTA4", OracleType.NVarChar).Value = dwData["VKKSTA4"].ToString();
            or1.Parameters.Add("VKKKURS", OracleType.NVarChar).Value = dwData["VKKKURS"].ToString();
            or1.Parameters.Add("VKKBETRAG", OracleType.NVarChar).Value = dwData["VKKBETRAG"].ToString();
            or1.Parameters.Add("VKKVKURS", OracleType.NVarChar).Value = dwData["VKKVKURS"].ToString();
            or1.Parameters.Add("VKKVBETRAG", OracleType.NVarChar).Value = dwData["VKKVBETRAG"].ToString();
            or1.Parameters.Add("VKKSCHWPLU", OracleType.NVarChar).Value = dwData["VKKSCHWPLU"].ToString();
            or1.Parameters.Add("VKKSCHWMIN", OracleType.NVarChar).Value = dwData["VKKSCHWMIN"].ToString();
            or1.Parameters.Add("VKKHWAEHRSL", OracleType.NVarChar).Value = dwData["VKKHWAEHRSL"].ToString();
            or1.Parameters.Add("VKKHEUROKURS", OracleType.NVarChar).Value = dwData["VKKHEUROKURS"].ToString();
            or1.Parameters.Add("VKKHEUROKURSVK", OracleType.NVarChar).Value = dwData["VKKHEUROKURSVK"].ToString();
            or1.Parameters.Add("VKKFEUROKURS", OracleType.NVarChar).Value = dwData["VKKFEUROKURS"].ToString();
            or1.Parameters.Add("VKKFEUROKURSVK", OracleType.NVarChar).Value = dwData["VKKFEUROKURSVK"].ToString();
            or1.Parameters.Add("VKKALTWAEHR", OracleType.NVarChar).Value = dwData["VKKALTWAEHR"].ToString();
            or1.Parameters.Add("VKKALTWAEHRF", OracleType.NVarChar).Value = dwData["VKKALTWAEHRF"].ToString();
            or1.Parameters.Add("VKKVALUTA", OracleType.NVarChar).Value = dwData["VKKVALUTA"].ToString();
            or1.Parameters.Add("VKKVALDAT", OracleType.NVarChar).Value = dwData["VKKVALDAT"].ToString();
            or1.Parameters.Add("VKKWAEHRSL", OracleType.NVarChar).Value = dwData["VKKWAEHRSL"].ToString();
            or1.Parameters.Add("VKKZAHLBED", OracleType.NVarChar).Value = dwData["VKKZAHLBED"].ToString();
            or1.Parameters.Add("VKKEKON", OracleType.NVarChar).Value = dwData["VKKEKON"].ToString();
            or1.Parameters.Add("VKKKDVKL", OracleType.NVarChar).Value = dwData["VKKKDVKL"].ToString();
            or1.Parameters.Add("VKKLIEFBED", OracleType.NVarChar).Value = dwData["VKKLIEFBED"].ToString();
            or1.Parameters.Add("VKKLANDU", OracleType.NVarChar).Value = dwData["VKKLANDU"].ToString();
            or1.Parameters.Add("VKKPLZU", OracleType.NVarChar).Value = dwData["VKKPLZU"].ToString();
            or1.Parameters.Add("VKKORTU", OracleType.NVarChar).Value = dwData["VKKORTU"].ToString();
            or1.Parameters.Add("VKKBZU", OracleType.NVarChar).Value = dwData["VKKBZU"].ToString();
            or1.Parameters.Add("VKKBZBEZU", OracleType.NVarChar).Value = dwData["VKKBZBEZU"].ToString();
            or1.Parameters.Add("VKKCOUNTYU", OracleType.NVarChar).Value = dwData["VKKCOUNTYU"].ToString();
            or1.Parameters.Add("VKKCITYU", OracleType.NVarChar).Value = dwData["VKKCITYU"].ToString();
            or1.Parameters.Add("VKKLIEFKOMP", OracleType.NVarChar).Value = dwData["VKKLIEFKOMP"].ToString();
            or1.Parameters.Add("VKKVERSART", OracleType.NVarChar).Value = dwData["VKKVERSART"].ToString();
            or1.Parameters.Add("VKKSPED", OracleType.NVarChar).Value = dwData["VKKSPED"].ToString();
            or1.Parameters.Add("VKKZUSATZ", OracleType.NVarChar).Value = dwData["VKKZUSATZ"].ToString();
            or1.Parameters.Add("VKKDRBEST", OracleType.NVarChar).Value = dwData["VKKDRBEST"].ToString();
            or1.Parameters.Add("VKKBSTDAT", OracleType.NVarChar).Value = dwData["VKKBSTDAT"].ToString();
            or1.Parameters.Add("VKKANGETEXT", OracleType.NVarChar).Value = dwData["VKKANGETEXT"].ToString();
            or1.Parameters.Add("VKKANGEWIE", OracleType.NVarChar).Value = dwData["VKKANGEWIE"].ToString();
            or1.Parameters.Add("VKKBESTTEXT", OracleType.NVarChar).Value = dwData["VKKBESTTEXT"].ToString();
            or1.Parameters.Add("VKKBESTWIE", OracleType.NVarChar).Value = dwData["VKKBESTWIE"].ToString();
            or1.Parameters.Add("VKKLIEFTEXT", OracleType.NVarChar).Value = dwData["VKKLIEFTEXT"].ToString();
            or1.Parameters.Add("VKKLIEFWIE", OracleType.NVarChar).Value = dwData["VKKLIEFWIE"].ToString();
            or1.Parameters.Add("VKKRECHTEXT", OracleType.NVarChar).Value = dwData["VKKRECHTEXT"].ToString();
            or1.Parameters.Add("VKKRECHWIE", OracleType.NVarChar).Value = dwData["VKKRECHWIE"].ToString();
            or1.Parameters.Add("VKKLVORTEXT", OracleType.NVarChar).Value = dwData["VKKLVORTEXT"].ToString();
            or1.Parameters.Add("VKKLVORWIE", OracleType.NVarChar).Value = dwData["VKKLVORWIE"].ToString();
            or1.Parameters.Add("VKKIVVTTEXT", OracleType.NVarChar).Value = dwData["VKKIVVTTEXT"].ToString();
            or1.Parameters.Add("VKKIVVTWIE", OracleType.NVarChar).Value = dwData["VKKIVVTWIE"].ToString();
            or1.Parameters.Add("VKKIVDITEXT", OracleType.NVarChar).Value = dwData["VKKIVDITEXT"].ToString();
            or1.Parameters.Add("VKKIVDIWIE", OracleType.NVarChar).Value = dwData["VKKIVDIWIE"].ToString();
            or1.Parameters.Add("VKKAGT", OracleType.NVarChar).Value = dwData["VKKAGT"].ToString();
            or1.Parameters.Add("VKKANGEALLG", OracleType.NVarChar).Value = dwData["VKKANGEALLG"].ToString();
            or1.Parameters.Add("VKKBESTALLG", OracleType.NVarChar).Value = dwData["VKKBESTALLG"].ToString();
            or1.Parameters.Add("VKKMANDANT", OracleType.NVarChar).Value = dwData["VKKMANDANT"].ToString();
            or1.Parameters.Add("VKKSA", OracleType.NVarChar).Value = dwData["VKKSA"].ToString();
            or1.Parameters.Add("VKKAUFKRS", OracleType.NVarChar).Value = dwData["VKKAUFKRS"].ToString();
            or1.Parameters.Add("VKKAUFLFD", OracleType.NVarChar).Value = dwData["VKKAUFLFD"].ToString();
            or1.Parameters.Add("VKKAENDST", OracleType.NVarChar).Value = dwData["VKKAENDST"].ToString();
            or1.Parameters.Add("VKKAENDZL", OracleType.NVarChar).Value = dwData["VKKAENDZL"].ToString();
            or1.Parameters.Add("VKKAENDBEN", OracleType.NVarChar).Value = dwData["VKKAENDBEN"].ToString();
            or1.Parameters.Add("VKKAENDDAT", OracleType.NVarChar).Value = dwData["VKKAENDDAT"].ToString();
            or1.Parameters.Add("VKKNEUBEN", OracleType.NVarChar).Value = dwData["VKKNEUBEN"].ToString();
            or1.Parameters.Add("VKKNEUDAT", OracleType.NVarChar).Value = dwData["VKKNEUDAT"].ToString();
            or1.Parameters.Add("VKKAESTAT", OracleType.NVarChar).Value = dwData["VKKAESTAT"].ToString();
            or1.Parameters.Add("VKKAUFART", OracleType.NVarChar).Value = dwData["VKKAUFART"].ToString();
            or1.Parameters.Add("VKKKUNDNR", OracleType.NVarChar).Value = dwData["VKKKUNDNR"].ToString();
            or1.Parameters.Add("VKKVB", OracleType.NVarChar).Value = dwData["VKKVB"].ToString();
            or1.Parameters.Add("VKKVG", OracleType.NVarChar).Value = dwData["VKKVG"].ToString();
            or1.Parameters.Add("VKKADRSL", OracleType.NVarChar).Value = dwData["VKKADRSL"].ToString();
            or1.Parameters.Add("VKKVERBNR", OracleType.NVarChar).Value = dwData["VKKVERBNR"].ToString();
            or1.Parameters.Add("VKKZENTR", OracleType.NVarChar).Value = dwData["VKKZENTR"].ToString();
            or1.Parameters.Add("VKKZENTRR", OracleType.NVarChar).Value = dwData["VKKZENTRR"].ToString();
            or1.Parameters.Add("VKKKREDKDNR", OracleType.NVarChar).Value = dwData["VKKKREDKDNR"].ToString();
            or1.Parameters.Add("VKKKDARTBEZ", OracleType.NVarChar).Value = dwData["VKKKDARTBEZ"].ToString();
            or1.Parameters.Add("VKKORDER", OracleType.NVarChar).Value = dwData["VKKORDER"].ToString();
            or1.Parameters.Add("VKKANSPRECH", OracleType.NVarChar).Value = dwData["VKKANSPRECH"].ToString();
            or1.Parameters.Add("VKKANSPZUS", OracleType.NVarChar).Value = dwData["VKKANSPZUS"].ToString();
            or1.Parameters.Add("VKKBESTNR", OracleType.NVarChar).Value = dwData["VKKBESTNR"].ToString();
            or1.Parameters.Add("VKKBESTDAT", OracleType.NVarChar).Value = dwData["VKKBESTDAT"].ToString();
            or1.Parameters.Add("VKKGLTVON", OracleType.NVarChar).Value = dwData["VKKGLTVON"].ToString();
            or1.Parameters.Add("VKKGLTBIS", OracleType.NVarChar).Value = dwData["VKKGLTBIS"].ToString();
            or1.Parameters.Add("VKKETAB", OracleType.NVarChar).Value = dwData["VKKETAB"].ToString();
            or1.Parameters.Add("VKKBESTSB", OracleType.NVarChar).Value = dwData["VKKBESTSB"].ToString();
            or1.Parameters.Add("VKKAEDAT", OracleType.NVarChar).Value = dwData["VKKAEDAT"].ToString();
            or1.Parameters.Add("VKKSACHBE", OracleType.NVarChar).Value = dwData["VKKSACHBE"].ToString();
            or1.Parameters.Add("VKKPRGRP", OracleType.NVarChar).Value = dwData["VKKPRGRP"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        private string GetDDMMYY(string YYYYMMDD)
        {
            //VKPLIEFTERM,VKPVERZTERM1,VKPVERZTERM2,VKPVERZTERM3,VKPVERZTERM4,VKPVERZTERM5对应的格式为YYYYMMDD
            string date = "";
            if (YYYYMMDD.Trim().Length < 8)
                return "        ";
            date = YYYYMMDD.Substring(6, 2) + "." + YYYYMMDD.Substring(4, 2) + "." + YYYYMMDD.Substring(2, 2);
            return date;
        }
        public void UpdateVKPOS(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region====Command====

                    or1.CommandText = "UPDATE VKPOS SET "
                        + "VKPMANDANT=:VKPMANDANT,"
                        + "VKPSA=:VKPSA,"
                        + "VKPAUFKRS=:VKPAUFKRS,"
                        + "VKPAUFLFD=:VKPAUFLFD,"
                        + "VKPAUFPOS=:VKPAUFPOS,"
                        + "VKPAENDST=:VKPAENDST,"
                        + "VKPAENDZL=:VKPAENDZL,"
                        + "VKPAENDBEN=:VKPAENDBEN,"
                        + "VKPAENDDAT=:VKPAENDDAT,"
                        + "VKPNEUBEN=:VKPNEUBEN,"
                        + "VKPNEUDAT=:VKPNEUDAT,"
                        + "VKPPAENDDAT=:VKPPAENDDAT,"
                        + "VKPPAENPROG=:VKPPAENPROG,"
                        + "VKPAESTAT=:VKPAESTAT,"
                        + "VKPVB=:VKPVB,"
                        + "VKPVG=:VKPVG,"
                        + "VKPKUNDNR=:VKPKUNDNR,"
                        + "VKPAUFART=:VKPAUFART,"
                        + "VKPSACHBE=:VKPSACHBE,"
                        + "VKPPOSTYP=:VKPPOSTYP,"
                        + "VKPABWERT=:VKPABWERT,"
                        + "VKPMUSTER=:VKPMUSTER,"
                        + "VKPABVK=:VKPABVK,"
                        + "VKPEIL=:VKPEIL,"
                        + "VKPEZEIT=:VKPEZEIT,"
                        + "VKPERL=:VKPERL,"
                        + "VKPPRODST=:VKPPRODST,"
                        + "VKPARTST=:VKPARTST,"
                        + "VKPKOLL=:VKPKOLL,"
                        + "VKPART=:VKPART,"
                        + "VKPFARBE=:VKPFARBE,"
                        + "VKPGROE=:VKPGROE,"
                        + "VKPZENSUR=:VKPZENSUR,"
                        + "VKPAUFMART=:VKPAUFMART,"
                        + "VKPVERPART=:VKPVERPART,"
                        + "VKPKURZBEZ=:VKPKURZBEZ,"
                        + "VKPKKOLL=:VKPKKOLL,"
                        + "VKPKDARTNR=:VKPKDARTNR,"
                        + "VKPKDBEZ=:VKPKDBEZ,"
                        + "VKPKDFARBNR=:VKPKDFARBNR,"
                        + "VKPPRGR=:VKPPRGR,"
                        + "VKPARTGRP=:VKPARTGRP,"
                        + "VKPDSACHB=:VKPDSACHB,"
                        + "VKPZIELGR=:VKPZIELGR,"
                        + "VKPMENGE1=:VKPMENGE1,"
                        + "VKPMENGE2=:VKPMENGE2,"
                        + "VKPRESERV=:VKPRESERV,"
                        + "VKPZUGET=:VKPZUGET,"
                        + "VKPFREIGE=:VKPFREIGE,"
                        + "VKPGAUFBEST=:VKPGAUFBEST,"
                        + "VKPKOMMISS=:VKPKOMMISS,"
                        + "VKPFAKT=:VKPFAKT,"
                        + "VKPVERS=:VKPVERS,"
                        + "VKPEINGET=:VKPEINGET,"
                        + "VKPOFFEN=:VKPOFFEN,"
                        + "VKPMEEH=:VKPMEEH,"
                        + "VKPMEEHGRP=:VKPMEEHGRP,"
                        + "VKPMEEHFKT=:VKPMEEHFKT,"
                        + "VKPMENGE1T1=:VKPMENGE1T1,"
                        + "VKPMENGE1T2=:VKPMENGE1T2,"
                        + "VKPMENGE1T3=:VKPMENGE1T3,"
                        + "VKPMENGE1T4=:VKPMENGE1T4,"
                        + "VKPRESERVT1=:VKPRESERVT1,"
                        + "VKPRESERVT2=:VKPRESERVT2,"
                        + "VKPRESERVT3=:VKPRESERVT3,"
                        + "VKPRESERVT4=:VKPRESERVT4,"
                        + "VKPZUGETT1=:VKPZUGETT1,"
                        + "VKPZUGETT2=:VKPZUGETT2,"
                        + "VKPZUGETT3=:VKPZUGETT3,"
                        + "VKPZUGETT4=:VKPZUGETT4,"
                        + "VKPFREIGET1=:VKPFREIGET1,"
                        + "VKPFREIGET2=:VKPFREIGET2,"
                        + "VKPFREIGET3=:VKPFREIGET3,"
                        + "VKPFREIGET4=:VKPFREIGET4,"
                        + "VKPGAUFBESTT1=:VKPGAUFBESTT1,"
                        + "VKPGAUFBESTT2=:VKPGAUFBESTT2,"
                        + "VKPGAUFBESTT3=:VKPGAUFBESTT3,"
                        + "VKPGAUFBESTT4=:VKPGAUFBESTT4,"
                        + "VKPKOMMIST1=:VKPKOMMIST1,"
                        + "VKPKOMMIST2=:VKPKOMMIST2,"
                        + "VKPKOMMIST3=:VKPKOMMIST3,"
                        + "VKPKOMMIST4=:VKPKOMMIST4,"
                        + "VKPFAKTT1=:VKPFAKTT1,"
                        + "VKPFAKTT2=:VKPFAKTT2,"
                        + "VKPFAKTT3=:VKPFAKTT3,"
                        + "VKPFAKTT4=:VKPFAKTT4,"
                        + "VKPVERST1=:VKPVERST1,"
                        + "VKPVERST2=:VKPVERST2,"
                        + "VKPVERST3=:VKPVERST3,"
                        + "VKPVERST4=:VKPVERST4,"
                        + "VKPEINTT1=:VKPEINTT1,"
                        + "VKPEINTT2=:VKPEINTT2,"
                        + "VKPEINTT3=:VKPEINTT3,"
                        + "VKPEINTT4=:VKPEINTT4,"
                        + "VKPOFFENT1=:VKPOFFENT1,"
                        + "VKPOFFENT2=:VKPOFFENT2,"
                        + "VKPOFFENT3=:VKPOFFENT3,"
                        + "VKPOFFENT4=:VKPOFFENT4,"
                        + "VKPWVTERM=:VKPWVTERM,"
                        + "VKPWUTERM=:VKPWUTERM,"
                        + "VKPFREITERM=:VKPFREITERM,"
                        + "VKPVERSTERM=:VKPVERSTERM,"
                        + "VKPLIEFTERM=:VKPLIEFTERM,"
                        + "VKPLIEFEING=:VKPLIEFEING,"
                        + "VKPEINTTERM=:VKPEINTTERM,"
                        + "VKPEINTEING=:VKPEINTEING,"
                        + "VKPVERZEING1=:VKPVERZEING1,"
                        + "VKPVERZTERM1=:VKPVERZTERM1,"
                        + "VKPBESTTERM1=:VKPBESTTERM1,"
                        + "VKPVERZEING2=:VKPVERZEING2,"
                        + "VKPVERZTERM2=:VKPVERZTERM2,"
                        + "VKPBESTTERM2=:VKPBESTTERM2,"
                        + "VKPVERZEING3=:VKPVERZEING3,"
                        + "VKPVERZTERM3=:VKPVERZTERM3,"
                        + "VKPBESTTERM3=:VKPBESTTERM3,"
                        + "VKPVERZEING4=:VKPVERZEING4,"
                        + "VKPVERZTERM4=:VKPVERZTERM4,"
                        + "VKPBESTTERM4=:VKPBESTTERM4,"
                        + "VKPVERZEING5=:VKPVERZEING5,"
                        + "VKPVERZTERM5=:VKPVERZTERM5,"
                        + "VKPBESTTERM5=:VKPBESTTERM5, "
                        + "VKPPREIS=:VKPPREIS,"
                        + "VKPPREH=:VKPPREH,"
                        + "VKPPOSWERT=:VKPPOSWERT,"
                        //+ "VKPARTUG=:VKPARTUG,"
                        //+ "VKPFARBEUG=:VKPFARBEUG,"
                        //+ "VKPARTOG=:VKPARTOG,"
                        //+ "VKPFARBEOG=:VKPFARBEOG,"
                        + "VKPMGV=:VKPMGV,"
                        + "VKPMGB=:VKPMGB,"
                        + "VKPVERSLO=:VKPVERSLO,"
                        + "VKPWAEHRSL=:VKPWAEHRSL,"
                        + "VKPBETRAG=:VKPBETRAG,"
                        + "VKPFAELLIG=:VKPFAELLIG,"
                        + "VKPFILLER2=:VKPFILLER2 "
                       + " WHERE  "
                       + "  VKPMANDANT=:VKPMANDANT  AND VKPSA=:VKPSA  AND VKPAUFKRS=:VKPAUFKRS AND VKPAUFLFD=:VKPAUFLFD AND VKPAUFPOS=:VKPAUFPOS";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VKPMANDANT", OracleType.NVarChar).Value = dwData["VKPMANDANT"].ToString();
                    or1.Parameters.Add("VKPSA", OracleType.NVarChar).Value = dwData["VKPSA"].ToString();
                    or1.Parameters.Add("VKPAUFKRS", OracleType.NVarChar).Value = dwData["VKPAUFKRS"].ToString();
                    or1.Parameters.Add("VKPAUFLFD", OracleType.NVarChar).Value = dwData["VKPAUFLFD"].ToString();
                    or1.Parameters.Add("VKPAUFPOS", OracleType.NVarChar).Value = dwData["VKPAUFPOS"].ToString();
                    or1.Parameters.Add("VKPAENDST", OracleType.NVarChar).Value = dwData["VKPAENDST"].ToString();
                    or1.Parameters.Add("VKPAENDZL", OracleType.NVarChar).Value = dwData["VKPAENDZL"].ToString();
                    or1.Parameters.Add("VKPAENDBEN", OracleType.NVarChar).Value = dwData["VKPAENDBEN"].ToString();
                    or1.Parameters.Add("VKPAENDDAT", OracleType.NVarChar).Value = dwData["VKPAENDDAT"].ToString();
                    or1.Parameters.Add("VKPNEUBEN", OracleType.NVarChar).Value = dwData["VKPNEUBEN"].ToString();
                    or1.Parameters.Add("VKPNEUDAT", OracleType.NVarChar).Value = dwData["VKPNEUDAT"].ToString();
                    or1.Parameters.Add("VKPPAENDDAT", OracleType.NVarChar).Value = dwData["VKPPAENDDAT"].ToString();
                    or1.Parameters.Add("VKPPAENPROG", OracleType.NVarChar).Value = dwData["VKPPAENPROG"].ToString();
                    or1.Parameters.Add("VKPAESTAT", OracleType.NVarChar).Value = dwData["VKPAESTAT"].ToString();
                    or1.Parameters.Add("VKPVB", OracleType.NVarChar).Value = dwData["VKPVB"].ToString();
                    or1.Parameters.Add("VKPVG", OracleType.NVarChar).Value = dwData["VKPVG"].ToString();
                    or1.Parameters.Add("VKPKUNDNR", OracleType.NVarChar).Value = dwData["VKPKUNDNR"].ToString();
                    or1.Parameters.Add("VKPAUFART", OracleType.NVarChar).Value = dwData["VKPAUFART"].ToString();
                    or1.Parameters.Add("VKPSACHBE", OracleType.NVarChar).Value = dwData["VKPSACHBE"].ToString();
                    or1.Parameters.Add("VKPPOSTYP", OracleType.NVarChar).Value = dwData["VKPPOSTYP"].ToString();
                    or1.Parameters.Add("VKPABWERT", OracleType.NVarChar).Value = dwData["VKPABWERT"].ToString();
                    or1.Parameters.Add("VKPMUSTER", OracleType.NVarChar).Value = dwData["VKPMUSTER"].ToString();
                    or1.Parameters.Add("VKPABVK", OracleType.NVarChar).Value = dwData["VKPABVK"].ToString();
                    or1.Parameters.Add("VKPEIL", OracleType.NVarChar).Value = dwData["VKPEIL"].ToString();
                    or1.Parameters.Add("VKPEZEIT", OracleType.NVarChar).Value = dwData["VKPEZEIT"].ToString();
                    or1.Parameters.Add("VKPERL", OracleType.NVarChar).Value = dwData["VKPERL"].ToString();
                    or1.Parameters.Add("VKPPRODST", OracleType.NVarChar).Value = dwData["VKPPRODST"].ToString();
                    or1.Parameters.Add("VKPARTST", OracleType.NVarChar).Value = dwData["VKPARTST"].ToString();
                    or1.Parameters.Add("VKPKOLL", OracleType.NVarChar).Value = dwData["VKPKOLL"].ToString();
                    or1.Parameters.Add("VKPART", OracleType.NVarChar).Value = dwData["VKPART"].ToString();
                    or1.Parameters.Add("VKPFARBE", OracleType.NVarChar).Value = dwData["VKPFARBE"].ToString();
                    or1.Parameters.Add("VKPGROE", OracleType.NVarChar).Value = dwData["VKPGROE"].ToString();
                    or1.Parameters.Add("VKPZENSUR", OracleType.NVarChar).Value = dwData["VKPZENSUR"].ToString();
                    or1.Parameters.Add("VKPAUFMART", OracleType.NVarChar).Value = dwData["VKPAUFMART"].ToString();
                    or1.Parameters.Add("VKPVERPART", OracleType.NVarChar).Value = dwData["VKPVERPART"].ToString();
                    or1.Parameters.Add("VKPKURZBEZ", OracleType.NVarChar).Value = dwData["VKPKURZBEZ"].ToString();
                    or1.Parameters.Add("VKPKKOLL", OracleType.NVarChar).Value = dwData["VKPKKOLL"].ToString();
                    or1.Parameters.Add("VKPKDARTNR", OracleType.NVarChar).Value = dwData["VKPKDARTNR"].ToString();
                    or1.Parameters.Add("VKPKDBEZ", OracleType.NVarChar).Value = dwData["VKPKDBEZ"].ToString();
                    or1.Parameters.Add("VKPKDFARBNR", OracleType.NVarChar).Value = dwData["VKPKDFARBNR"].ToString();
                    or1.Parameters.Add("VKPPRGR", OracleType.NVarChar).Value = dwData["VKPPRGR"].ToString();
                    or1.Parameters.Add("VKPARTGRP", OracleType.NVarChar).Value = dwData["VKPARTGRP"].ToString();
                    or1.Parameters.Add("VKPDSACHB", OracleType.NVarChar).Value = dwData["VKPDSACHB"].ToString();
                    or1.Parameters.Add("VKPZIELGR", OracleType.NVarChar).Value = dwData["VKPZIELGR"].ToString();
                    or1.Parameters.Add("VKPMENGE1", OracleType.NVarChar).Value = dwData["VKPMENGE1"].ToString();
                    or1.Parameters.Add("VKPMENGE2", OracleType.NVarChar).Value = dwData["VKPMENGE2"].ToString();
                    or1.Parameters.Add("VKPRESERV", OracleType.NVarChar).Value = dwData["VKPRESERV"].ToString();
                    or1.Parameters.Add("VKPZUGET", OracleType.NVarChar).Value = dwData["VKPZUGET"].ToString();
                    or1.Parameters.Add("VKPFREIGE", OracleType.NVarChar).Value = dwData["VKPFREIGE"].ToString();
                    or1.Parameters.Add("VKPGAUFBEST", OracleType.NVarChar).Value = dwData["VKPGAUFBEST"].ToString();
                    or1.Parameters.Add("VKPKOMMISS", OracleType.NVarChar).Value = dwData["VKPKOMMISS"].ToString();
                    or1.Parameters.Add("VKPFAKT", OracleType.NVarChar).Value = dwData["VKPFAKT"].ToString();
                    or1.Parameters.Add("VKPVERS", OracleType.NVarChar).Value = dwData["VKPVERS"].ToString();
                    or1.Parameters.Add("VKPEINGET", OracleType.NVarChar).Value = dwData["VKPEINGET"].ToString();
                    or1.Parameters.Add("VKPOFFEN", OracleType.NVarChar).Value = dwData["VKPOFFEN"].ToString();
                    or1.Parameters.Add("VKPMEEH", OracleType.NVarChar).Value = dwData["VKPMEEH"].ToString();
                    or1.Parameters.Add("VKPMEEHGRP", OracleType.NVarChar).Value = dwData["VKPMEEHGRP"].ToString();
                    or1.Parameters.Add("VKPMEEHFKT", OracleType.NVarChar).Value = dwData["VKPMEEHFKT"].ToString();
                    or1.Parameters.Add("VKPMENGE1T1", OracleType.NVarChar).Value = dwData["VKPMENGE1T1"].ToString();
                    or1.Parameters.Add("VKPMENGE1T2", OracleType.NVarChar).Value = dwData["VKPMENGE1T2"].ToString();
                    or1.Parameters.Add("VKPMENGE1T3", OracleType.NVarChar).Value = dwData["VKPMENGE1T3"].ToString();
                    or1.Parameters.Add("VKPMENGE1T4", OracleType.NVarChar).Value = dwData["VKPMENGE1T4"].ToString();
                    or1.Parameters.Add("VKPRESERVT1", OracleType.NVarChar).Value = dwData["VKPRESERVT1"].ToString();
                    or1.Parameters.Add("VKPRESERVT2", OracleType.NVarChar).Value = dwData["VKPRESERVT2"].ToString();
                    or1.Parameters.Add("VKPRESERVT3", OracleType.NVarChar).Value = dwData["VKPRESERVT3"].ToString();
                    or1.Parameters.Add("VKPRESERVT4", OracleType.NVarChar).Value = dwData["VKPRESERVT4"].ToString();
                    or1.Parameters.Add("VKPZUGETT1", OracleType.NVarChar).Value = dwData["VKPZUGETT1"].ToString();
                    or1.Parameters.Add("VKPZUGETT2", OracleType.NVarChar).Value = dwData["VKPZUGETT2"].ToString();
                    or1.Parameters.Add("VKPZUGETT3", OracleType.NVarChar).Value = dwData["VKPZUGETT3"].ToString();
                    or1.Parameters.Add("VKPZUGETT4", OracleType.NVarChar).Value = dwData["VKPZUGETT4"].ToString();
                    or1.Parameters.Add("VKPFREIGET1", OracleType.NVarChar).Value = dwData["VKPFREIGET1"].ToString();
                    or1.Parameters.Add("VKPFREIGET2", OracleType.NVarChar).Value = dwData["VKPFREIGET2"].ToString();
                    or1.Parameters.Add("VKPFREIGET3", OracleType.NVarChar).Value = dwData["VKPFREIGET3"].ToString();
                    or1.Parameters.Add("VKPFREIGET4", OracleType.NVarChar).Value = dwData["VKPFREIGET4"].ToString();
                    or1.Parameters.Add("VKPGAUFBESTT1", OracleType.NVarChar).Value = dwData["VKPGAUFBESTT1"].ToString();
                    or1.Parameters.Add("VKPGAUFBESTT2", OracleType.NVarChar).Value = dwData["VKPGAUFBESTT2"].ToString();
                    or1.Parameters.Add("VKPGAUFBESTT3", OracleType.NVarChar).Value = dwData["VKPGAUFBESTT3"].ToString();
                    or1.Parameters.Add("VKPGAUFBESTT4", OracleType.NVarChar).Value = dwData["VKPGAUFBESTT4"].ToString();
                    or1.Parameters.Add("VKPKOMMIST1", OracleType.NVarChar).Value = dwData["VKPKOMMIST1"].ToString();
                    or1.Parameters.Add("VKPKOMMIST2", OracleType.NVarChar).Value = dwData["VKPKOMMIST2"].ToString();
                    or1.Parameters.Add("VKPKOMMIST3", OracleType.NVarChar).Value = dwData["VKPKOMMIST3"].ToString();
                    or1.Parameters.Add("VKPKOMMIST4", OracleType.NVarChar).Value = dwData["VKPKOMMIST4"].ToString();
                    or1.Parameters.Add("VKPFAKTT1", OracleType.NVarChar).Value = dwData["VKPFAKTT1"].ToString();
                    or1.Parameters.Add("VKPFAKTT2", OracleType.NVarChar).Value = dwData["VKPFAKTT2"].ToString();
                    or1.Parameters.Add("VKPFAKTT3", OracleType.NVarChar).Value = dwData["VKPFAKTT3"].ToString();
                    or1.Parameters.Add("VKPFAKTT4", OracleType.NVarChar).Value = dwData["VKPFAKTT4"].ToString();
                    or1.Parameters.Add("VKPVERST1", OracleType.NVarChar).Value = dwData["VKPVERST1"].ToString();
                    or1.Parameters.Add("VKPVERST2", OracleType.NVarChar).Value = dwData["VKPVERST2"].ToString();
                    or1.Parameters.Add("VKPVERST3", OracleType.NVarChar).Value = dwData["VKPVERST3"].ToString();
                    or1.Parameters.Add("VKPVERST4", OracleType.NVarChar).Value = dwData["VKPVERST4"].ToString();
                    or1.Parameters.Add("VKPEINTT1", OracleType.NVarChar).Value = dwData["VKPEINTT1"].ToString();
                    or1.Parameters.Add("VKPEINTT2", OracleType.NVarChar).Value = dwData["VKPEINTT2"].ToString();
                    or1.Parameters.Add("VKPEINTT3", OracleType.NVarChar).Value = dwData["VKPEINTT3"].ToString();
                    or1.Parameters.Add("VKPEINTT4", OracleType.NVarChar).Value = dwData["VKPEINTT4"].ToString();
                    or1.Parameters.Add("VKPOFFENT1", OracleType.NVarChar).Value = dwData["VKPOFFENT1"].ToString();
                    or1.Parameters.Add("VKPOFFENT2", OracleType.NVarChar).Value = dwData["VKPOFFENT2"].ToString();
                    or1.Parameters.Add("VKPOFFENT3", OracleType.NVarChar).Value = dwData["VKPOFFENT3"].ToString();
                    or1.Parameters.Add("VKPOFFENT4", OracleType.NVarChar).Value = dwData["VKPOFFENT4"].ToString();
                    or1.Parameters.Add("VKPWVTERM", OracleType.NVarChar).Value = dwData["VKPWVTERM"].ToString();
                    or1.Parameters.Add("VKPWUTERM", OracleType.NVarChar).Value = dwData["VKPWUTERM"].ToString();
                    or1.Parameters.Add("VKPFREITERM", OracleType.NVarChar).Value = dwData["VKPFREITERM"].ToString();
                    or1.Parameters.Add("VKPVERSTERM", OracleType.NVarChar).Value = dwData["VKPVERSTERM"].ToString();
                    or1.Parameters.Add("VKPLIEFTERM", OracleType.NVarChar).Value = dwData["VKPLIEFTERM"].ToString();
                    or1.Parameters.Add("VKPLIEFEING", OracleType.NVarChar).Value = dwData["VKPLIEFEING"].ToString();
                    or1.Parameters.Add("VKPEINTTERM", OracleType.NVarChar).Value = dwData["VKPEINTTERM"].ToString();
                    or1.Parameters.Add("VKPEINTEING", OracleType.NVarChar).Value = dwData["VKPEINTEING"].ToString();
                    or1.Parameters.Add("VKPVERZEING1", OracleType.NVarChar).Value = dwData["VKPVERZEING1"].ToString();
                    or1.Parameters.Add("VKPVERZTERM1", OracleType.NVarChar).Value = dwData["VKPVERZTERM1"].ToString();
                    or1.Parameters.Add("VKPBESTTERM1", OracleType.NVarChar).Value = dwData["VKPBESTTERM1"].ToString();
                    or1.Parameters.Add("VKPVERZEING2", OracleType.NVarChar).Value = dwData["VKPVERZEING2"].ToString();
                    or1.Parameters.Add("VKPVERZTERM2", OracleType.NVarChar).Value = dwData["VKPVERZTERM2"].ToString();
                    or1.Parameters.Add("VKPBESTTERM2", OracleType.NVarChar).Value = dwData["VKPBESTTERM2"].ToString();
                    or1.Parameters.Add("VKPVERZEING3", OracleType.NVarChar).Value = dwData["VKPVERZEING3"].ToString();
                    or1.Parameters.Add("VKPVERZTERM3", OracleType.NVarChar).Value = dwData["VKPVERZTERM3"].ToString();
                    or1.Parameters.Add("VKPBESTTERM3", OracleType.NVarChar).Value = dwData["VKPBESTTERM3"].ToString();
                    or1.Parameters.Add("VKPVERZEING4", OracleType.NVarChar).Value = dwData["VKPVERZEING4"].ToString();
                    or1.Parameters.Add("VKPVERZTERM4", OracleType.NVarChar).Value = dwData["VKPVERZTERM4"].ToString();
                    or1.Parameters.Add("VKPBESTTERM4", OracleType.NVarChar).Value = dwData["VKPBESTTERM4"].ToString();
                    or1.Parameters.Add("VKPVERZEING5", OracleType.NVarChar).Value = dwData["VKPVERZEING5"].ToString();
                    or1.Parameters.Add("VKPVERZTERM5", OracleType.NVarChar).Value = dwData["VKPVERZTERM5"].ToString();
                    or1.Parameters.Add("VKPBESTTERM5", OracleType.NVarChar).Value = dwData["VKPBESTTERM5"].ToString();
                    or1.Parameters.Add("VKPPREIS", OracleType.NVarChar).Value = dwData["VKPPREIS"].ToString();
                    or1.Parameters.Add("VKPPREH", OracleType.NVarChar).Value = dwData["VKPPREH"].ToString();
                    or1.Parameters.Add("VKPPOSWERT", OracleType.NVarChar).Value = dwData["VKPPOSWERT"].ToString();
                    //or1.Parameters.Add("VKPARTUG", OracleType.NVarChar).Value = dwData["VKPARTUG"].ToString();
                    //or1.Parameters.Add("VKPFARBEUG", OracleType.NVarChar).Value = dwData["VKPFARBEUG"].ToString();
                    //or1.Parameters.Add("VKPARTOG", OracleType.NVarChar).Value = dwData["VKPARTOG"].ToString();
                    //or1.Parameters.Add("VKPFARBEOG", OracleType.NVarChar).Value = dwData["VKPFARBEOG"].ToString();
                    or1.Parameters.Add("VKPMGV", OracleType.NVarChar).Value = dwData["VKPMGV"].ToString();
                    or1.Parameters.Add("VKPMGB", OracleType.NVarChar).Value = dwData["VKPMGB"].ToString();
                    or1.Parameters.Add("VKPVERSLO", OracleType.NVarChar).Value = dwData["VKPVERSLO"].ToString();
                    or1.Parameters.Add("VKPWAEHRSL", OracleType.NVarChar).Value = dwData["VKPWAEHRSL"].ToString();
                    or1.Parameters.Add("VKPBETRAG", OracleType.NVarChar).Value = dwData["VKPBETRAG"].ToString();
                    or1.Parameters.Add("VKPFAELLIG", OracleType.NVarChar).Value = dwData["VKPFAELLIG"].ToString();
                    or1.Parameters.Add("VKPFILLER2", OracleType.NVarChar).Value = dwData["VKPFILLER2"].ToString();
                    #endregion
                    Connect2Proxy(or1);
                    or1 = OracleDB.CreateCommand();
                    #region====Command====

                    or1.CommandText = "UPDATE VKPOS SET "
        + "VKPLVDAT=:VKPLVDAT,"
        + "VKPEINTVON=:VKPEINTVON,"
        + "VKPVALUTA=:VKPVALUTA,"
        + "VKPVALDAT=:VKPVALDAT,"
        + "VKPLIEFZEIT=:VKPLIEFZEIT,"
        + "VKPLZEIT=:VKPLZEIT,"
        + "VKPSTORDAT=:VKPSTORDAT,"
        + "VKPNACHL=:VKPNACHL,"
        + "VKPVERTKZ=:VKPVERTKZ,"
        + "VKPVKNPOS=:VKPVKNPOS,"
        + "VKPLTERMIN1=:VKPLTERMIN1,"
        + "VKPLTART1=:VKPLTART1,"
        + "VKPMENGEP1=:VKPMENGEP1,"
        + "VKPLTERMIN2=:VKPLTERMIN2,"
        + "VKPLTART2=:VKPLTART2,"
        + "VKPMENGEP2=:VKPMENGEP2,"
        + "VKPLTERMIN3=:VKPLTERMIN3,"
        + "VKPLTART3=:VKPLTART3,"
        + "VKPMENGEP3=:VKPMENGEP3,"
        + "VKPLTERMIN4=:VKPLTERMIN4,"
        + "VKPLTART4=:VKPLTART4,"
        + "VKPMENGEP4=:VKPMENGEP4,"
        + "VKPLTERMIN5=:VKPLTERMIN5,"
        + "VKPLTART5=:VKPLTART5,"
        + "VKPMENGEP5=:VKPMENGEP5,"
        + "VKPSHOE=:VKPSHOE,"
        + "VKPSLAE=:VKPSLAE,"
        + "VKPOPTRLAE=:VKPOPTRLAE,"
        + "VKPOPTART=:VKPOPTART,"
        + "VKPSPUL=:VKPSPUL,"
        + "VKPSPULG=:VKPSPULG,"
        + "VKPSPULGV=:VKPSPULGV,"
        + "VKPSPULGB=:VKPSPULGB,"
        + "VKPSPULM=:VKPSPULM,"
        + "VKPSPULMV=:VKPSPULMV,"
        + "VKPSPULMB=:VKPSPULMB,"
        + "VKPSPUL2=:VKPSPUL2,"
        + "VKPSPULG2=:VKPSPULG2,"
        + "VKPHUELSE=:VKPHUELSE,"
        + "VKPKF=:VKPKF,"
        + "VKPFDRES=:VKPFDRES,"
        + "VKPWI=:VKPWI,"
        + "VKPSCHLICHTGR=:VKPSCHLICHTGR,"
        + "VKPSCHLICHTNR=:VKPSCHLICHTNR,"
        + "VKPHABR=:VKPHABR,"
        + "VKPVABR=:VKPVABR,"
        + "VKPSETKZ=:VKPSETKZ,"
        + "VKPPRGRP=:VKPPRGRP,"
        + "VKPLFDNR=:VKPLFDNR,"
        + "VKPARTPRGR=:VKPARTPRGR,"
        + "VKPCOUPON=:VKPCOUPON,"
        + "VKPPREIS=:VKPPREIS,"
        + "VKPPREH=:VKPPREH,"
        + "VKPPREHGRP=:VKPPREHGRP,"
        + "VKPPREHFKT=:VKPPREHFKT,"
        + "VKPPRKZ=:VKPPRKZ,"
        + "VKPPREISPRF=:VKPPREISPRF,"
        + "VKPUGSACHB=:VKPUGSACHB,"
        + "VKPPRLPREIS=:VKPPRLPREIS,"
        + "VKPPREISUG=:VKPPREISUG,"
        + "VKPKONFEKT=:VKPKONFEKT,"
        + "VKPPOSWERT=:VKPPOSWERT,"
        + "VKPSTAFFELF=:VKPSTAFFELF,"
        + "VKPVGUET=:VKPVGUET,"
        + "VKPSONDERP=:VKPSONDERP,"
        + "VKPINDEXNA1=:VKPINDEXNA1,"
        + "VKPINDEXBA1=:VKPINDEXBA1,"
        + "VKPINDEXWE1=:VKPINDEXWE1,"
        + "VKPINDEXHS1=:VKPINDEXHS1,"
        + "VKPINDEXNA2=:VKPINDEXNA2,"
        + "VKPINDEXBA2=:VKPINDEXBA2,"
        + "VKPINDEXWE2=:VKPINDEXWE2,"
        + "VKPINDEXHS2=:VKPINDEXHS2,"
        + "VKPINDEXNA3=:VKPINDEXNA3,"
        + "VKPINDEXBA3=:VKPINDEXBA3,"
        + "VKPINDEXWE3=:VKPINDEXWE3,"
        + "VKPINDEXHS3=:VKPINDEXHS3,"
        + "VKPKOAUFKRS=:VKPKOAUFKRS,"
        + "VKPKOAUFLFD=:VKPKOAUFLFD,"
        + "VKPKOAUFPOS=:VKPKOAUFPOS,"
        + "VKPKOAUFART=:VKPKOAUFART,"
        + "VKPARTPRF=:VKPARTPRF,"
        + "VKPKZFREI=:VKPKZFREI,"
        + "VKPFARBGRP=:VKPFARBGRP,"
                        //+ "VKPARTUG=:VKPARTUG,"
                        //+ "VKPFARBEUG=:VKPFARBEUG,"
                        //+ "VKPARTOG=:VKPARTOG,"
                        //+ "VKPFARBEOG=:VKPFARBEOG,"
        + "VKPIAEDAT=:VKPIAEDAT,"
        + "VKPEMENGEV=:VKPEMENGEV,"
        + "VKPEMENGEB=:VKPEMENGEB,"
        + "VKPPMENGE=:VKPPMENGE,"
        + "VKPVERTEIL=:VKPVERTEIL,"
        + "VKPWDECK=:VKPWDECK,"
        + "VKPKANR=:VKPKANR,"
        + "VKPKAPOS=:VKPKAPOS,"
        + "VKPABLGRD=:VKPABLGRD,"
        + "VKPGELISTET=:VKPGELISTET,"
        + "VKPKONKURENT=:VKPKONKURENT,"
        + "VKPKPREIS=:VKPKPREIS,"
        + "VKPHOCHRECH=:VKPHOCHRECH,"
        + "VKPERFOLG=:VKPERFOLG,"
        + "VKPANT=:VKPANT,"
        + "VKPANTSAV=:VKPANTSAV,"
        + "VKPSIGNED=:VKPSIGNED,"
        + "VKPABS=:VKPABS,"
        + "VKPABRKZ=:VKPABRKZ,"
        + "VKPNOCOUNT=:VKPNOCOUNT,"
        + "VKPEXAUFKRS=:VKPEXAUFKRS,"
        + "VKPEXAUFLFD=:VKPEXAUFLFD,"
        + "VKPEXAUFPOS=:VKPEXAUFPOS,"
        + "VKPEXART=:VKPEXART,"
        + "VKPEXVAR=:VKPEXVAR,"
        + "VKPEXDESS=:VKPEXDESS,"
        + "VKPEXCOLORIT=:VKPEXCOLORIT,"
        + "VKPRAPLG=:VKPRAPLG,"
        + "VKPRAPWDT=:VKPRAPWDT,"
        + "VKPGESSTA=:VKPGESSTA,"
        + "VKPARTSTA=:VKPARTSTA,"
        + "VKPPRSTA=:VKPPRSTA,"
        + "VKPBSTSTA=:VKPBSTSTA,"
        + "VKPTERMSTA=:VKPTERMSTA,"
        + "VKPMGV=:VKPMGV,"
        + "VKPMGB=:VKPMGB,"
        + "VKPMGZU=:VKPMGZU,"
        + "VKPSTV=:VKPSTV,"
        + "VKPSTB=:VKPSTB,"
        + "VKPSTZU=:VKPSTZU,"
        + "VKPSTLGV=:VKPSTLGV,"
        + "VKPSTLGB=:VKPSTLGB,"
        + "VKPPAS=:VKPPAS,"
        + "VKPPAI=:VKPPAI,"
        + "VKPTSTS=:VKPTSTS,"
        + "VKPTSTI=:VKPTSTI,"
        + "VKPTSTLG=:VKPTSTLG,"
        + "VKPTSTMAX=:VKPTSTMAX,"
        + "VKPUBLI=:VKPUBLI,"
        + "VKPAZUTEIL=:VKPAZUTEIL,"
        + "VKPERSART=:VKPERSART,"
        + "VKPZUTART=:VKPZUTART,"
        + "VKPZSBER=:VKPZSBER,"
        + "VKPFA=:VKPFA,"
        + "VKPGA=:VKPGA,"
        + "VKPQA=:VKPQA,"
        + "VKPMAART=:VKPMAART,"
        + "VKPMAFZST=:VKPMAFZST,"
        + "VKPZUSAM=:VKPZUSAM,"
        + "VKPZUDOPA=:VKPZUDOPA,"
        + "VKPZUDPA=:VKPZUDPA,"
        + "VKPGENEHM=:VKPGENEHM,"
        + "VKPMUVERT=:VKPMUVERT,"
        + "VKPZRUECK=:VKPZRUECK,"
        + "VKPZKDAT=:VKPZKDAT,"
        + "VKPZKBEN=:VKPZKBEN,"
        + "VKPSTKNEUTR=:VKPSTKNEUTR,"
        + "VKPPARTGL=:VKPPARTGL,"
        + "VKPKONFKZ=:VKPKONFKZ,"
        + "VKPKETTELN=:VKPKETTELN,"
        + "VKPRESSACHB=:VKPRESSACHB,"
        + "VKPLAEVON=:VKPLAEVON,"
        + "VKPLAEBIS=:VKPLAEBIS,"
        + "VKPSTDLAE=:VKPSTDLAE,"
        + "VKPSFERTKZ=:VKPSFERTKZ,"
        + "VKPREGEL=:VKPREGEL,"
        + "VKPZUTPRIO=:VKPZUTPRIO,"
        + "VKPSTAFFNR=:VKPSTAFFNR,"
        + "VKPMAXPKT=:VKPMAXPKT,"
        + "VKPANZ1=:VKPANZ1,"
        + "VKPLAENGE1=:VKPLAENGE1,"
        + "VKPBREITE1=:VKPBREITE1,"
        + "VKPANZ2=:VKPANZ2,"
        + "VKPLAENGE2=:VKPLAENGE2,"
        + "VKPBREITE2=:VKPBREITE2,"
        + "VKPANZ3=:VKPANZ3,"
        + "VKPLAENGE3=:VKPLAENGE3,"
        + "VKPBREITE3=:VKPBREITE3,"
        + "VKPANZ4=:VKPANZ4,"
        + "VKPLAENGE4=:VKPLAENGE4,"
        + "VKPBREITE4=:VKPBREITE4,"
        + "VKPANZ5=:VKPANZ5,"
        + "VKPLAENGE5=:VKPLAENGE5,"
        + "VKPBREITE5=:VKPBREITE5,"
        + "VKPFIXMASS=:VKPFIXMASS,"
        + "VKPURLAND=:VKPURLAND,"
        + "VKPPRFBEG=:VKPPRFBEG,"
        + "VKPPRFVKD=:VKPPRFVKD,"
        + "VKPEINWERK=:VKPEINWERK,"
        + "VKPWERK=:VKPWERK,"
        + "VKPQPKTH=:VKPQPKTH,"
        + "VKPQPKTLH=:VKPQPKTLH,"
        + "VKPRICHGL=:VKPRICHGL,"
        + "VKPWSCHTXT=:VKPWSCHTXT,"
        + "VKPFILLER1=:VKPFILLER1,"
        + "VKPABRUF=:VKPABRUF,"
        + "VKPLIEFKOMP=:VKPLIEFKOMP,"
        + "VKPVERSART=:VKPVERSART,"
        + "VKPZUSATZ=:VKPZUSATZ,"
        + "VKPKDKOMM=:VKPKDKOMM,"
        + "VKPLTEILNR=:VKPLTEILNR,"
        + "VKPVERSLO=:VKPVERSLO,"
        + "VKPAUTOFREI=:VKPAUTOFREI,"
        + "VKPSTRECKE=:VKPSTRECKE,"
        + "VKPANGETEXT=:VKPANGETEXT,"
        + "VKPANGEWIE=:VKPANGEWIE,"
        + "VKPBESTTEXT=:VKPBESTTEXT,"
        + "VKPBESTWIE=:VKPBESTWIE,"
        + "VKPLIEFTEXT=:VKPLIEFTEXT,"
        + "VKPLIEFWIE=:VKPLIEFWIE,"
        + "VKPRECHTEXT=:VKPRECHTEXT,"
        + "VKPRECHWIE=:VKPRECHWIE,"
        + "VKPLVORTEXT=:VKPLVORTEXT,"
        + "VKPLVORWIE=:VKPLVORWIE,"
        + "VKPIVVTTEXT=:VKPIVVTTEXT,"
        + "VKPIVVTWIE=:VKPIVVTWIE,"
        + "VKPIVDITEXT=:VKPIVDITEXT,"
        + "VKPIVDIWIE=:VKPIVDIWIE,"
        + "VKPARTTEXT=:VKPARTTEXT,"
        + "VKPANGEALLG=:VKPANGEALLG,"
        + "VKPBESTALLG=:VKPBESTALLG,"
        + "VKPLIEFALLG=:VKPLIEFALLG,"
        + "VKPRECHALLG=:VKPRECHALLG,"
        + "VKPLVORALLG=:VKPLVORALLG,"
        + "VKPIVVTALLG=:VKPIVVTALLG,"
        + "VKPIVDIALLG=:VKPIVDIALLG,"
        + "VKPANL1TXT=:VKPANL1TXT,"
        + "VKPANL2TXT=:VKPANL2TXT,"
        + "VKPANL3TXT=:VKPANL3TXT,"
        + "VKPAGT=:VKPAGT,"
        + "VKPAUF1=:VKPAUF1,"
        + "VKPAUF2=:VKPAUF2,"
        + "VKPAUF3=:VKPAUF3,"
        + "VKPDISPO=:VKPDISPO,"
        + "VKPDDBENID=:VKPDDBENID,"
        + "VKPDDAUFTNR=:VKPDDAUFTNR,"
        + "VKPEKOLL=:VKPEKOLL,"
        + "VKPEART=:VKPEART,"
        + "VKPEFARBE=:VKPEFARBE,"
        + "VKPLVERD=:VKPLVERD,"
        + "VKPWOBST=:VKPWOBST,"
        + "VKPEAKZ=:VKPEAKZ,"
        + "VKPWAEHRSL=:VKPWAEHRSL,"
        + "VKPKURS=:VKPKURS,"
        + "VKPBETRAG=:VKPBETRAG,"
        + "VKPHWAEHRSL=:VKPHWAEHRSL,"
        + "VKPHEUROKURS=:VKPHEUROKURS,"
        + "VKPHEUROKURSVK=:VKPHEUROKURSVK,"
        + "VKPFEUROKURS=:VKPFEUROKURS,"
        + "VKPFEUROKURSVK=:VKPFEUROKURSVK,"
        + "VKPTERMNR=:VKPTERMNR,"
        + "VKPFAELLIG=:VKPFAELLIG,"
        + "VKPSICHER=:VKPSICHER,"
        + "VKPSICHP=:VKPSICHP,"
        + "VKPAKKRED=:VKPAKKRED,"
        + "VKPBESTPOS=:VKPBESTPOS,"
        + "VKPDBLATT=:VKPDBLATT,"
        + "VKPTBRIEF=:VKPTBRIEF,"
        + "VKPARTBILD=:VKPARTBILD,"
        + "VKPFORMAT=:VKPFORMAT,"
        + "VKPZEUGNIS=:VKPZEUGNIS,"
        + "VKPPLANKRS=:VKPPLANKRS,"
        + "VKPPLANLFD=:VKPPLANLFD,"
        + "VKPRES1=:VKPRES1,"
        + "VKPRES2=:VKPRES2,"
        + "VKPVKZUABVH=:VKPVKZUABVH,"
        + "VKPVKZUSAMP=:VKPVKZUSAMP,"
        + "VKPVKZUADR=:VKPVKZUADR,"
        + "VKPFKSPKZ=:VKPFKSPKZ,"
        + "VKPFKSPRD=:VKPFKSPRD,"
        + "VKPFKSPTD=:VKPFKSPTD,"
        + "VKPKREDLIM=:VKPKREDLIM,"
        + "VKPSWING=:VKPSWING,"
        + "VKPRAITING=:VKPRAITING,"
        + "VKPVERSCHL=:VKPVERSCHL,"
        + "VKPKREDBIS=:VKPKREDBIS,"
        + "VKPKREDVON=:VKPKREDVON,"
        + "VKPLUEBKZ=:VKPLUEBKZ,"
        + "VKPFRDAT=:VKPFRDAT,"
        + "VKPFRZEIT=:VKPFRZEIT,"
        + "VKPFRBENID=:VKPFRBENID,"
        + "VKPFRKZ=:VKPFRKZ,"
        + "VKPCUSIGNED=:VKPCUSIGNED,"
        + "VKPSTPROV=:VKPSTPROV,"
        + "VKPSTFRACHT=:VKPSTFRACHT,"
        + "VKPSTFRME=:VKPSTFRME,"
        + "VKPSTIMP=:VKPSTIMP,"
        + "VKPSTVERS=:VKPSTVERS,"
        + "VKPSTZOLL=:VKPSTZOLL,"
        + "VKPFRGRENZ=:VKPFRGRENZ,"
        + "VKPFRGRME=:VKPFRGRME,"
        + "VKPVERSGRENZ=:VKPVERSGRENZ,"
        + "VKPZTARIF=:VKPZTARIF,"
        + "VKPEDIKZ=:VKPEDIKZ,"
        + "VKPKOMMNR=:VKPKOMMNR,"
        + "VKPKOMMPOS=:VKPKOMMPOS,"
        + "VKPEDIDAT=:VKPEDIDAT,"
        + "VKPEDIZEIT=:VKPEDIZEIT,"
        + "VKPURBESTPOS=:VKPURBESTPOS,"
        + "VKPVERTRNRK=:VKPVERTRNRK,"
        + "VKPVERTRPOSK=:VKPVERTRPOSK,"
        + "VKPOPREIS=:VKPOPREIS,"
        + "VKPOMENGE=:VKPOMENGE,"
        + "VKPWUTERMKO=:VKPWUTERMKO,"
        + "VKPKZERSATZ=:VKPKZERSATZ,"
        + "VKPBUSIMODE=:VKPBUSIMODE,"
        + "VKPEXMANDANT=:VKPEXMANDANT,"
        + "VKPRUECKTG=:VKPRUECKTG,"
        + "VKPLIEFTERMN=:VKPLIEFTERMN,"
        + "VKPVERARBSTA=:VKPVERARBSTA,"
        + "VKPCTO=:VKPCTO,"
        + "VKPVTRNRK2=:VKPVTRNRK2,"
        + "VKPVTRPOSK2=:VKPVTRPOSK2,"
        + "VKPAENTIME=:VKPAENTIME,"
        + "VKPMAINPROG=:VKPMAINPROG,"
        + "VKPSAMPTYP=:VKPSAMPTYP,"
        + "VKPUSRSTA=:VKPUSRSTA,"
        + "VKPACCVERS=:VKPACCVERS,"
        + "VKPLIART=:VKPLIART,"
        + "VKPDELTAE=:VKPDELTAE,"
        + "VKPLIART2=:VKPLIART2,"
        + "VKPDELTAE2=:VKPDELTAE2,"
        + "VKPLIART3=:VKPLIART3,"
        + "VKPDELTAE3=:VKPDELTAE3,"
        + "VKPLINKMARK=:VKPLINKMARK,"
        + "VKPFILLER2=:VKPFILLER2"
                       + " WHERE  "
                       + "  VKPMANDANT=:VKPMANDANT AND VKPSA=:VKPSA AND VKPAUFKRS=:VKPAUFKRS AND VKPAUFLFD=:VKPAUFLFD AND VKPAUFPOS=:VKPAUFPOS";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VKPMANDANT", OracleType.NVarChar).Value = dwData["VKPMANDANT"].ToString();
                    or1.Parameters.Add("VKPSA", OracleType.NVarChar).Value = dwData["VKPSA"].ToString();
                    or1.Parameters.Add("VKPAUFKRS", OracleType.NVarChar).Value = dwData["VKPAUFKRS"].ToString();
                    or1.Parameters.Add("VKPAUFLFD", OracleType.NVarChar).Value = dwData["VKPAUFLFD"].ToString();
                    or1.Parameters.Add("VKPAUFPOS", OracleType.NVarChar).Value = dwData["VKPAUFPOS"].ToString();
                    or1.Parameters.Add("VKPLVDAT", OracleType.NVarChar).Value = dwData["VKPLVDAT"].ToString();
                    or1.Parameters.Add("VKPEINTVON", OracleType.NVarChar).Value = dwData["VKPEINTVON"].ToString();
                    or1.Parameters.Add("VKPVALUTA", OracleType.NVarChar).Value = dwData["VKPVALUTA"].ToString();
                    or1.Parameters.Add("VKPVALDAT", OracleType.NVarChar).Value = dwData["VKPVALDAT"].ToString();
                    or1.Parameters.Add("VKPLIEFZEIT", OracleType.NVarChar).Value = dwData["VKPLIEFZEIT"].ToString();
                    or1.Parameters.Add("VKPLZEIT", OracleType.NVarChar).Value = dwData["VKPLZEIT"].ToString();
                    or1.Parameters.Add("VKPSTORDAT", OracleType.NVarChar).Value = dwData["VKPSTORDAT"].ToString();
                    or1.Parameters.Add("VKPNACHL", OracleType.NVarChar).Value = dwData["VKPNACHL"].ToString();
                    or1.Parameters.Add("VKPVERTKZ", OracleType.NVarChar).Value = dwData["VKPVERTKZ"].ToString();
                    or1.Parameters.Add("VKPVKNPOS", OracleType.NVarChar).Value = dwData["VKPVKNPOS"].ToString();
                    or1.Parameters.Add("VKPLTERMIN1", OracleType.NVarChar).Value = dwData["VKPLTERMIN1"].ToString();
                    or1.Parameters.Add("VKPLTART1", OracleType.NVarChar).Value = dwData["VKPLTART1"].ToString();
                    or1.Parameters.Add("VKPMENGEP1", OracleType.NVarChar).Value = dwData["VKPMENGEP1"].ToString();
                    or1.Parameters.Add("VKPLTERMIN2", OracleType.NVarChar).Value = dwData["VKPLTERMIN2"].ToString();
                    or1.Parameters.Add("VKPLTART2", OracleType.NVarChar).Value = dwData["VKPLTART2"].ToString();
                    or1.Parameters.Add("VKPMENGEP2", OracleType.NVarChar).Value = dwData["VKPMENGEP2"].ToString();
                    or1.Parameters.Add("VKPLTERMIN3", OracleType.NVarChar).Value = dwData["VKPLTERMIN3"].ToString();
                    or1.Parameters.Add("VKPLTART3", OracleType.NVarChar).Value = dwData["VKPLTART3"].ToString();
                    or1.Parameters.Add("VKPMENGEP3", OracleType.NVarChar).Value = dwData["VKPMENGEP3"].ToString();
                    or1.Parameters.Add("VKPLTERMIN4", OracleType.NVarChar).Value = dwData["VKPLTERMIN4"].ToString();
                    or1.Parameters.Add("VKPLTART4", OracleType.NVarChar).Value = dwData["VKPLTART4"].ToString();
                    or1.Parameters.Add("VKPMENGEP4", OracleType.NVarChar).Value = dwData["VKPMENGEP4"].ToString();
                    or1.Parameters.Add("VKPLTERMIN5", OracleType.NVarChar).Value = dwData["VKPLTERMIN5"].ToString();
                    or1.Parameters.Add("VKPLTART5", OracleType.NVarChar).Value = dwData["VKPLTART5"].ToString();
                    or1.Parameters.Add("VKPMENGEP5", OracleType.NVarChar).Value = dwData["VKPMENGEP5"].ToString();
                    or1.Parameters.Add("VKPSHOE", OracleType.NVarChar).Value = dwData["VKPSHOE"].ToString();
                    or1.Parameters.Add("VKPSLAE", OracleType.NVarChar).Value = dwData["VKPSLAE"].ToString();
                    or1.Parameters.Add("VKPOPTRLAE", OracleType.NVarChar).Value = dwData["VKPOPTRLAE"].ToString();
                    or1.Parameters.Add("VKPOPTART", OracleType.NVarChar).Value = dwData["VKPOPTART"].ToString();
                    or1.Parameters.Add("VKPSPUL", OracleType.NVarChar).Value = dwData["VKPSPUL"].ToString();
                    or1.Parameters.Add("VKPSPULG", OracleType.NVarChar).Value = dwData["VKPSPULG"].ToString();
                    or1.Parameters.Add("VKPSPULGV", OracleType.NVarChar).Value = dwData["VKPSPULGV"].ToString();
                    or1.Parameters.Add("VKPSPULGB", OracleType.NVarChar).Value = dwData["VKPSPULGB"].ToString();
                    or1.Parameters.Add("VKPSPULM", OracleType.NVarChar).Value = dwData["VKPSPULM"].ToString();
                    or1.Parameters.Add("VKPSPULMV", OracleType.NVarChar).Value = dwData["VKPSPULMV"].ToString();
                    or1.Parameters.Add("VKPSPULMB", OracleType.NVarChar).Value = dwData["VKPSPULMB"].ToString();
                    or1.Parameters.Add("VKPSPUL2", OracleType.NVarChar).Value = dwData["VKPSPUL2"].ToString();
                    or1.Parameters.Add("VKPSPULG2", OracleType.NVarChar).Value = dwData["VKPSPULG2"].ToString();
                    or1.Parameters.Add("VKPHUELSE", OracleType.NVarChar).Value = dwData["VKPHUELSE"].ToString();
                    or1.Parameters.Add("VKPKF", OracleType.NVarChar).Value = dwData["VKPKF"].ToString();
                    or1.Parameters.Add("VKPFDRES", OracleType.NVarChar).Value = dwData["VKPFDRES"].ToString();
                    or1.Parameters.Add("VKPWI", OracleType.NVarChar).Value = dwData["VKPWI"].ToString();
                    or1.Parameters.Add("VKPSCHLICHTGR", OracleType.NVarChar).Value = dwData["VKPSCHLICHTGR"].ToString();
                    or1.Parameters.Add("VKPSCHLICHTNR", OracleType.NVarChar).Value = dwData["VKPSCHLICHTNR"].ToString();
                    or1.Parameters.Add("VKPHABR", OracleType.NVarChar).Value = dwData["VKPHABR"].ToString();
                    or1.Parameters.Add("VKPVABR", OracleType.NVarChar).Value = dwData["VKPVABR"].ToString();
                    or1.Parameters.Add("VKPSETKZ", OracleType.NVarChar).Value = dwData["VKPSETKZ"].ToString();
                    or1.Parameters.Add("VKPPRGRP", OracleType.NVarChar).Value = dwData["VKPPRGRP"].ToString();
                    or1.Parameters.Add("VKPLFDNR", OracleType.NVarChar).Value = dwData["VKPLFDNR"].ToString();
                    or1.Parameters.Add("VKPARTPRGR", OracleType.NVarChar).Value = dwData["VKPARTPRGR"].ToString();
                    or1.Parameters.Add("VKPCOUPON", OracleType.NVarChar).Value = dwData["VKPCOUPON"].ToString();
                    or1.Parameters.Add("VKPPREIS", OracleType.NVarChar).Value = dwData["VKPPREIS"].ToString();
                    or1.Parameters.Add("VKPPREH", OracleType.NVarChar).Value = dwData["VKPPREH"].ToString();
                    or1.Parameters.Add("VKPPREHGRP", OracleType.NVarChar).Value = dwData["VKPPREHGRP"].ToString();
                    or1.Parameters.Add("VKPPREHFKT", OracleType.NVarChar).Value = dwData["VKPPREHFKT"].ToString();
                    or1.Parameters.Add("VKPPRKZ", OracleType.NVarChar).Value = dwData["VKPPRKZ"].ToString();
                    or1.Parameters.Add("VKPPREISPRF", OracleType.NVarChar).Value = dwData["VKPPREISPRF"].ToString();
                    or1.Parameters.Add("VKPUGSACHB", OracleType.NVarChar).Value = dwData["VKPUGSACHB"].ToString();
                    or1.Parameters.Add("VKPPRLPREIS", OracleType.NVarChar).Value = dwData["VKPPRLPREIS"].ToString();
                    or1.Parameters.Add("VKPPREISUG", OracleType.NVarChar).Value = dwData["VKPPREISUG"].ToString();
                    or1.Parameters.Add("VKPKONFEKT", OracleType.NVarChar).Value = dwData["VKPKONFEKT"].ToString();
                    or1.Parameters.Add("VKPPOSWERT", OracleType.NVarChar).Value = dwData["VKPPOSWERT"].ToString();
                    or1.Parameters.Add("VKPSTAFFELF", OracleType.NVarChar).Value = dwData["VKPSTAFFELF"].ToString();
                    or1.Parameters.Add("VKPVGUET", OracleType.NVarChar).Value = dwData["VKPVGUET"].ToString();
                    or1.Parameters.Add("VKPSONDERP", OracleType.NVarChar).Value = dwData["VKPSONDERP"].ToString();
                    or1.Parameters.Add("VKPINDEXNA1", OracleType.NVarChar).Value = dwData["VKPINDEXNA1"].ToString();
                    or1.Parameters.Add("VKPINDEXBA1", OracleType.NVarChar).Value = dwData["VKPINDEXBA1"].ToString();
                    or1.Parameters.Add("VKPINDEXWE1", OracleType.NVarChar).Value = dwData["VKPINDEXWE1"].ToString();
                    or1.Parameters.Add("VKPINDEXHS1", OracleType.NVarChar).Value = dwData["VKPINDEXHS1"].ToString();
                    or1.Parameters.Add("VKPINDEXNA2", OracleType.NVarChar).Value = dwData["VKPINDEXNA2"].ToString();
                    or1.Parameters.Add("VKPINDEXBA2", OracleType.NVarChar).Value = dwData["VKPINDEXBA2"].ToString();
                    or1.Parameters.Add("VKPINDEXWE2", OracleType.NVarChar).Value = dwData["VKPINDEXWE2"].ToString();
                    or1.Parameters.Add("VKPINDEXHS2", OracleType.NVarChar).Value = dwData["VKPINDEXHS2"].ToString();
                    or1.Parameters.Add("VKPINDEXNA3", OracleType.NVarChar).Value = dwData["VKPINDEXNA3"].ToString();
                    or1.Parameters.Add("VKPINDEXBA3", OracleType.NVarChar).Value = dwData["VKPINDEXBA3"].ToString();
                    or1.Parameters.Add("VKPINDEXWE3", OracleType.NVarChar).Value = dwData["VKPINDEXWE3"].ToString();
                    or1.Parameters.Add("VKPINDEXHS3", OracleType.NVarChar).Value = dwData["VKPINDEXHS3"].ToString();
                    or1.Parameters.Add("VKPKOAUFKRS", OracleType.NVarChar).Value = dwData["VKPKOAUFKRS"].ToString();
                    or1.Parameters.Add("VKPKOAUFLFD", OracleType.NVarChar).Value = dwData["VKPKOAUFLFD"].ToString();
                    or1.Parameters.Add("VKPKOAUFPOS", OracleType.NVarChar).Value = dwData["VKPKOAUFPOS"].ToString();
                    or1.Parameters.Add("VKPKOAUFART", OracleType.NVarChar).Value = dwData["VKPKOAUFART"].ToString();
                    or1.Parameters.Add("VKPARTPRF", OracleType.NVarChar).Value = dwData["VKPARTPRF"].ToString();
                    or1.Parameters.Add("VKPKZFREI", OracleType.NVarChar).Value = dwData["VKPKZFREI"].ToString();
                    or1.Parameters.Add("VKPFARBGRP", OracleType.NVarChar).Value = dwData["VKPFARBGRP"].ToString();
                    //or1.Parameters.Add("VKPARTUG", OracleType.NVarChar).Value = dwData["VKPARTUG"].ToString();
                    //or1.Parameters.Add("VKPFARBEUG", OracleType.NVarChar).Value = dwData["VKPFARBEUG"].ToString();
                    //or1.Parameters.Add("VKPARTOG", OracleType.NVarChar).Value = dwData["VKPARTOG"].ToString();
                    //or1.Parameters.Add("VKPFARBEOG", OracleType.NVarChar).Value = dwData["VKPFARBEOG"].ToString();
                    or1.Parameters.Add("VKPIAEDAT", OracleType.NVarChar).Value = dwData["VKPIAEDAT"].ToString();
                    or1.Parameters.Add("VKPEMENGEV", OracleType.NVarChar).Value = dwData["VKPEMENGEV"].ToString();
                    or1.Parameters.Add("VKPEMENGEB", OracleType.NVarChar).Value = dwData["VKPEMENGEB"].ToString();
                    or1.Parameters.Add("VKPPMENGE", OracleType.NVarChar).Value = dwData["VKPPMENGE"].ToString();
                    or1.Parameters.Add("VKPVERTEIL", OracleType.NVarChar).Value = dwData["VKPVERTEIL"].ToString();
                    or1.Parameters.Add("VKPWDECK", OracleType.NVarChar).Value = dwData["VKPWDECK"].ToString();
                    or1.Parameters.Add("VKPKANR", OracleType.NVarChar).Value = dwData["VKPKANR"].ToString();
                    or1.Parameters.Add("VKPKAPOS", OracleType.NVarChar).Value = dwData["VKPKAPOS"].ToString();
                    or1.Parameters.Add("VKPABLGRD", OracleType.NVarChar).Value = dwData["VKPABLGRD"].ToString();
                    or1.Parameters.Add("VKPGELISTET", OracleType.NVarChar).Value = dwData["VKPGELISTET"].ToString();
                    or1.Parameters.Add("VKPKONKURENT", OracleType.NVarChar).Value = dwData["VKPKONKURENT"].ToString();
                    or1.Parameters.Add("VKPKPREIS", OracleType.NVarChar).Value = dwData["VKPKPREIS"].ToString();
                    or1.Parameters.Add("VKPHOCHRECH", OracleType.NVarChar).Value = dwData["VKPHOCHRECH"].ToString();
                    or1.Parameters.Add("VKPERFOLG", OracleType.NVarChar).Value = dwData["VKPERFOLG"].ToString();
                    or1.Parameters.Add("VKPANT", OracleType.NVarChar).Value = dwData["VKPANT"].ToString();
                    or1.Parameters.Add("VKPANTSAV", OracleType.NVarChar).Value = dwData["VKPANTSAV"].ToString();
                    or1.Parameters.Add("VKPSIGNED", OracleType.NVarChar).Value = dwData["VKPSIGNED"].ToString();
                    or1.Parameters.Add("VKPABS", OracleType.NVarChar).Value = dwData["VKPABS"].ToString();
                    or1.Parameters.Add("VKPABRKZ", OracleType.NVarChar).Value = dwData["VKPABRKZ"].ToString();
                    or1.Parameters.Add("VKPNOCOUNT", OracleType.NVarChar).Value = dwData["VKPNOCOUNT"].ToString();
                    or1.Parameters.Add("VKPEXAUFKRS", OracleType.NVarChar).Value = dwData["VKPEXAUFKRS"].ToString();
                    or1.Parameters.Add("VKPEXAUFLFD", OracleType.NVarChar).Value = dwData["VKPEXAUFLFD"].ToString();
                    or1.Parameters.Add("VKPEXAUFPOS", OracleType.NVarChar).Value = dwData["VKPEXAUFPOS"].ToString();
                    or1.Parameters.Add("VKPEXART", OracleType.NVarChar).Value = dwData["VKPEXART"].ToString();
                    or1.Parameters.Add("VKPEXVAR", OracleType.NVarChar).Value = dwData["VKPEXVAR"].ToString();
                    or1.Parameters.Add("VKPEXDESS", OracleType.NVarChar).Value = dwData["VKPEXDESS"].ToString();
                    or1.Parameters.Add("VKPEXCOLORIT", OracleType.NVarChar).Value = dwData["VKPEXCOLORIT"].ToString();
                    or1.Parameters.Add("VKPRAPLG", OracleType.NVarChar).Value = dwData["VKPRAPLG"].ToString();
                    or1.Parameters.Add("VKPRAPWDT", OracleType.NVarChar).Value = dwData["VKPRAPWDT"].ToString();
                    or1.Parameters.Add("VKPGESSTA", OracleType.NVarChar).Value = dwData["VKPGESSTA"].ToString();
                    or1.Parameters.Add("VKPARTSTA", OracleType.NVarChar).Value = dwData["VKPARTSTA"].ToString();
                    or1.Parameters.Add("VKPPRSTA", OracleType.NVarChar).Value = dwData["VKPPRSTA"].ToString();
                    or1.Parameters.Add("VKPBSTSTA", OracleType.NVarChar).Value = dwData["VKPBSTSTA"].ToString();
                    or1.Parameters.Add("VKPTERMSTA", OracleType.NVarChar).Value = dwData["VKPTERMSTA"].ToString();
                    or1.Parameters.Add("VKPMGV", OracleType.NVarChar).Value = dwData["VKPMGV"].ToString();
                    or1.Parameters.Add("VKPMGB", OracleType.NVarChar).Value = dwData["VKPMGB"].ToString();
                    or1.Parameters.Add("VKPMGZU", OracleType.NVarChar).Value = dwData["VKPMGZU"].ToString();
                    or1.Parameters.Add("VKPSTV", OracleType.NVarChar).Value = dwData["VKPSTV"].ToString();
                    or1.Parameters.Add("VKPSTB", OracleType.NVarChar).Value = dwData["VKPSTB"].ToString();
                    or1.Parameters.Add("VKPSTZU", OracleType.NVarChar).Value = dwData["VKPSTZU"].ToString();
                    or1.Parameters.Add("VKPSTLGV", OracleType.NVarChar).Value = dwData["VKPSTLGV"].ToString();
                    or1.Parameters.Add("VKPSTLGB", OracleType.NVarChar).Value = dwData["VKPSTLGB"].ToString();
                    or1.Parameters.Add("VKPPAS", OracleType.NVarChar).Value = dwData["VKPPAS"].ToString();
                    or1.Parameters.Add("VKPPAI", OracleType.NVarChar).Value = dwData["VKPPAI"].ToString();
                    or1.Parameters.Add("VKPTSTS", OracleType.NVarChar).Value = dwData["VKPTSTS"].ToString();
                    or1.Parameters.Add("VKPTSTI", OracleType.NVarChar).Value = dwData["VKPTSTI"].ToString();
                    or1.Parameters.Add("VKPTSTLG", OracleType.NVarChar).Value = dwData["VKPTSTLG"].ToString();
                    or1.Parameters.Add("VKPTSTMAX", OracleType.NVarChar).Value = dwData["VKPTSTMAX"].ToString();
                    or1.Parameters.Add("VKPUBLI", OracleType.NVarChar).Value = dwData["VKPUBLI"].ToString();
                    or1.Parameters.Add("VKPAZUTEIL", OracleType.NVarChar).Value = dwData["VKPAZUTEIL"].ToString();
                    or1.Parameters.Add("VKPERSART", OracleType.NVarChar).Value = dwData["VKPERSART"].ToString();
                    or1.Parameters.Add("VKPZUTART", OracleType.NVarChar).Value = dwData["VKPZUTART"].ToString();
                    or1.Parameters.Add("VKPZSBER", OracleType.NVarChar).Value = dwData["VKPZSBER"].ToString();
                    or1.Parameters.Add("VKPFA", OracleType.NVarChar).Value = dwData["VKPFA"].ToString();
                    or1.Parameters.Add("VKPGA", OracleType.NVarChar).Value = dwData["VKPGA"].ToString();
                    or1.Parameters.Add("VKPQA", OracleType.NVarChar).Value = dwData["VKPQA"].ToString();
                    or1.Parameters.Add("VKPMAART", OracleType.NVarChar).Value = dwData["VKPMAART"].ToString();
                    or1.Parameters.Add("VKPMAFZST", OracleType.NVarChar).Value = dwData["VKPMAFZST"].ToString();
                    or1.Parameters.Add("VKPZUSAM", OracleType.NVarChar).Value = dwData["VKPZUSAM"].ToString();
                    or1.Parameters.Add("VKPZUDOPA", OracleType.NVarChar).Value = dwData["VKPZUDOPA"].ToString();
                    or1.Parameters.Add("VKPZUDPA", OracleType.NVarChar).Value = dwData["VKPZUDPA"].ToString();
                    or1.Parameters.Add("VKPGENEHM", OracleType.NVarChar).Value = dwData["VKPGENEHM"].ToString();
                    or1.Parameters.Add("VKPMUVERT", OracleType.NVarChar).Value = dwData["VKPMUVERT"].ToString();
                    or1.Parameters.Add("VKPZRUECK", OracleType.NVarChar).Value = dwData["VKPZRUECK"].ToString();
                    or1.Parameters.Add("VKPZKDAT", OracleType.NVarChar).Value = dwData["VKPZKDAT"].ToString();
                    or1.Parameters.Add("VKPZKBEN", OracleType.NVarChar).Value = dwData["VKPZKBEN"].ToString();
                    or1.Parameters.Add("VKPSTKNEUTR", OracleType.NVarChar).Value = dwData["VKPSTKNEUTR"].ToString();
                    or1.Parameters.Add("VKPPARTGL", OracleType.NVarChar).Value = dwData["VKPPARTGL"].ToString();
                    or1.Parameters.Add("VKPKONFKZ", OracleType.NVarChar).Value = dwData["VKPKONFKZ"].ToString();
                    or1.Parameters.Add("VKPKETTELN", OracleType.NVarChar).Value = dwData["VKPKETTELN"].ToString();
                    or1.Parameters.Add("VKPRESSACHB", OracleType.NVarChar).Value = dwData["VKPRESSACHB"].ToString();
                    or1.Parameters.Add("VKPLAEVON", OracleType.NVarChar).Value = dwData["VKPLAEVON"].ToString();
                    or1.Parameters.Add("VKPLAEBIS", OracleType.NVarChar).Value = dwData["VKPLAEBIS"].ToString();
                    or1.Parameters.Add("VKPSTDLAE", OracleType.NVarChar).Value = dwData["VKPSTDLAE"].ToString();
                    or1.Parameters.Add("VKPSFERTKZ", OracleType.NVarChar).Value = dwData["VKPSFERTKZ"].ToString();
                    or1.Parameters.Add("VKPREGEL", OracleType.NVarChar).Value = dwData["VKPREGEL"].ToString();
                    or1.Parameters.Add("VKPZUTPRIO", OracleType.NVarChar).Value = dwData["VKPZUTPRIO"].ToString();
                    or1.Parameters.Add("VKPSTAFFNR", OracleType.NVarChar).Value = dwData["VKPSTAFFNR"].ToString();
                    or1.Parameters.Add("VKPMAXPKT", OracleType.NVarChar).Value = dwData["VKPMAXPKT"].ToString();
                    or1.Parameters.Add("VKPANZ1", OracleType.NVarChar).Value = dwData["VKPANZ1"].ToString();
                    or1.Parameters.Add("VKPLAENGE1", OracleType.NVarChar).Value = dwData["VKPLAENGE1"].ToString();
                    or1.Parameters.Add("VKPBREITE1", OracleType.NVarChar).Value = dwData["VKPBREITE1"].ToString();
                    or1.Parameters.Add("VKPANZ2", OracleType.NVarChar).Value = dwData["VKPANZ2"].ToString();
                    or1.Parameters.Add("VKPLAENGE2", OracleType.NVarChar).Value = dwData["VKPLAENGE2"].ToString();
                    or1.Parameters.Add("VKPBREITE2", OracleType.NVarChar).Value = dwData["VKPBREITE2"].ToString();
                    or1.Parameters.Add("VKPANZ3", OracleType.NVarChar).Value = dwData["VKPANZ3"].ToString();
                    or1.Parameters.Add("VKPLAENGE3", OracleType.NVarChar).Value = dwData["VKPLAENGE3"].ToString();
                    or1.Parameters.Add("VKPBREITE3", OracleType.NVarChar).Value = dwData["VKPBREITE3"].ToString();
                    or1.Parameters.Add("VKPANZ4", OracleType.NVarChar).Value = dwData["VKPANZ4"].ToString();
                    or1.Parameters.Add("VKPLAENGE4", OracleType.NVarChar).Value = dwData["VKPLAENGE4"].ToString();
                    or1.Parameters.Add("VKPBREITE4", OracleType.NVarChar).Value = dwData["VKPBREITE4"].ToString();
                    or1.Parameters.Add("VKPANZ5", OracleType.NVarChar).Value = dwData["VKPANZ5"].ToString();
                    or1.Parameters.Add("VKPLAENGE5", OracleType.NVarChar).Value = dwData["VKPLAENGE5"].ToString();
                    or1.Parameters.Add("VKPBREITE5", OracleType.NVarChar).Value = dwData["VKPBREITE5"].ToString();
                    or1.Parameters.Add("VKPFIXMASS", OracleType.NVarChar).Value = dwData["VKPFIXMASS"].ToString();
                    or1.Parameters.Add("VKPURLAND", OracleType.NVarChar).Value = dwData["VKPURLAND"].ToString();
                    or1.Parameters.Add("VKPPRFBEG", OracleType.NVarChar).Value = dwData["VKPPRFBEG"].ToString();
                    or1.Parameters.Add("VKPPRFVKD", OracleType.NVarChar).Value = dwData["VKPPRFVKD"].ToString();
                    or1.Parameters.Add("VKPEINWERK", OracleType.NVarChar).Value = dwData["VKPEINWERK"].ToString();
                    or1.Parameters.Add("VKPWERK", OracleType.NVarChar).Value = dwData["VKPWERK"].ToString();
                    or1.Parameters.Add("VKPQPKTH", OracleType.NVarChar).Value = dwData["VKPQPKTH"].ToString();
                    or1.Parameters.Add("VKPQPKTLH", OracleType.NVarChar).Value = dwData["VKPQPKTLH"].ToString();
                    or1.Parameters.Add("VKPRICHGL", OracleType.NVarChar).Value = dwData["VKPRICHGL"].ToString();
                    or1.Parameters.Add("VKPWSCHTXT", OracleType.NVarChar).Value = dwData["VKPWSCHTXT"].ToString();
                    or1.Parameters.Add("VKPFILLER1", OracleType.NVarChar).Value = dwData["VKPFILLER1"].ToString();
                    or1.Parameters.Add("VKPABRUF", OracleType.NVarChar).Value = dwData["VKPABRUF"].ToString();
                    or1.Parameters.Add("VKPLIEFKOMP", OracleType.NVarChar).Value = dwData["VKPLIEFKOMP"].ToString();
                    or1.Parameters.Add("VKPVERSART", OracleType.NVarChar).Value = dwData["VKPVERSART"].ToString();
                    or1.Parameters.Add("VKPZUSATZ", OracleType.NVarChar).Value = dwData["VKPZUSATZ"].ToString();
                    or1.Parameters.Add("VKPKDKOMM", OracleType.NVarChar).Value = dwData["VKPKDKOMM"].ToString();
                    or1.Parameters.Add("VKPLTEILNR", OracleType.NVarChar).Value = dwData["VKPLTEILNR"].ToString();
                    or1.Parameters.Add("VKPVERSLO", OracleType.NVarChar).Value = dwData["VKPVERSLO"].ToString();
                    or1.Parameters.Add("VKPAUTOFREI", OracleType.NVarChar).Value = dwData["VKPAUTOFREI"].ToString();
                    or1.Parameters.Add("VKPSTRECKE", OracleType.NVarChar).Value = dwData["VKPSTRECKE"].ToString();
                    or1.Parameters.Add("VKPANGETEXT", OracleType.NVarChar).Value = dwData["VKPANGETEXT"].ToString();
                    or1.Parameters.Add("VKPANGEWIE", OracleType.NVarChar).Value = dwData["VKPANGEWIE"].ToString();
                    or1.Parameters.Add("VKPBESTTEXT", OracleType.NVarChar).Value = dwData["VKPBESTTEXT"].ToString();
                    or1.Parameters.Add("VKPBESTWIE", OracleType.NVarChar).Value = dwData["VKPBESTWIE"].ToString();
                    or1.Parameters.Add("VKPLIEFTEXT", OracleType.NVarChar).Value = dwData["VKPLIEFTEXT"].ToString();
                    or1.Parameters.Add("VKPLIEFWIE", OracleType.NVarChar).Value = dwData["VKPLIEFWIE"].ToString();
                    or1.Parameters.Add("VKPRECHTEXT", OracleType.NVarChar).Value = dwData["VKPRECHTEXT"].ToString();
                    or1.Parameters.Add("VKPRECHWIE", OracleType.NVarChar).Value = dwData["VKPRECHWIE"].ToString();
                    or1.Parameters.Add("VKPLVORTEXT", OracleType.NVarChar).Value = dwData["VKPLVORTEXT"].ToString();
                    or1.Parameters.Add("VKPLVORWIE", OracleType.NVarChar).Value = dwData["VKPLVORWIE"].ToString();
                    or1.Parameters.Add("VKPIVVTTEXT", OracleType.NVarChar).Value = dwData["VKPIVVTTEXT"].ToString();
                    or1.Parameters.Add("VKPIVVTWIE", OracleType.NVarChar).Value = dwData["VKPIVVTWIE"].ToString();
                    or1.Parameters.Add("VKPIVDITEXT", OracleType.NVarChar).Value = dwData["VKPIVDITEXT"].ToString();
                    or1.Parameters.Add("VKPIVDIWIE", OracleType.NVarChar).Value = dwData["VKPIVDIWIE"].ToString();
                    or1.Parameters.Add("VKPARTTEXT", OracleType.NVarChar).Value = dwData["VKPARTTEXT"].ToString();
                    or1.Parameters.Add("VKPANGEALLG", OracleType.NVarChar).Value = dwData["VKPANGEALLG"].ToString();
                    or1.Parameters.Add("VKPBESTALLG", OracleType.NVarChar).Value = dwData["VKPBESTALLG"].ToString();
                    or1.Parameters.Add("VKPLIEFALLG", OracleType.NVarChar).Value = dwData["VKPLIEFALLG"].ToString();
                    or1.Parameters.Add("VKPRECHALLG", OracleType.NVarChar).Value = dwData["VKPRECHALLG"].ToString();
                    or1.Parameters.Add("VKPLVORALLG", OracleType.NVarChar).Value = dwData["VKPLVORALLG"].ToString();
                    or1.Parameters.Add("VKPIVVTALLG", OracleType.NVarChar).Value = dwData["VKPIVVTALLG"].ToString();
                    or1.Parameters.Add("VKPIVDIALLG", OracleType.NVarChar).Value = dwData["VKPIVDIALLG"].ToString();
                    or1.Parameters.Add("VKPANL1TXT", OracleType.NVarChar).Value = dwData["VKPANL1TXT"].ToString();
                    or1.Parameters.Add("VKPANL2TXT", OracleType.NVarChar).Value = dwData["VKPANL2TXT"].ToString();
                    or1.Parameters.Add("VKPANL3TXT", OracleType.NVarChar).Value = dwData["VKPANL3TXT"].ToString();
                    or1.Parameters.Add("VKPAGT", OracleType.NVarChar).Value = dwData["VKPAGT"].ToString();
                    or1.Parameters.Add("VKPAUF1", OracleType.NVarChar).Value = dwData["VKPAUF1"].ToString();
                    or1.Parameters.Add("VKPAUF2", OracleType.NVarChar).Value = dwData["VKPAUF2"].ToString();
                    or1.Parameters.Add("VKPAUF3", OracleType.NVarChar).Value = dwData["VKPAUF3"].ToString();
                    or1.Parameters.Add("VKPDISPO", OracleType.NVarChar).Value = dwData["VKPDISPO"].ToString();
                    or1.Parameters.Add("VKPDDBENID", OracleType.NVarChar).Value = dwData["VKPDDBENID"].ToString();
                    or1.Parameters.Add("VKPDDAUFTNR", OracleType.NVarChar).Value = dwData["VKPDDAUFTNR"].ToString();
                    or1.Parameters.Add("VKPEKOLL", OracleType.NVarChar).Value = dwData["VKPEKOLL"].ToString();
                    or1.Parameters.Add("VKPEART", OracleType.NVarChar).Value = dwData["VKPEART"].ToString();
                    or1.Parameters.Add("VKPEFARBE", OracleType.NVarChar).Value = dwData["VKPEFARBE"].ToString();
                    or1.Parameters.Add("VKPLVERD", OracleType.NVarChar).Value = dwData["VKPLVERD"].ToString();
                    or1.Parameters.Add("VKPWOBST", OracleType.NVarChar).Value = dwData["VKPWOBST"].ToString();
                    or1.Parameters.Add("VKPEAKZ", OracleType.NVarChar).Value = dwData["VKPEAKZ"].ToString();
                    or1.Parameters.Add("VKPWAEHRSL", OracleType.NVarChar).Value = dwData["VKPWAEHRSL"].ToString();
                    or1.Parameters.Add("VKPKURS", OracleType.NVarChar).Value = dwData["VKPKURS"].ToString();
                    or1.Parameters.Add("VKPBETRAG", OracleType.NVarChar).Value = dwData["VKPBETRAG"].ToString();
                    or1.Parameters.Add("VKPHWAEHRSL", OracleType.NVarChar).Value = dwData["VKPHWAEHRSL"].ToString();
                    or1.Parameters.Add("VKPHEUROKURS", OracleType.NVarChar).Value = dwData["VKPHEUROKURS"].ToString();
                    or1.Parameters.Add("VKPHEUROKURSVK", OracleType.NVarChar).Value = dwData["VKPHEUROKURSVK"].ToString();
                    or1.Parameters.Add("VKPFEUROKURS", OracleType.NVarChar).Value = dwData["VKPFEUROKURS"].ToString();
                    or1.Parameters.Add("VKPFEUROKURSVK", OracleType.NVarChar).Value = dwData["VKPFEUROKURSVK"].ToString();
                    or1.Parameters.Add("VKPTERMNR", OracleType.NVarChar).Value = dwData["VKPTERMNR"].ToString();
                    or1.Parameters.Add("VKPFAELLIG", OracleType.NVarChar).Value = dwData["VKPFAELLIG"].ToString();
                    or1.Parameters.Add("VKPSICHER", OracleType.NVarChar).Value = dwData["VKPSICHER"].ToString();
                    or1.Parameters.Add("VKPSICHP", OracleType.NVarChar).Value = dwData["VKPSICHP"].ToString();
                    or1.Parameters.Add("VKPAKKRED", OracleType.NVarChar).Value = dwData["VKPAKKRED"].ToString();
                    or1.Parameters.Add("VKPBESTPOS", OracleType.NVarChar).Value = dwData["VKPBESTPOS"].ToString();
                    or1.Parameters.Add("VKPDBLATT", OracleType.NVarChar).Value = dwData["VKPDBLATT"].ToString();
                    or1.Parameters.Add("VKPTBRIEF", OracleType.NVarChar).Value = dwData["VKPTBRIEF"].ToString();
                    or1.Parameters.Add("VKPARTBILD", OracleType.NVarChar).Value = dwData["VKPARTBILD"].ToString();
                    or1.Parameters.Add("VKPFORMAT", OracleType.NVarChar).Value = dwData["VKPFORMAT"].ToString();
                    or1.Parameters.Add("VKPZEUGNIS", OracleType.NVarChar).Value = dwData["VKPZEUGNIS"].ToString();
                    or1.Parameters.Add("VKPPLANKRS", OracleType.NVarChar).Value = dwData["VKPPLANKRS"].ToString();
                    or1.Parameters.Add("VKPPLANLFD", OracleType.NVarChar).Value = dwData["VKPPLANLFD"].ToString();
                    or1.Parameters.Add("VKPRES1", OracleType.NVarChar).Value = dwData["VKPRES1"].ToString();
                    or1.Parameters.Add("VKPRES2", OracleType.NVarChar).Value = dwData["VKPRES2"].ToString();
                    or1.Parameters.Add("VKPVKZUABVH", OracleType.NVarChar).Value = dwData["VKPVKZUABVH"].ToString();
                    or1.Parameters.Add("VKPVKZUSAMP", OracleType.NVarChar).Value = dwData["VKPVKZUSAMP"].ToString();
                    or1.Parameters.Add("VKPVKZUADR", OracleType.NVarChar).Value = dwData["VKPVKZUADR"].ToString();
                    or1.Parameters.Add("VKPFKSPKZ", OracleType.NVarChar).Value = dwData["VKPFKSPKZ"].ToString();
                    or1.Parameters.Add("VKPFKSPRD", OracleType.NVarChar).Value = dwData["VKPFKSPRD"].ToString();
                    or1.Parameters.Add("VKPFKSPTD", OracleType.NVarChar).Value = dwData["VKPFKSPTD"].ToString();
                    or1.Parameters.Add("VKPKREDLIM", OracleType.NVarChar).Value = dwData["VKPKREDLIM"].ToString();
                    or1.Parameters.Add("VKPSWING", OracleType.NVarChar).Value = dwData["VKPSWING"].ToString();
                    or1.Parameters.Add("VKPRAITING", OracleType.NVarChar).Value = dwData["VKPRAITING"].ToString();
                    or1.Parameters.Add("VKPVERSCHL", OracleType.NVarChar).Value = dwData["VKPVERSCHL"].ToString();
                    or1.Parameters.Add("VKPKREDBIS", OracleType.NVarChar).Value = dwData["VKPKREDBIS"].ToString();
                    or1.Parameters.Add("VKPKREDVON", OracleType.NVarChar).Value = dwData["VKPKREDVON"].ToString();
                    or1.Parameters.Add("VKPLUEBKZ", OracleType.NVarChar).Value = dwData["VKPLUEBKZ"].ToString();
                    or1.Parameters.Add("VKPFRDAT", OracleType.NVarChar).Value = dwData["VKPFRDAT"].ToString();
                    or1.Parameters.Add("VKPFRZEIT", OracleType.NVarChar).Value = dwData["VKPFRZEIT"].ToString();
                    or1.Parameters.Add("VKPFRBENID", OracleType.NVarChar).Value = dwData["VKPFRBENID"].ToString();
                    or1.Parameters.Add("VKPFRKZ", OracleType.NVarChar).Value = dwData["VKPFRKZ"].ToString();
                    or1.Parameters.Add("VKPCUSIGNED", OracleType.NVarChar).Value = dwData["VKPCUSIGNED"].ToString();
                    or1.Parameters.Add("VKPSTPROV", OracleType.NVarChar).Value = dwData["VKPSTPROV"].ToString();
                    or1.Parameters.Add("VKPSTFRACHT", OracleType.NVarChar).Value = dwData["VKPSTFRACHT"].ToString();
                    or1.Parameters.Add("VKPSTFRME", OracleType.NVarChar).Value = dwData["VKPSTFRME"].ToString();
                    or1.Parameters.Add("VKPSTIMP", OracleType.NVarChar).Value = dwData["VKPSTIMP"].ToString();
                    or1.Parameters.Add("VKPSTVERS", OracleType.NVarChar).Value = dwData["VKPSTVERS"].ToString();
                    or1.Parameters.Add("VKPSTZOLL", OracleType.NVarChar).Value = dwData["VKPSTZOLL"].ToString();
                    or1.Parameters.Add("VKPFRGRENZ", OracleType.NVarChar).Value = dwData["VKPFRGRENZ"].ToString();
                    or1.Parameters.Add("VKPFRGRME", OracleType.NVarChar).Value = dwData["VKPFRGRME"].ToString();
                    or1.Parameters.Add("VKPVERSGRENZ", OracleType.NVarChar).Value = dwData["VKPVERSGRENZ"].ToString();
                    or1.Parameters.Add("VKPZTARIF", OracleType.NVarChar).Value = dwData["VKPZTARIF"].ToString();
                    or1.Parameters.Add("VKPEDIKZ", OracleType.NVarChar).Value = dwData["VKPEDIKZ"].ToString();
                    or1.Parameters.Add("VKPKOMMNR", OracleType.NVarChar).Value = dwData["VKPKOMMNR"].ToString();
                    or1.Parameters.Add("VKPKOMMPOS", OracleType.NVarChar).Value = dwData["VKPKOMMPOS"].ToString();
                    or1.Parameters.Add("VKPEDIDAT", OracleType.NVarChar).Value = dwData["VKPEDIDAT"].ToString();
                    or1.Parameters.Add("VKPEDIZEIT", OracleType.NVarChar).Value = dwData["VKPEDIZEIT"].ToString();
                    or1.Parameters.Add("VKPURBESTPOS", OracleType.NVarChar).Value = dwData["VKPURBESTPOS"].ToString();
                    or1.Parameters.Add("VKPVERTRNRK", OracleType.NVarChar).Value = dwData["VKPVERTRNRK"].ToString();
                    or1.Parameters.Add("VKPVERTRPOSK", OracleType.NVarChar).Value = dwData["VKPVERTRPOSK"].ToString();
                    or1.Parameters.Add("VKPOPREIS", OracleType.NVarChar).Value = dwData["VKPOPREIS"].ToString();
                    or1.Parameters.Add("VKPOMENGE", OracleType.NVarChar).Value = dwData["VKPOMENGE"].ToString();
                    or1.Parameters.Add("VKPWUTERMKO", OracleType.NVarChar).Value = dwData["VKPWUTERMKO"].ToString();
                    or1.Parameters.Add("VKPKZERSATZ", OracleType.NVarChar).Value = dwData["VKPKZERSATZ"].ToString();
                    or1.Parameters.Add("VKPBUSIMODE", OracleType.NVarChar).Value = dwData["VKPBUSIMODE"].ToString();
                    or1.Parameters.Add("VKPEXMANDANT", OracleType.NVarChar).Value = dwData["VKPEXMANDANT"].ToString();
                    or1.Parameters.Add("VKPRUECKTG", OracleType.NVarChar).Value = dwData["VKPRUECKTG"].ToString();
                    or1.Parameters.Add("VKPLIEFTERMN", OracleType.NVarChar).Value = dwData["VKPLIEFTERMN"].ToString();
                    or1.Parameters.Add("VKPVERARBSTA", OracleType.NVarChar).Value = dwData["VKPVERARBSTA"].ToString();
                    or1.Parameters.Add("VKPCTO", OracleType.NVarChar).Value = dwData["VKPCTO"].ToString();
                    or1.Parameters.Add("VKPVTRNRK2", OracleType.NVarChar).Value = dwData["VKPVTRNRK2"].ToString();
                    or1.Parameters.Add("VKPVTRPOSK2", OracleType.NVarChar).Value = dwData["VKPVTRPOSK2"].ToString();
                    or1.Parameters.Add("VKPAENTIME", OracleType.NVarChar).Value = dwData["VKPAENTIME"].ToString();
                    or1.Parameters.Add("VKPMAINPROG", OracleType.NVarChar).Value = dwData["VKPMAINPROG"].ToString();
                    or1.Parameters.Add("VKPSAMPTYP", OracleType.NVarChar).Value = dwData["VKPSAMPTYP"].ToString();
                    or1.Parameters.Add("VKPUSRSTA", OracleType.NVarChar).Value = dwData["VKPUSRSTA"].ToString();
                    or1.Parameters.Add("VKPACCVERS", OracleType.NVarChar).Value = dwData["VKPACCVERS"].ToString();
                    or1.Parameters.Add("VKPLIART", OracleType.NVarChar).Value = dwData["VKPLIART"].ToString();
                    or1.Parameters.Add("VKPDELTAE", OracleType.NVarChar).Value = dwData["VKPDELTAE"].ToString();
                    or1.Parameters.Add("VKPLIART2", OracleType.NVarChar).Value = dwData["VKPLIART2"].ToString();
                    or1.Parameters.Add("VKPDELTAE2", OracleType.NVarChar).Value = dwData["VKPDELTAE2"].ToString();
                    or1.Parameters.Add("VKPLIART3", OracleType.NVarChar).Value = dwData["VKPLIART3"].ToString();
                    or1.Parameters.Add("VKPDELTAE3", OracleType.NVarChar).Value = dwData["VKPDELTAE3"].ToString();
                    or1.Parameters.Add("VKPLINKMARK", OracleType.NVarChar).Value = dwData["VKPLINKMARK"].ToString();
                    or1.Parameters.Add("VKPFILLER2", OracleType.NVarChar).Value = dwData["VKPFILLER2"].ToString();
                    #endregion
                    Connect2Proxy(or1);
                    break;
                case 2:
                    #region====Command====

                    or1.CommandText = "UPDATE VKPOS SET "
                        + "VKPPRODST=:VKPPRODST"
                       + " WHERE  "
                       + "  VKPMANDANT=:VKPMANDANT  AND VKPSA=:VKPSA  AND VKPAUFKRS=:VKPAUFKRS AND VKPAUFLFD=:VKPAUFLFD AND VKPAUFPOS=:VKPAUFPOS";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VKPMANDANT", OracleType.NVarChar).Value = dwData["VKPMANDANT"].ToString();
                    or1.Parameters.Add("VKPSA", OracleType.NVarChar).Value = dwData["VKPSA"].ToString();
                    or1.Parameters.Add("VKPAUFKRS", OracleType.NVarChar).Value = dwData["VKPAUFKRS"].ToString();
                    or1.Parameters.Add("VKPAUFLFD", OracleType.NVarChar).Value = dwData["VKPAUFLFD"].ToString();
                    or1.Parameters.Add("VKPAUFPOS", OracleType.NVarChar).Value = dwData["VKPAUFPOS"].ToString();
                    or1.Parameters.Add("VKPPRODST", OracleType.NVarChar).Value = dwData["VKPPRODST"].ToString();
                    #endregion
                    Connect2Proxy(or1);
                    break;
                case 3:
                    #region====Command====
                    //VKPVERZEING5对应的格式为DD.MM.YY
                    or1.CommandText = "UPDATE VKPOS SET "
                        + "VKPFREITERM=:VKPLIEFTERM,"
                        + "VKPVERSTERM=:VKPLIEFTERM,"
                        + "VKPLIEFEING=:VKPLIEFEING,"
                        + "VKPLIEFTERM=:VKPLIEFTERM,"
                            + "VKPGESSTA=:VKPGESSTA,"
                        + "VKPTERMSTA=:VKPTERMSTA,"
                        + "VKPVERZEING1=:VKPVERZEING1,"
                        + "VKPVERZTERM1=:VKPVERZTERM1,"
                        + "VKPVERZEING2=:VKPVERZEING2,"
                        + "VKPVERZTERM2=:VKPVERZTERM2,"
                        + "VKPVERZEING3=:VKPVERZEING3,"
                        + "VKPVERZTERM3=:VKPVERZTERM3,"
                        + "VKPVERZEING4=:VKPVERZEING4,"
                        + "VKPVERZTERM4=:VKPVERZTERM4 "
                       + " WHERE  "
                       + "  VKPMANDANT=:VKPMANDANT  AND VKPSA=:VKPSA  AND VKPAUFKRS=:VKPAUFKRS AND VKPAUFLFD=:VKPAUFLFD AND VKPAUFPOS=:VKPAUFPOS";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VKPMANDANT", OracleType.NVarChar).Value = dwData["VKPMANDANT"].ToString();
                    or1.Parameters.Add("VKPSA", OracleType.NVarChar).Value = dwData["VKPSA"].ToString();
                    or1.Parameters.Add("VKPAUFKRS", OracleType.NVarChar).Value = dwData["VKPAUFKRS"].ToString();
                    or1.Parameters.Add("VKPAUFLFD", OracleType.NVarChar).Value = dwData["VKPAUFLFD"].ToString();
                    or1.Parameters.Add("VKPAUFPOS", OracleType.NVarChar).Value = dwData["VKPAUFPOS"].ToString();
                    or1.Parameters.Add("VKPLIEFEING", OracleType.NVarChar).Value = GetDDMMYY(dwData["VKPLIEFTERM"].ToString());
                    or1.Parameters.Add("VKPLIEFTERM", OracleType.NVarChar).Value = dwData["VKPLIEFTERM"].ToString();
                    or1.Parameters.Add("VKPTERMSTA", OracleType.NVarChar).Value = "80";
                    or1.Parameters.Add("VKPGESSTA", OracleType.NVarChar).Value = " ";

                    or1.Parameters.Add("VKPVERZEING1", OracleType.NVarChar).Value = GetDDMMYY(dwData["VKPVERZTERM1"].ToString());
                    or1.Parameters.Add("VKPVERZTERM1", OracleType.NVarChar).Value = dwData["VKPVERZTERM1"].ToString();
                    or1.Parameters.Add("VKPVERZEING2", OracleType.NVarChar).Value = GetDDMMYY(dwData["VKPVERZTERM2"].ToString());
                    or1.Parameters.Add("VKPVERZTERM2", OracleType.NVarChar).Value = dwData["VKPVERZTERM2"].ToString();
                    or1.Parameters.Add("VKPVERZEING3", OracleType.NVarChar).Value = GetDDMMYY(dwData["VKPVERZTERM3"].ToString());
                    or1.Parameters.Add("VKPVERZTERM3", OracleType.NVarChar).Value = dwData["VKPVERZTERM3"].ToString();
                    or1.Parameters.Add("VKPVERZEING4", OracleType.NVarChar).Value = GetDDMMYY(dwData["VKPVERZTERM4"].ToString());
                    or1.Parameters.Add("VKPVERZTERM4", OracleType.NVarChar).Value = dwData["VKPVERZTERM4"].ToString();
                    #endregion
                    Connect2Proxy(or1);
                    break;
                default:
                    break;
            }

        }
        public void UpdateICC_VKAV95(DataRow dwData, int option = 1)
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region====Command====
                    or1.CommandText = "UPDATE ICC_VKAV95 SET "
                        + "PRODFACT=:PRODFACT,"
                        + "VKPART=:VKPART,"
                        + "VKPFARBE=:VKPFARBE,"
                        + "STRUCTURE=:STRUCTURE,"
                        + "FWIDTH=:FWIDTH,"
                        + "VKPMENGE1=:VKPMENGE1,"
                        + "VKPMEEH=:VKPMEEH,"
                        + "VKPTOL=:VKPTOL,"
                        + "VKPLIEFTERM=:VKPLIEFTERM,"
                        + "VKPZUGET=:VKPZUGET,"
                        + "VKPFREIGE=:VKPFREIGE,"
                        + "VKPKOMMISS=:VKPKOMMISS,"
                        + "VKPFAKT=:VKPFAKT,"
                        + "VKPVERS=:VKPVERS,"
                        + "FENTRYDAT=:FENTRYDAT,"
                        + "FQTY1=:FQTY1,"
                        + "FQTY1OVER=:FQTY1OVER,"
                        + "VKPOPENDEL=:VKPOPENDEL,"
                        + "FQTY2=:FQTY2,"
                        + "FQTY2REASON=:FQTY2REASON,"
                        + "VKPFRDAT=:VKPFRDAT,"
                        + "FSTOCK=:FSTOCK,"
                        + "VKKSACHBE=:VKKSACHBE,"
                        + "VRQTY=:VRQTY,"
                        + "REMARK=:REMARK "
                    + " WHERE  "
                    + "  VKPMANDANT=:VKPMANDANT AND VKPAUFKRS=:VKPAUFKRS AND VKPAUFLFD=:VKPAUFLFD AND VKPAUFPOS=:VKPAUFPOS";
                    #endregion

                    #region====Parameters====
                    or1.Parameters.Add("VKPMANDANT", OracleType.NVarChar).Value = dwData["VKPMANDANT"].ToString();
                    or1.Parameters.Add("VKPAUFKRS", OracleType.NVarChar).Value = dwData["VKPAUFKRS"].ToString();
                    or1.Parameters.Add("VKPAUFLFD", OracleType.NVarChar).Value = dwData["VKPAUFLFD"].ToString();
                    or1.Parameters.Add("VKPAUFPOS", OracleType.NVarChar).Value = dwData["VKPAUFPOS"].ToString();
                    or1.Parameters.Add("PRODFACT", OracleType.NVarChar).Value = dwData["PRODFACT"].ToString();
                    or1.Parameters.Add("VKPART", OracleType.NVarChar).Value = dwData["VKPART"].ToString();
                    or1.Parameters.Add("VKPFARBE", OracleType.NVarChar).Value = dwData["VKPFARBE"].ToString();
                    or1.Parameters.Add("STRUCTURE", OracleType.NVarChar).Value = dwData["STRUCTURE"].ToString();
                    or1.Parameters.Add("FWIDTH", OracleType.NVarChar).Value = dwData["FWIDTH"].ToString();
                    or1.Parameters.Add("VKPMENGE1", OracleType.NVarChar).Value = dwData["VKPMENGE1"].ToString();
                    or1.Parameters.Add("VKPMEEH", OracleType.NVarChar).Value = dwData["VKPMEEH"].ToString();
                    or1.Parameters.Add("VKPTOL", OracleType.NVarChar).Value = dwData["VKPTOL"].ToString();
                    or1.Parameters.Add("VKPLIEFTERM", OracleType.NVarChar).Value = dwData["VKPLIEFTERM"].ToString();
                    or1.Parameters.Add("VKPZUGET", OracleType.NVarChar).Value = dwData["VKPZUGET"].ToString();
                    or1.Parameters.Add("VKPFREIGE", OracleType.NVarChar).Value = dwData["VKPFREIGE"].ToString();
                    or1.Parameters.Add("VKPKOMMISS", OracleType.NVarChar).Value = dwData["VKPKOMMISS"].ToString();
                    or1.Parameters.Add("VKPFAKT", OracleType.NVarChar).Value = dwData["VKPFAKT"].ToString();
                    or1.Parameters.Add("VKPVERS", OracleType.NVarChar).Value = dwData["VKPVERS"].ToString();
                    or1.Parameters.Add("FENTRYDAT", OracleType.NVarChar).Value = dwData["FENTRYDAT"].ToString();
                    or1.Parameters.Add("FQTY1", OracleType.NVarChar).Value = dwData["FQTY1"].ToString();
                    or1.Parameters.Add("FQTY1OVER", OracleType.NVarChar).Value = dwData["FQTY1OVER"].ToString();
                    or1.Parameters.Add("VKPOPENDEL", OracleType.NVarChar).Value = dwData["VKPOPENDEL"].ToString();
                    or1.Parameters.Add("FQTY2", OracleType.NVarChar).Value = dwData["FQTY2"].ToString();
                    or1.Parameters.Add("FQTY2REASON", OracleType.NVarChar).Value = dwData["FQTY2REASON"].ToString();
                    or1.Parameters.Add("VKPFRDAT", OracleType.NVarChar).Value = dwData["VKPFRDAT"].ToString();
                    or1.Parameters.Add("FSTOCK", OracleType.NVarChar).Value = dwData["FSTOCK"].ToString();
                    or1.Parameters.Add("VKKSACHBE", OracleType.NVarChar).Value = dwData["VKKSACHBE"].ToString();
                    or1.Parameters.Add("VRQTY", OracleType.NVarChar).Value = dwData["VRQTY"].ToString();
                    or1.Parameters.Add("REMARK", OracleType.NVarChar).Value = dwData["REMARK"].ToString();
                    #endregion
                    break;
                case 2:
                    or1.CommandText = "UPDATE ICC_VKAV95 V SET (VKPFRDAT,VKPFREIGE,VKPVERS)="
                        + "(SELECT VKPFRDAT,VKPFREIGE*0.01,VKPVERS*0.01 FROM VKPOS P"
                        + " WHERE V.VKPAUFKRS=P.VKPAUFKRS AND V.VKPAUFLFD=P.VKPAUFLFD AND V.VKPAUFPOS=P.VKPAUFPOS AND VKPSA<>'AJ')"
                                               + " WHERE EXISTS  "
                        + " (SELECT 1 FROM VKPOS P WHERE V.VKPAUFKRS=P.VKPAUFKRS AND V.VKPAUFLFD=P.VKPAUFLFD AND V.VKPAUFPOS=P.VKPAUFPOS AND VKPSA<>'AJ')"
                        + " AND V.VKPERL=' '";
                    break;
                case 3:
                    or1.CommandText = "UPDATE ICC_VKAV95 V SET "
                        + "(VKPDART,VKPDVAR,VKPDFARBE,VKPDFINISH)"
                        + "=(SELECT VAFPART,VAFPVAR,VAFFFARBE,VAFBESCHICH FROM VAFARBEN F "
                        + " WHERE VAFKOLL=VKPKOLL AND F.VAFART=VKPART AND RTRIM(VAFFARBE)=RTRIM(VKPFARBE))"
                        + " WHERE EXISTS "
                        + " (SELECT 1 FROM VAFARBEN F WHERE  VAFKOLL=VKPKOLL AND F.VAFART=VKPART AND RTRIM(VAFFARBE)=RTRIM(VKPFARBE))"
                        //+"  AND RTRIM(VKPDFINISH)=''"
                        + " AND V.VKPERL=' '";
                    break;
                case 4:
                    or1.CommandText = "  UPDATE ICC_VKAV95 V SET (FSTOCK,FENTRYDAT)"
                        + "=(SELECT SUM(WBBISTKLG)*0.001,MIN(WBBEINDAT) FROM WBBST W WHERE "
                        + "WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE AND W.WBBBESCHICH=V.VKPDFINISH"
                        + " GROUP BY WBBART,WBBVAR,WBBFARBE,WBBBESCHICH)"
                             + " WHERE EXISTS  "
                        + " (SELECT 1 FROM WBBST W WHERE W.WBBZENSUR=1 AND WBBZENSURKZ='A'"
                        + " AND WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE "
                        + "AND W.WBBBESCHICH=V.VKPDFINISH)"
                        + " AND V.VKPERL=' '";
                    break;
                case 5:
                    or1.CommandText = " UPDATE ICC_VKAV95 V SET (FQTY1,FQTY2)"
                        + "=(SELECT SUM(WBBISTKLG)*0.001,0 FROM WBBST W WHERE W.WBBZENSUR=1 AND WBBZENSURKZ='A'"
                        + "AND WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE AND W.WBBBESCHICH=V.VKPDFINISH)"
                        + " WHERE EXISTS  "
                        + " (SELECT 1 FROM WBBST W WHERE W.WBBZENSUR=1 AND WBBZENSURKZ='A'"
                        + " AND WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE "
                        + "AND W.WBBBESCHICH=V.VKPDFINISH)"
                        + " AND V.VKPERL=' '";
                    break;
                case 6:
                    or1.CommandText = "UPDATE ICC_VKAV95 V SET (FQTY2)"
                        + "=(SELECT SUM(WBBISTKLG)*0.001 FROM WBBST W WHERE W.WBBZENSUR=2  "
                        + "AND WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE AND W.WBBBESCHICH=V.VKPDFINISH)"
                                                  + " WHERE EXISTS  "
                        + " (SELECT 1 FROM WBBST W WHERE W.WBBZENSUR=2 "
                        + " AND WBBART=VKPDART AND WBBVAR=VKPDVAR AND W.WBBFARBE=V.VKPDFARBE "
                        + "AND W.WBBBESCHICH=V.VKPDFINISH)"
                        + " AND V.VKPERL=' '";
                    break;
                case 7:
                    or1.CommandText = " UPDATE ICC_VKAV95 V SET FQTY1OVER=VRQTY-FQTY1,VKPOPENDEL=FQTY1-VKPFREIGE"
                        + " WHERE V.VKPERL=' '";
                    break;
                case 8:
                    or1.CommandText = "   UPDATE ICC_VKAV95 V "
                        + " SET (STRUCTURE)=(SELECT STRAGG(TRIM(T2.TXTKTEXT))OVER(PARTITION BY T1.TXTISIND)"
                        + " FROM TXTIND T1 JOIN TXTKON T2 ON T1.TXTIMANDANT = T2.TXTKMANDANT AND T1.TXTIPIND = T2.TXTKPIND"
                        + "  WHERE RTRIM(VKPKOLL||VKPART)=RTRIM(TXTISIND)"
                        + "  AND T1.txtitxtart = 'VAD')"
                        + " WHERE EXISTS"
                        + " (SELECT 1 FROM TXTIND T1 JOIN TXTKON T2 ON T1.TXTIMANDANT = T2.TXTKMANDANT AND T1.TXTIPIND = T2.TXTKPIND"
                        + "  WHERE RTRIM(VKPKOLL||VKPART)=RTRIM(TXTISIND)"
                        + "  AND T1.txtitxtart = 'VAD') "
                        //+ "  AND T1.txtitxtart = 'VAD') AND SUBSTR(STRUCTURE,2 )='  '"
                        + " AND V.VKPERL=' '";
                    /*or1.CommandText = "   UPDATE ICC_VKAV95 V "
                        + " SET (STRUCTURE)=(SELECT RTRIM(T2.TXTKTEXT)"
                        + " FROM TXTIND T1 JOIN TXTKON T2 ON T1.TXTIMANDANT = T2.TXTKMANDANT AND T1.TXTIPIND = T2.TXTKPIND"
                        + "  WHERE RTRIM(VKPKOLL||VKPART)=RTRIM(TXTISIND)"
                        + "  AND T1.txtitxtart = 'VAD')"
                        + " WHERE EXISTS"
                        + " (SELECT 1 FROM TXTIND T1 JOIN TXTKON T2 ON T1.TXTIMANDANT = T2.TXTKMANDANT AND T1.TXTIPIND = T2.TXTKPIND"
                        + "  WHERE RTRIM(VKPKOLL||VKPART)=RTRIM(TXTISIND)"
                        + "  AND T1.txtitxtart = 'VAD') "
                        //+ "  AND T1.txtitxtart = 'VAD') AND RTRIM(STRUCTURE)=''"
                        + " AND V.VKPERL=' '";*/
                    break;
                case 9:
                    or1.CommandText = "UPDATE ICC_VKAV95 V SET (V.FWIDTH)="
                        + "(SELECT P.VAABRTBIS*0.01 FROM VAART P"
                        + " WHERE V.VKPKOLL=P.VAAKOLL AND V.VKPART=P.VAAART)"
                                               + " WHERE EXISTS  "
                        + " (SELECT 1 FROM VAART P WHERE V.VKPKOLL=P.VAAKOLL AND V.VKPART=P.VAAART)"
                        + " AND VKPERL=' '";
                    break;
                case 9999:
                    or1.CommandText = "UPDATE ICC_VKAV95 V SET (V.VKPERL)="
                        + "(SELECT P.VKPERL FROM VKPOS P"
                        + " WHERE V.VKPAUFKRS=P.VKPAUFKRS AND V.VKPAUFLFD=P.VKPAUFLFD AND V.VKPAUFPOS=P.VKPAUFPOS AND VKPSA<>'AJ')"
                                               + " WHERE EXISTS  "
                        + " (SELECT 1 FROM VKPOS P WHERE V.VKPAUFKRS=P.VKPAUFKRS AND V.VKPAUFLFD=P.VKPAUFLFD AND V.VKPAUFPOS=P.VKPAUFPOS AND VKPSA<>'AJ')"
                        + " AND VKPERL=' '";
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        }
        public void UpdateVVLIEF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE VVLIEF SET "
                + "VVMANDANT=:VVMANDANT,"
                + "VVLIEFSCH=:VVLIEFSCH,"
                + "VVLO=:VVLO,"
                + "VVPRODST1=:VVPRODST1,"
                + "VVPRODST2=:VVPRODST2,"
                + "VVPRODST3=:VVPRODST3,"
                + "VVPRODST4=:VVPRODST4,"
                + "VVPRODST5=:VVPRODST5,"
                + "VVPRODST6=:VVPRODST6,"
                + "VVPRODST7=:VVPRODST7,"
                + "VVPRODST8=:VVPRODST8,"
                + "VVPRODST9=:VVPRODST9,"
                + "VVLIEFSCHTYP=:VVLIEFSCHTYP,"
                + "VVKZINLEXP=:VVKZINLEXP,"
                + "VVSTATUS=:VVSTATUS,"
                + "VVVERSART=:VVVERSART,"
                + "VVSPED=:VVSPED,"
                + "VVVERSARTU=:VVVERSARTU,"
                + "VVSPEDU=:VVSPEDU,"
                + "VVVERSARTV=:VVVERSARTV,"
                + "VVSPEDV=:VVSPEDV,"
                + "VVEBDAT=:VVEBDAT,"
                + "VVKZEBBUCH=:VVKZEBBUCH,"
                + "VVLAND=:VVLAND,"
                + "VVPLZ=:VVPLZ,"
                + "VVORT=:VVORT,"
                + "VVBZ=:VVBZ,"
                + "VVBZBEZ=:VVBZBEZ,"
                + "VVCOUNTY=:VVCOUNTY,"
                + "VVCITY=:VVCITY,"
                + "VVAVISNR=:VVAVISNR,"
                + "VVFBR=:VVFBR,"
                + "VVLIEFBED=:VVLIEFBED,"
                + "VVKZKOSTBER=:VVKZKOSTBER,"
                + "VVLANDU=:VVLANDU,"
                + "VVPLZU=:VVPLZU,"
                + "VVORTU=:VVORTU,"
                + "VVBZU=:VVBZU,"
                + "VVBZBEZU=:VVBZBEZU,"
                + "VVCOUNTYU=:VVCOUNTYU,"
                + "VVCITYU=:VVCITYU,"
                + "VVLIEFSCHGRP=:VVLIEFSCHGRP,"
                + "VVVERSDAT=:VVVERSDAT,"
                + "VVLIEFDAT=:VVLIEFDAT,"
                + "VVFIXDAT=:VVFIXDAT,"
                + "VVVERPART=:VVVERPART,"
                + "VVGUETERNR=:VVGUETERNR,"
                + "VVKZEINZEL=:VVKZEINZEL,"
                + "VVEINZTARA=:VVEINZTARA,"
                + "VVEINZBRUT=:VVEINZBRUT,"
                + "VVEINZNET=:VVEINZNET,"
                + "VVANZ=:VVANZ,"
                + "VVTARA=:VVTARA,"
                + "VVBRUTTO=:VVBRUTTO,"
                + "VVNETTO=:VVNETTO,"
                + "VVVOLUMEN=:VVVOLUMEN,"
                + "VVANZSTK=:VVANZSTK,"
                + "VVNETMTR=:VVNETMTR,"
                + "VVWERT=:VVWERT,"
                + "VVLB1=:VVLB1,"
                + "VVANZPAL1=:VVANZPAL1,"
                + "VVANZAPAL1=:VVANZAPAL1,"
                + "VVANZRPAL1=:VVANZRPAL1,"
                + "VVLB2=:VVLB2,"
                + "VVANZPAL2=:VVANZPAL2,"
                + "VVANZAPAL2=:VVANZAPAL2,"
                + "VVANZRPAL2=:VVANZRPAL2,"
                + "VVLB3=:VVLB3,"
                + "VVANZPAL3=:VVANZPAL3,"
                + "VVANZAPAL3=:VVANZAPAL3,"
                + "VVANZRPAL3=:VVANZRPAL3,"
                + "VVLB4=:VVLB4,"
                + "VVANZPAL4=:VVANZPAL4,"
                + "VVANZAPAL4=:VVANZAPAL4,"
                + "VVANZRPAL4=:VVANZRPAL4,"
                + "VVLB5=:VVLB5,"
                + "VVANZPAL5=:VVANZPAL5,"
                + "VVANZAPAL5=:VVANZAPAL5,"
                + "VVANZRPAL5=:VVANZRPAL5,"
                + "VVLB6=:VVLB6,"
                + "VVANZPAL6=:VVANZPAL6,"
                + "VVANZAPAL6=:VVANZAPAL6,"
                + "VVANZRPAL6=:VVANZRPAL6,"
                + "VVKOLP=:VVKOLP,"
                + "VVVPLP=:VVVPLP,"
                + "VVTPSTA=:VVTPSTA,"
                + "VVTPMA1=:VVTPMA1,"
                + "VVTPMAANZ1=:VVTPMAANZ1,"
                + "VVTPMA2=:VVTPMA2,"
                + "VVTPMAANZ2=:VVTPMAANZ2,"
                + "VVGTBS=:VVGTBS,"
                + "VVGTBK=:VVGTBK,"
                + "VVKM1=:VVKM1,"
                + "VVGTBZ=:VVGTBZ,"
                + "VVKM2=:VVKM2,"
                + "VVTARIF1=:VVTARIF1,"
                + "VVORTKL1=:VVORTKL1,"
                + "VVFRPFL1=:VVFRPFL1,"
                + "VVLAKL1=:VVLAKL1,"
                + "VVFRSATZ1=:VVFRSATZ1,"
                + "VVFRERRECH1=:VVFRERRECH1,"
                + "VVMARGEP1=:VVMARGEP1,"
                + "VVMARGEA1=:VVMARGEA1,"
                + "VVSUMME1=:VVSUMME1,"
                + "VVTARIF2=:VVTARIF2,"
                + "VVORTKL2=:VVORTKL2,"
                + "VVFRPFL2=:VVFRPFL2,"
                + "VVLAKL2=:VVLAKL2,"
                + "VVFRSATZ2=:VVFRSATZ2,"
                + "VVFRERRECH2=:VVFRERRECH2,"
                + "VVMARGEP2=:VVMARGEP2,"
                + "VVMARGEA2=:VVMARGEA2,"
                + "VVSUMME2=:VVSUMME2,"
                + "VVTARIF3=:VVTARIF3,"
                + "VVORTKL3=:VVORTKL3,"
                + "VVFRPFL3=:VVFRPFL3,"
                + "VVLAKL3=:VVLAKL3,"
                + "VVFRSATZ3=:VVFRSATZ3,"
                + "VVFRERRECH3=:VVFRERRECH3,"
                + "VVMARGEP3=:VVMARGEP3,"
                + "VVMARGEA3=:VVMARGEA3,"
                + "VVSUMME3=:VVSUMME3,"
                + "VVPRAEMIEV=:VVPRAEMIEV,"
                + "VVPOLICE=:VVPOLICE,"
                + "VVGDATBIS=:VVGDATBIS,"
                + "VVWERTV=:VVWERTV,"
                + "VVWAEHRSLV=:VVWAEHRSLV,"
                + "VVNEBENKO=:VVNEBENKO,"
                + "VVWAEHRSLN=:VVWAEHRSLN,"
                + "VVNACHNA=:VVNACHNA,"
                + "VVFESTBETR=:VVFESTBETR,"
                + "VVVERZOLLT=:VVVERZOLLT,"
                + "VVKZABRFR=:VVKZABRFR,"
                + "VVZAHLART=:VVZAHLART,"
                + "VVZAHLBED=:VVZAHLBED,"
                + "VVKZLSPERR=:VVKZLSPERR,"
                + "VVANAME1=:VVANAME1,"
                + "VVANAME2=:VVANAME2,"
                + "VVASTRASSE=:VVASTRASSE,"
                + "VVASTRASSE2=:VVASTRASSE2,"
                + "VVALAND=:VVALAND,"
                + "VVAPLZ=:VVAPLZ,"
                + "VVAORT=:VVAORT,"
                + "VVABZ=:VVABZ,"
                + "VVABZBEZ=:VVABZBEZ,"
                + "VVACOUNTY=:VVACOUNTY,"
                + "VVACITY=:VVACITY,"
                + "VVKUNDNRV=:VVKUNDNRV,"
                + "VVADRSLV=:VVADRSLV,"
                + "VVKUNDNRE=:VVKUNDNRE,"
                + "VVEMPFKZ=:VVEMPFKZ,"
                + "VVADRSLL=:VVADRSLL,"
                + "VVADRSLO=:VVADRSLO,"
                + "VVKUNDNRVF=:VVKUNDNRVF,"
                + "VVADRSLKVF=:VVADRSLKVF,"
                + "VVADRSLLVF=:VVADRSLLVF,"
                + "VVKUNDNRR=:VVKUNDNRR,"
                + "VVADRSLKR=:VVADRSLKR,"
                + "VVADRSLLR=:VVADRSLLR,"
                + "VVKUNDNRF=:VVKUNDNRF,"
                + "VVADRSLKF=:VVADRSLKF,"
                + "VVADRSLLF=:VVADRSLLF,"
                + "VVANTEILF=:VVANTEILF,"
                + "VVPI=:VVPI,"
                + "VVET=:VVET,"
                + "VVLS=:VVLS,"
                + "VVPA=:VVPA,"
                + "VVLA=:VVLA,"
                + "VVFR=:VVFR,"
                + "VVAV=:VVAV,"
                + "VVDECKBLATT=:VVDECKBLATT,"
                + "VVLIEFSCHPOS=:VVLIEFSCHPOS,"
                + "VVLPACKNR=:VVLPACKNR,"
                + "VVANZTLIEF=:VVANZTLIEF,"
                + "VVANZTLIEFR=:VVANZTLIEFR,"
                + "VVANZTLIEFB=:VVANZTLIEFB,"
                + "VVLIEFTERM=:VVLIEFTERM,"
                + "VVFRACHTBE=:VVFRACHTBE,"
                + "VVVB=:VVVB,"
                + "VVKZKUNDV=:VVKZKUNDV,"
                + "VVZONE=:VVZONE,"
                + "VVKGBIS=:VVKGBIS,"
                + "VVKDVKL=:VVKDVKL,"
                + "VVADRSLLUR=:VVADRSLLUR,"
                + "VVVALUTA=:VVVALUTA,"
                + "VVVALDAT=:VVVALDAT,"
                + "VVEKON=:VVEKON,"
                + "VVVERSIBE=:VVVERSIBE,"
                + "VVVSTK=:VVVSTK,"
                + "VVLSTKPA=:VVLSTKPA,"
                + "VVPAUFKRS=:VVPAUFKRS,"
                + "VVPAUFLFD=:VVPAUFLFD,"
                + "VVPAUFPOS=:VVPAUFPOS,"
                + "VVVERPKOST=:VVVERPKOST,"
                + "VVKOSTBGR=:VVKOSTBGR,"
                + "VVVERPKOSTE=:VVVERPKOSTE,"
                + "VVLIEFNR=:VVLIEFNR,"
                + "VVRENR=:VVRENR,"
                + "VVREPOS=:VVREPOS,"
                + "VVREDAT=:VVREDAT,"
                + "VVFRNETTO=:VVFRNETTO,"
                + "VVFRKSTA=:VVFRKSTA,"
                + "VVZOLLPAP=:VVZOLLPAP,"
                + "VVPROGRP=:VVPROGRP,"
                + "VVUEBKZ=:VVUEBKZ,"
                + "VVDROFT=:VVDROFT,"
                + "VVKREDLIM=:VVKREDLIM,"
                + "VVSWING=:VVSWING,"
                + "VVRAITING=:VVRAITING,"
                + "VVVERS=:VVVERS,"
                + "VVKREDBIS=:VVKREDBIS,"
                + "VVKREDVON=:VVKREDVON,"
                + "VVLUEBKZ=:VVLUEBKZ,"
                + "VVFRDAT=:VVFRDAT,"
                + "VVFRZEIT=:VVFRZEIT,"
                + "VVFRBENID=:VVFRBENID,"
                + "VVKUNDNRRE=:VVKUNDNRRE,"
                + "VVLIEFART=:VVLIEFART,"
                + "VVKTRANSDAT=:VVKTRANSDAT,"
                + "VVKTRANSUHR=:VVKTRANSUHR,"
                + "VVKTRANSBEN=:VVKTRANSBEN,"
                + "VVKTRANSSTA=:VVKTRANSSTA,"
                + "VVSTRANSDATA=:VVSTRANSDATA,"
                + "VVSTRANSUHRA=:VVSTRANSUHRA,"
                + "VVSTRANSERL=:VVSTRANSERL,"
                + "VVSTRANSDATE=:VVSTRANSDATE,"
                + "VVSTRANSUHRE=:VVSTRANSUHRE,"
                + "VVETRANSDAT=:VVETRANSDAT,"
                + "VVETRANSUHR=:VVETRANSUHR,"
                + "VVETRANSBEN=:VVETRANSBEN,"
                + "VVAKTKZ=:VVAKTKZ,"
                + "VVPSTKKZ=:VVPSTKKZ,"
                + "VVANZVP=:VVANZVP,"
                + "VVWAEHRSL=:VVWAEHRSL,"
                + "VVHWAEHRSL=:VVHWAEHRSL,"
                + "VVHEUROKURS=:VVHEUROKURS,"
                + "VVHEUROKURSVK=:VVHEUROKURSVK,"
                + "VVFEUROKURS=:VVFEUROKURS,"
                + "VVFEUROKURSVK=:VVFEUROKURSVK,"
                + "VVLOHNKD=:VVLOHNKD,"
                + "VVARCHKZ=:VVARCHKZ,"
                + "VVARCHDAT=:VVARCHDAT,"
                + "VVARCHBEL=:VVARCHBEL,"
                + "VVSEQUNO=:VVSEQUNO,"
                + "VVLFDPN=:VVLFDPN,"
                + "VVARTGRP=:VVARTGRP,"
                + "VVAETINEU=:VVAETINEU,"
                + "VVPTARIF=:VVPTARIF,"
                + "VVANSPRECH=:VVANSPRECH,"
                + "VVANSPZUS=:VVANSPZUS,"
                + "VVTRANSSEQ=:VVTRANSSEQ,"
                + "VVEDI=:VVEDI,"
                + "VVEDIDAT=:VVEDIDAT,"
                + "VVQUITTAIO=:VVQUITTAIO,"
                + "VVGESMTR=:VVGESMTR,"
                + "VVLOAD=:VVLOAD,"
                + "VVFILLER=:VVFILLER,"
                + "VVAENDZL=:VVAENDZL,"
                + "VVAENDBEN=:VVAENDBEN,"
                + "VVAENDDAT=:VVAENDDAT,"
                + "VVNEUBEN=:VVNEUBEN,"
                + "VVNEUDAT=:VVNEUDAT"
            + " WHERE  "
            + "  VVMANDANT=:VVMANDANT AND VVLIEFSCH=:VVLIEFSCH";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("VVMANDANT", OracleType.NVarChar).Value = dwData["VVMANDANT"].ToString();
            or1.Parameters.Add("VVLIEFSCH", OracleType.NVarChar).Value = dwData["VVLIEFSCH"].ToString();
            or1.Parameters.Add("VVLO", OracleType.NVarChar).Value = dwData["VVLO"].ToString();
            or1.Parameters.Add("VVPRODST1", OracleType.NVarChar).Value = dwData["VVPRODST1"].ToString();
            or1.Parameters.Add("VVPRODST2", OracleType.NVarChar).Value = dwData["VVPRODST2"].ToString();
            or1.Parameters.Add("VVPRODST3", OracleType.NVarChar).Value = dwData["VVPRODST3"].ToString();
            or1.Parameters.Add("VVPRODST4", OracleType.NVarChar).Value = dwData["VVPRODST4"].ToString();
            or1.Parameters.Add("VVPRODST5", OracleType.NVarChar).Value = dwData["VVPRODST5"].ToString();
            or1.Parameters.Add("VVPRODST6", OracleType.NVarChar).Value = dwData["VVPRODST6"].ToString();
            or1.Parameters.Add("VVPRODST7", OracleType.NVarChar).Value = dwData["VVPRODST7"].ToString();
            or1.Parameters.Add("VVPRODST8", OracleType.NVarChar).Value = dwData["VVPRODST8"].ToString();
            or1.Parameters.Add("VVPRODST9", OracleType.NVarChar).Value = dwData["VVPRODST9"].ToString();
            or1.Parameters.Add("VVLIEFSCHTYP", OracleType.NVarChar).Value = dwData["VVLIEFSCHTYP"].ToString();
            or1.Parameters.Add("VVKZINLEXP", OracleType.NVarChar).Value = dwData["VVKZINLEXP"].ToString();
            or1.Parameters.Add("VVSTATUS", OracleType.NVarChar).Value = dwData["VVSTATUS"].ToString();
            or1.Parameters.Add("VVVERSART", OracleType.NVarChar).Value = dwData["VVVERSART"].ToString();
            or1.Parameters.Add("VVSPED", OracleType.NVarChar).Value = dwData["VVSPED"].ToString();
            or1.Parameters.Add("VVVERSARTU", OracleType.NVarChar).Value = dwData["VVVERSARTU"].ToString();
            or1.Parameters.Add("VVSPEDU", OracleType.NVarChar).Value = dwData["VVSPEDU"].ToString();
            or1.Parameters.Add("VVVERSARTV", OracleType.NVarChar).Value = dwData["VVVERSARTV"].ToString();
            or1.Parameters.Add("VVSPEDV", OracleType.NVarChar).Value = dwData["VVSPEDV"].ToString();
            or1.Parameters.Add("VVEBDAT", OracleType.NVarChar).Value = dwData["VVEBDAT"].ToString();
            or1.Parameters.Add("VVKZEBBUCH", OracleType.NVarChar).Value = dwData["VVKZEBBUCH"].ToString();
            or1.Parameters.Add("VVLAND", OracleType.NVarChar).Value = dwData["VVLAND"].ToString();
            or1.Parameters.Add("VVPLZ", OracleType.NVarChar).Value = dwData["VVPLZ"].ToString();
            or1.Parameters.Add("VVORT", OracleType.NVarChar).Value = dwData["VVORT"].ToString();
            or1.Parameters.Add("VVBZ", OracleType.NVarChar).Value = dwData["VVBZ"].ToString();
            or1.Parameters.Add("VVBZBEZ", OracleType.NVarChar).Value = dwData["VVBZBEZ"].ToString();
            or1.Parameters.Add("VVCOUNTY", OracleType.NVarChar).Value = dwData["VVCOUNTY"].ToString();
            or1.Parameters.Add("VVCITY", OracleType.NVarChar).Value = dwData["VVCITY"].ToString();
            or1.Parameters.Add("VVAVISNR", OracleType.NVarChar).Value = dwData["VVAVISNR"].ToString();
            or1.Parameters.Add("VVFBR", OracleType.NVarChar).Value = dwData["VVFBR"].ToString();
            or1.Parameters.Add("VVLIEFBED", OracleType.NVarChar).Value = dwData["VVLIEFBED"].ToString();
            or1.Parameters.Add("VVKZKOSTBER", OracleType.NVarChar).Value = dwData["VVKZKOSTBER"].ToString();
            or1.Parameters.Add("VVLANDU", OracleType.NVarChar).Value = dwData["VVLANDU"].ToString();
            or1.Parameters.Add("VVPLZU", OracleType.NVarChar).Value = dwData["VVPLZU"].ToString();
            or1.Parameters.Add("VVORTU", OracleType.NVarChar).Value = dwData["VVORTU"].ToString();
            or1.Parameters.Add("VVBZU", OracleType.NVarChar).Value = dwData["VVBZU"].ToString();
            or1.Parameters.Add("VVBZBEZU", OracleType.NVarChar).Value = dwData["VVBZBEZU"].ToString();
            or1.Parameters.Add("VVCOUNTYU", OracleType.NVarChar).Value = dwData["VVCOUNTYU"].ToString();
            or1.Parameters.Add("VVCITYU", OracleType.NVarChar).Value = dwData["VVCITYU"].ToString();
            or1.Parameters.Add("VVLIEFSCHGRP", OracleType.NVarChar).Value = dwData["VVLIEFSCHGRP"].ToString();
            or1.Parameters.Add("VVVERSDAT", OracleType.NVarChar).Value = dwData["VVVERSDAT"].ToString();
            or1.Parameters.Add("VVLIEFDAT", OracleType.NVarChar).Value = dwData["VVLIEFDAT"].ToString();
            or1.Parameters.Add("VVFIXDAT", OracleType.NVarChar).Value = dwData["VVFIXDAT"].ToString();
            or1.Parameters.Add("VVVERPART", OracleType.NVarChar).Value = dwData["VVVERPART"].ToString();
            or1.Parameters.Add("VVGUETERNR", OracleType.NVarChar).Value = dwData["VVGUETERNR"].ToString();
            or1.Parameters.Add("VVKZEINZEL", OracleType.NVarChar).Value = dwData["VVKZEINZEL"].ToString();
            or1.Parameters.Add("VVEINZTARA", OracleType.NVarChar).Value = dwData["VVEINZTARA"].ToString();
            or1.Parameters.Add("VVEINZBRUT", OracleType.NVarChar).Value = dwData["VVEINZBRUT"].ToString();
            or1.Parameters.Add("VVEINZNET", OracleType.NVarChar).Value = dwData["VVEINZNET"].ToString();
            or1.Parameters.Add("VVANZ", OracleType.NVarChar).Value = dwData["VVANZ"].ToString();
            or1.Parameters.Add("VVTARA", OracleType.NVarChar).Value = dwData["VVTARA"].ToString();
            or1.Parameters.Add("VVBRUTTO", OracleType.NVarChar).Value = dwData["VVBRUTTO"].ToString();
            or1.Parameters.Add("VVNETTO", OracleType.NVarChar).Value = dwData["VVNETTO"].ToString();
            or1.Parameters.Add("VVVOLUMEN", OracleType.NVarChar).Value = dwData["VVVOLUMEN"].ToString();
            or1.Parameters.Add("VVANZSTK", OracleType.NVarChar).Value = dwData["VVANZSTK"].ToString();
            or1.Parameters.Add("VVNETMTR", OracleType.NVarChar).Value = dwData["VVNETMTR"].ToString();
            or1.Parameters.Add("VVWERT", OracleType.NVarChar).Value = dwData["VVWERT"].ToString();
            or1.Parameters.Add("VVLB1", OracleType.NVarChar).Value = dwData["VVLB1"].ToString();
            or1.Parameters.Add("VVANZPAL1", OracleType.NVarChar).Value = dwData["VVANZPAL1"].ToString();
            or1.Parameters.Add("VVANZAPAL1", OracleType.NVarChar).Value = dwData["VVANZAPAL1"].ToString();
            or1.Parameters.Add("VVANZRPAL1", OracleType.NVarChar).Value = dwData["VVANZRPAL1"].ToString();
            or1.Parameters.Add("VVLB2", OracleType.NVarChar).Value = dwData["VVLB2"].ToString();
            or1.Parameters.Add("VVANZPAL2", OracleType.NVarChar).Value = dwData["VVANZPAL2"].ToString();
            or1.Parameters.Add("VVANZAPAL2", OracleType.NVarChar).Value = dwData["VVANZAPAL2"].ToString();
            or1.Parameters.Add("VVANZRPAL2", OracleType.NVarChar).Value = dwData["VVANZRPAL2"].ToString();
            or1.Parameters.Add("VVLB3", OracleType.NVarChar).Value = dwData["VVLB3"].ToString();
            or1.Parameters.Add("VVANZPAL3", OracleType.NVarChar).Value = dwData["VVANZPAL3"].ToString();
            or1.Parameters.Add("VVANZAPAL3", OracleType.NVarChar).Value = dwData["VVANZAPAL3"].ToString();
            or1.Parameters.Add("VVANZRPAL3", OracleType.NVarChar).Value = dwData["VVANZRPAL3"].ToString();
            or1.Parameters.Add("VVLB4", OracleType.NVarChar).Value = dwData["VVLB4"].ToString();
            or1.Parameters.Add("VVANZPAL4", OracleType.NVarChar).Value = dwData["VVANZPAL4"].ToString();
            or1.Parameters.Add("VVANZAPAL4", OracleType.NVarChar).Value = dwData["VVANZAPAL4"].ToString();
            or1.Parameters.Add("VVANZRPAL4", OracleType.NVarChar).Value = dwData["VVANZRPAL4"].ToString();
            or1.Parameters.Add("VVLB5", OracleType.NVarChar).Value = dwData["VVLB5"].ToString();
            or1.Parameters.Add("VVANZPAL5", OracleType.NVarChar).Value = dwData["VVANZPAL5"].ToString();
            or1.Parameters.Add("VVANZAPAL5", OracleType.NVarChar).Value = dwData["VVANZAPAL5"].ToString();
            or1.Parameters.Add("VVANZRPAL5", OracleType.NVarChar).Value = dwData["VVANZRPAL5"].ToString();
            or1.Parameters.Add("VVLB6", OracleType.NVarChar).Value = dwData["VVLB6"].ToString();
            or1.Parameters.Add("VVANZPAL6", OracleType.NVarChar).Value = dwData["VVANZPAL6"].ToString();
            or1.Parameters.Add("VVANZAPAL6", OracleType.NVarChar).Value = dwData["VVANZAPAL6"].ToString();
            or1.Parameters.Add("VVANZRPAL6", OracleType.NVarChar).Value = dwData["VVANZRPAL6"].ToString();
            or1.Parameters.Add("VVKOLP", OracleType.NVarChar).Value = dwData["VVKOLP"].ToString();
            or1.Parameters.Add("VVVPLP", OracleType.NVarChar).Value = dwData["VVVPLP"].ToString();
            or1.Parameters.Add("VVTPSTA", OracleType.NVarChar).Value = dwData["VVTPSTA"].ToString();
            or1.Parameters.Add("VVTPMA1", OracleType.NVarChar).Value = dwData["VVTPMA1"].ToString();
            or1.Parameters.Add("VVTPMAANZ1", OracleType.NVarChar).Value = dwData["VVTPMAANZ1"].ToString();
            or1.Parameters.Add("VVTPMA2", OracleType.NVarChar).Value = dwData["VVTPMA2"].ToString();
            or1.Parameters.Add("VVTPMAANZ2", OracleType.NVarChar).Value = dwData["VVTPMAANZ2"].ToString();
            or1.Parameters.Add("VVGTBS", OracleType.NVarChar).Value = dwData["VVGTBS"].ToString();
            or1.Parameters.Add("VVGTBK", OracleType.NVarChar).Value = dwData["VVGTBK"].ToString();
            or1.Parameters.Add("VVKM1", OracleType.NVarChar).Value = dwData["VVKM1"].ToString();
            or1.Parameters.Add("VVGTBZ", OracleType.NVarChar).Value = dwData["VVGTBZ"].ToString();
            or1.Parameters.Add("VVKM2", OracleType.NVarChar).Value = dwData["VVKM2"].ToString();
            or1.Parameters.Add("VVTARIF1", OracleType.NVarChar).Value = dwData["VVTARIF1"].ToString();
            or1.Parameters.Add("VVORTKL1", OracleType.NVarChar).Value = dwData["VVORTKL1"].ToString();
            or1.Parameters.Add("VVFRPFL1", OracleType.NVarChar).Value = dwData["VVFRPFL1"].ToString();
            or1.Parameters.Add("VVLAKL1", OracleType.NVarChar).Value = dwData["VVLAKL1"].ToString();
            or1.Parameters.Add("VVFRSATZ1", OracleType.NVarChar).Value = dwData["VVFRSATZ1"].ToString();
            or1.Parameters.Add("VVFRERRECH1", OracleType.NVarChar).Value = dwData["VVFRERRECH1"].ToString();
            or1.Parameters.Add("VVMARGEP1", OracleType.NVarChar).Value = dwData["VVMARGEP1"].ToString();
            or1.Parameters.Add("VVMARGEA1", OracleType.NVarChar).Value = dwData["VVMARGEA1"].ToString();
            or1.Parameters.Add("VVSUMME1", OracleType.NVarChar).Value = dwData["VVSUMME1"].ToString();
            or1.Parameters.Add("VVTARIF2", OracleType.NVarChar).Value = dwData["VVTARIF2"].ToString();
            or1.Parameters.Add("VVORTKL2", OracleType.NVarChar).Value = dwData["VVORTKL2"].ToString();
            or1.Parameters.Add("VVFRPFL2", OracleType.NVarChar).Value = dwData["VVFRPFL2"].ToString();
            or1.Parameters.Add("VVLAKL2", OracleType.NVarChar).Value = dwData["VVLAKL2"].ToString();
            or1.Parameters.Add("VVFRSATZ2", OracleType.NVarChar).Value = dwData["VVFRSATZ2"].ToString();
            or1.Parameters.Add("VVFRERRECH2", OracleType.NVarChar).Value = dwData["VVFRERRECH2"].ToString();
            or1.Parameters.Add("VVMARGEP2", OracleType.NVarChar).Value = dwData["VVMARGEP2"].ToString();
            or1.Parameters.Add("VVMARGEA2", OracleType.NVarChar).Value = dwData["VVMARGEA2"].ToString();
            or1.Parameters.Add("VVSUMME2", OracleType.NVarChar).Value = dwData["VVSUMME2"].ToString();
            or1.Parameters.Add("VVTARIF3", OracleType.NVarChar).Value = dwData["VVTARIF3"].ToString();
            or1.Parameters.Add("VVORTKL3", OracleType.NVarChar).Value = dwData["VVORTKL3"].ToString();
            or1.Parameters.Add("VVFRPFL3", OracleType.NVarChar).Value = dwData["VVFRPFL3"].ToString();
            or1.Parameters.Add("VVLAKL3", OracleType.NVarChar).Value = dwData["VVLAKL3"].ToString();
            or1.Parameters.Add("VVFRSATZ3", OracleType.NVarChar).Value = dwData["VVFRSATZ3"].ToString();
            or1.Parameters.Add("VVFRERRECH3", OracleType.NVarChar).Value = dwData["VVFRERRECH3"].ToString();
            or1.Parameters.Add("VVMARGEP3", OracleType.NVarChar).Value = dwData["VVMARGEP3"].ToString();
            or1.Parameters.Add("VVMARGEA3", OracleType.NVarChar).Value = dwData["VVMARGEA3"].ToString();
            or1.Parameters.Add("VVSUMME3", OracleType.NVarChar).Value = dwData["VVSUMME3"].ToString();
            or1.Parameters.Add("VVPRAEMIEV", OracleType.NVarChar).Value = dwData["VVPRAEMIEV"].ToString();
            or1.Parameters.Add("VVPOLICE", OracleType.NVarChar).Value = dwData["VVPOLICE"].ToString();
            or1.Parameters.Add("VVGDATBIS", OracleType.NVarChar).Value = dwData["VVGDATBIS"].ToString();
            or1.Parameters.Add("VVWERTV", OracleType.NVarChar).Value = dwData["VVWERTV"].ToString();
            or1.Parameters.Add("VVWAEHRSLV", OracleType.NVarChar).Value = dwData["VVWAEHRSLV"].ToString();
            or1.Parameters.Add("VVNEBENKO", OracleType.NVarChar).Value = dwData["VVNEBENKO"].ToString();
            or1.Parameters.Add("VVWAEHRSLN", OracleType.NVarChar).Value = dwData["VVWAEHRSLN"].ToString();
            or1.Parameters.Add("VVNACHNA", OracleType.NVarChar).Value = dwData["VVNACHNA"].ToString();
            or1.Parameters.Add("VVFESTBETR", OracleType.NVarChar).Value = dwData["VVFESTBETR"].ToString();
            or1.Parameters.Add("VVVERZOLLT", OracleType.NVarChar).Value = dwData["VVVERZOLLT"].ToString();
            or1.Parameters.Add("VVKZABRFR", OracleType.NVarChar).Value = dwData["VVKZABRFR"].ToString();
            or1.Parameters.Add("VVZAHLART", OracleType.NVarChar).Value = dwData["VVZAHLART"].ToString();
            or1.Parameters.Add("VVZAHLBED", OracleType.NVarChar).Value = dwData["VVZAHLBED"].ToString();
            or1.Parameters.Add("VVKZLSPERR", OracleType.NVarChar).Value = dwData["VVKZLSPERR"].ToString();
            or1.Parameters.Add("VVANAME1", OracleType.NVarChar).Value = dwData["VVANAME1"].ToString();
            or1.Parameters.Add("VVANAME2", OracleType.NVarChar).Value = dwData["VVANAME2"].ToString();
            or1.Parameters.Add("VVASTRASSE", OracleType.NVarChar).Value = dwData["VVASTRASSE"].ToString();
            or1.Parameters.Add("VVASTRASSE2", OracleType.NVarChar).Value = dwData["VVASTRASSE2"].ToString();
            or1.Parameters.Add("VVALAND", OracleType.NVarChar).Value = dwData["VVALAND"].ToString();
            or1.Parameters.Add("VVAPLZ", OracleType.NVarChar).Value = dwData["VVAPLZ"].ToString();
            or1.Parameters.Add("VVAORT", OracleType.NVarChar).Value = dwData["VVAORT"].ToString();
            or1.Parameters.Add("VVABZ", OracleType.NVarChar).Value = dwData["VVABZ"].ToString();
            or1.Parameters.Add("VVABZBEZ", OracleType.NVarChar).Value = dwData["VVABZBEZ"].ToString();
            or1.Parameters.Add("VVACOUNTY", OracleType.NVarChar).Value = dwData["VVACOUNTY"].ToString();
            or1.Parameters.Add("VVACITY", OracleType.NVarChar).Value = dwData["VVACITY"].ToString();
            or1.Parameters.Add("VVKUNDNRV", OracleType.NVarChar).Value = dwData["VVKUNDNRV"].ToString();
            or1.Parameters.Add("VVADRSLV", OracleType.NVarChar).Value = dwData["VVADRSLV"].ToString();
            or1.Parameters.Add("VVKUNDNRE", OracleType.NVarChar).Value = dwData["VVKUNDNRE"].ToString();
            or1.Parameters.Add("VVEMPFKZ", OracleType.NVarChar).Value = dwData["VVEMPFKZ"].ToString();
            or1.Parameters.Add("VVADRSLL", OracleType.NVarChar).Value = dwData["VVADRSLL"].ToString();
            or1.Parameters.Add("VVADRSLO", OracleType.NVarChar).Value = dwData["VVADRSLO"].ToString();
            or1.Parameters.Add("VVKUNDNRVF", OracleType.NVarChar).Value = dwData["VVKUNDNRVF"].ToString();
            or1.Parameters.Add("VVADRSLKVF", OracleType.NVarChar).Value = dwData["VVADRSLKVF"].ToString();
            or1.Parameters.Add("VVADRSLLVF", OracleType.NVarChar).Value = dwData["VVADRSLLVF"].ToString();
            or1.Parameters.Add("VVKUNDNRR", OracleType.NVarChar).Value = dwData["VVKUNDNRR"].ToString();
            or1.Parameters.Add("VVADRSLKR", OracleType.NVarChar).Value = dwData["VVADRSLKR"].ToString();
            or1.Parameters.Add("VVADRSLLR", OracleType.NVarChar).Value = dwData["VVADRSLLR"].ToString();
            or1.Parameters.Add("VVKUNDNRF", OracleType.NVarChar).Value = dwData["VVKUNDNRF"].ToString();
            or1.Parameters.Add("VVADRSLKF", OracleType.NVarChar).Value = dwData["VVADRSLKF"].ToString();
            or1.Parameters.Add("VVADRSLLF", OracleType.NVarChar).Value = dwData["VVADRSLLF"].ToString();
            or1.Parameters.Add("VVANTEILF", OracleType.NVarChar).Value = dwData["VVANTEILF"].ToString();
            or1.Parameters.Add("VVPI", OracleType.NVarChar).Value = dwData["VVPI"].ToString();
            or1.Parameters.Add("VVET", OracleType.NVarChar).Value = dwData["VVET"].ToString();
            or1.Parameters.Add("VVLS", OracleType.NVarChar).Value = dwData["VVLS"].ToString();
            or1.Parameters.Add("VVPA", OracleType.NVarChar).Value = dwData["VVPA"].ToString();
            or1.Parameters.Add("VVLA", OracleType.NVarChar).Value = dwData["VVLA"].ToString();
            or1.Parameters.Add("VVFR", OracleType.NVarChar).Value = dwData["VVFR"].ToString();
            or1.Parameters.Add("VVAV", OracleType.NVarChar).Value = dwData["VVAV"].ToString();
            or1.Parameters.Add("VVDECKBLATT", OracleType.NVarChar).Value = dwData["VVDECKBLATT"].ToString();
            or1.Parameters.Add("VVLIEFSCHPOS", OracleType.NVarChar).Value = dwData["VVLIEFSCHPOS"].ToString();
            or1.Parameters.Add("VVLPACKNR", OracleType.NVarChar).Value = dwData["VVLPACKNR"].ToString();
            or1.Parameters.Add("VVANZTLIEF", OracleType.NVarChar).Value = dwData["VVANZTLIEF"].ToString();
            or1.Parameters.Add("VVANZTLIEFR", OracleType.NVarChar).Value = dwData["VVANZTLIEFR"].ToString();
            or1.Parameters.Add("VVANZTLIEFB", OracleType.NVarChar).Value = dwData["VVANZTLIEFB"].ToString();
            or1.Parameters.Add("VVLIEFTERM", OracleType.NVarChar).Value = dwData["VVLIEFTERM"].ToString();
            or1.Parameters.Add("VVFRACHTBE", OracleType.NVarChar).Value = dwData["VVFRACHTBE"].ToString();
            or1.Parameters.Add("VVVB", OracleType.NVarChar).Value = dwData["VVVB"].ToString();
            or1.Parameters.Add("VVKZKUNDV", OracleType.NVarChar).Value = dwData["VVKZKUNDV"].ToString();
            or1.Parameters.Add("VVZONE", OracleType.NVarChar).Value = dwData["VVZONE"].ToString();
            or1.Parameters.Add("VVKGBIS", OracleType.NVarChar).Value = dwData["VVKGBIS"].ToString();
            or1.Parameters.Add("VVKDVKL", OracleType.NVarChar).Value = dwData["VVKDVKL"].ToString();
            or1.Parameters.Add("VVADRSLLUR", OracleType.NVarChar).Value = dwData["VVADRSLLUR"].ToString();
            or1.Parameters.Add("VVVALUTA", OracleType.NVarChar).Value = dwData["VVVALUTA"].ToString();
            or1.Parameters.Add("VVVALDAT", OracleType.NVarChar).Value = dwData["VVVALDAT"].ToString();
            or1.Parameters.Add("VVEKON", OracleType.NVarChar).Value = dwData["VVEKON"].ToString();
            or1.Parameters.Add("VVVERSIBE", OracleType.NVarChar).Value = dwData["VVVERSIBE"].ToString();
            or1.Parameters.Add("VVVSTK", OracleType.NVarChar).Value = dwData["VVVSTK"].ToString();
            or1.Parameters.Add("VVLSTKPA", OracleType.NVarChar).Value = dwData["VVLSTKPA"].ToString();
            or1.Parameters.Add("VVPAUFKRS", OracleType.NVarChar).Value = dwData["VVPAUFKRS"].ToString();
            or1.Parameters.Add("VVPAUFLFD", OracleType.NVarChar).Value = dwData["VVPAUFLFD"].ToString();
            or1.Parameters.Add("VVPAUFPOS", OracleType.NVarChar).Value = dwData["VVPAUFPOS"].ToString();
            or1.Parameters.Add("VVVERPKOST", OracleType.NVarChar).Value = dwData["VVVERPKOST"].ToString();
            or1.Parameters.Add("VVKOSTBGR", OracleType.NVarChar).Value = dwData["VVKOSTBGR"].ToString();
            or1.Parameters.Add("VVVERPKOSTE", OracleType.NVarChar).Value = dwData["VVVERPKOSTE"].ToString();
            or1.Parameters.Add("VVLIEFNR", OracleType.NVarChar).Value = dwData["VVLIEFNR"].ToString();
            or1.Parameters.Add("VVRENR", OracleType.NVarChar).Value = dwData["VVRENR"].ToString();
            or1.Parameters.Add("VVREPOS", OracleType.NVarChar).Value = dwData["VVREPOS"].ToString();
            or1.Parameters.Add("VVREDAT", OracleType.NVarChar).Value = dwData["VVREDAT"].ToString();
            or1.Parameters.Add("VVFRNETTO", OracleType.NVarChar).Value = dwData["VVFRNETTO"].ToString();
            or1.Parameters.Add("VVFRKSTA", OracleType.NVarChar).Value = dwData["VVFRKSTA"].ToString();
            or1.Parameters.Add("VVZOLLPAP", OracleType.NVarChar).Value = dwData["VVZOLLPAP"].ToString();
            or1.Parameters.Add("VVPROGRP", OracleType.NVarChar).Value = dwData["VVPROGRP"].ToString();
            or1.Parameters.Add("VVUEBKZ", OracleType.NVarChar).Value = dwData["VVUEBKZ"].ToString();
            or1.Parameters.Add("VVDROFT", OracleType.NVarChar).Value = dwData["VVDROFT"].ToString();
            or1.Parameters.Add("VVKREDLIM", OracleType.NVarChar).Value = dwData["VVKREDLIM"].ToString();
            or1.Parameters.Add("VVSWING", OracleType.NVarChar).Value = dwData["VVSWING"].ToString();
            or1.Parameters.Add("VVRAITING", OracleType.NVarChar).Value = dwData["VVRAITING"].ToString();
            or1.Parameters.Add("VVVERS", OracleType.NVarChar).Value = dwData["VVVERS"].ToString();
            or1.Parameters.Add("VVKREDBIS", OracleType.NVarChar).Value = dwData["VVKREDBIS"].ToString();
            or1.Parameters.Add("VVKREDVON", OracleType.NVarChar).Value = dwData["VVKREDVON"].ToString();
            or1.Parameters.Add("VVLUEBKZ", OracleType.NVarChar).Value = dwData["VVLUEBKZ"].ToString();
            or1.Parameters.Add("VVFRDAT", OracleType.NVarChar).Value = dwData["VVFRDAT"].ToString();
            or1.Parameters.Add("VVFRZEIT", OracleType.NVarChar).Value = dwData["VVFRZEIT"].ToString();
            or1.Parameters.Add("VVFRBENID", OracleType.NVarChar).Value = dwData["VVFRBENID"].ToString();
            or1.Parameters.Add("VVKUNDNRRE", OracleType.NVarChar).Value = dwData["VVKUNDNRRE"].ToString();
            or1.Parameters.Add("VVLIEFART", OracleType.NVarChar).Value = dwData["VVLIEFART"].ToString();
            or1.Parameters.Add("VVKTRANSDAT", OracleType.NVarChar).Value = dwData["VVKTRANSDAT"].ToString();
            or1.Parameters.Add("VVKTRANSUHR", OracleType.NVarChar).Value = dwData["VVKTRANSUHR"].ToString();
            or1.Parameters.Add("VVKTRANSBEN", OracleType.NVarChar).Value = dwData["VVKTRANSBEN"].ToString();
            or1.Parameters.Add("VVKTRANSSTA", OracleType.NVarChar).Value = dwData["VVKTRANSSTA"].ToString();
            or1.Parameters.Add("VVSTRANSDATA", OracleType.NVarChar).Value = dwData["VVSTRANSDATA"].ToString();
            or1.Parameters.Add("VVSTRANSUHRA", OracleType.NVarChar).Value = dwData["VVSTRANSUHRA"].ToString();
            or1.Parameters.Add("VVSTRANSERL", OracleType.NVarChar).Value = dwData["VVSTRANSERL"].ToString();
            or1.Parameters.Add("VVSTRANSDATE", OracleType.NVarChar).Value = dwData["VVSTRANSDATE"].ToString();
            or1.Parameters.Add("VVSTRANSUHRE", OracleType.NVarChar).Value = dwData["VVSTRANSUHRE"].ToString();
            or1.Parameters.Add("VVETRANSDAT", OracleType.NVarChar).Value = dwData["VVETRANSDAT"].ToString();
            or1.Parameters.Add("VVETRANSUHR", OracleType.NVarChar).Value = dwData["VVETRANSUHR"].ToString();
            or1.Parameters.Add("VVETRANSBEN", OracleType.NVarChar).Value = dwData["VVETRANSBEN"].ToString();
            or1.Parameters.Add("VVAKTKZ", OracleType.NVarChar).Value = dwData["VVAKTKZ"].ToString();
            or1.Parameters.Add("VVPSTKKZ", OracleType.NVarChar).Value = dwData["VVPSTKKZ"].ToString();
            or1.Parameters.Add("VVANZVP", OracleType.NVarChar).Value = dwData["VVANZVP"].ToString();
            or1.Parameters.Add("VVWAEHRSL", OracleType.NVarChar).Value = dwData["VVWAEHRSL"].ToString();
            or1.Parameters.Add("VVHWAEHRSL", OracleType.NVarChar).Value = dwData["VVHWAEHRSL"].ToString();
            or1.Parameters.Add("VVHEUROKURS", OracleType.NVarChar).Value = dwData["VVHEUROKURS"].ToString();
            or1.Parameters.Add("VVHEUROKURSVK", OracleType.NVarChar).Value = dwData["VVHEUROKURSVK"].ToString();
            or1.Parameters.Add("VVFEUROKURS", OracleType.NVarChar).Value = dwData["VVFEUROKURS"].ToString();
            or1.Parameters.Add("VVFEUROKURSVK", OracleType.NVarChar).Value = dwData["VVFEUROKURSVK"].ToString();
            or1.Parameters.Add("VVLOHNKD", OracleType.NVarChar).Value = dwData["VVLOHNKD"].ToString();
            or1.Parameters.Add("VVARCHKZ", OracleType.NVarChar).Value = dwData["VVARCHKZ"].ToString();
            or1.Parameters.Add("VVARCHDAT", OracleType.NVarChar).Value = dwData["VVARCHDAT"].ToString();
            or1.Parameters.Add("VVARCHBEL", OracleType.NVarChar).Value = dwData["VVARCHBEL"].ToString();
            or1.Parameters.Add("VVSEQUNO", OracleType.NVarChar).Value = dwData["VVSEQUNO"].ToString();
            or1.Parameters.Add("VVLFDPN", OracleType.NVarChar).Value = dwData["VVLFDPN"].ToString();
            or1.Parameters.Add("VVARTGRP", OracleType.NVarChar).Value = dwData["VVARTGRP"].ToString();
            or1.Parameters.Add("VVAETINEU", OracleType.NVarChar).Value = dwData["VVAETINEU"].ToString();
            or1.Parameters.Add("VVPTARIF", OracleType.NVarChar).Value = dwData["VVPTARIF"].ToString();
            or1.Parameters.Add("VVANSPRECH", OracleType.NVarChar).Value = dwData["VVANSPRECH"].ToString();
            or1.Parameters.Add("VVANSPZUS", OracleType.NVarChar).Value = dwData["VVANSPZUS"].ToString();
            or1.Parameters.Add("VVTRANSSEQ", OracleType.NVarChar).Value = dwData["VVTRANSSEQ"].ToString();
            or1.Parameters.Add("VVEDI", OracleType.NVarChar).Value = dwData["VVEDI"].ToString();
            or1.Parameters.Add("VVEDIDAT", OracleType.NVarChar).Value = dwData["VVEDIDAT"].ToString();
            or1.Parameters.Add("VVQUITTAIO", OracleType.NVarChar).Value = dwData["VVQUITTAIO"].ToString();
            or1.Parameters.Add("VVGESMTR", OracleType.NVarChar).Value = dwData["VVGESMTR"].ToString();
            or1.Parameters.Add("VVLOAD", OracleType.NVarChar).Value = dwData["VVLOAD"].ToString();
            or1.Parameters.Add("VVFILLER", OracleType.NVarChar).Value = dwData["VVFILLER"].ToString();
            or1.Parameters.Add("VVAENDZL", OracleType.NVarChar).Value = dwData["VVAENDZL"].ToString();
            or1.Parameters.Add("VVAENDBEN", OracleType.NVarChar).Value = dwData["VVAENDBEN"].ToString();
            or1.Parameters.Add("VVAENDDAT", OracleType.NVarChar).Value = dwData["VVAENDDAT"].ToString();
            or1.Parameters.Add("VVNEUBEN", OracleType.NVarChar).Value = dwData["VVNEUBEN"].ToString();
            or1.Parameters.Add("VVNEUDAT", OracleType.NVarChar).Value = dwData["VVNEUDAT"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateVVTLIEF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE VVTLIEF SET "
                + "VVTMANDANT=:VVTMANDANT,"
                + "VVTAUFTYP=:VVTAUFTYP,"
                + "VVTAUFKRS=:VVTAUFKRS,"
                + "VVTAUFLFD=:VVTAUFLFD,"
                + "VVTAUFPOS=:VVTAUFPOS,"
                + "VVTTEILNR=:VVTTEILNR,"
                + "VVTLOVON=:VVTLOVON,"
                + "VVTLOAN=:VVTLOAN,"
                + "VVTTEILNRAN=:VVTTEILNRAN,"
                + "VVTABHAENGIG=:VVTABHAENGIG,"
                + "VVTLOABH1=:VVTLOABH1,"
                + "VVTLOABH2=:VVTLOABH2,"
                + "VVTPRODST=:VVTPRODST,"
                + "VVTKZINLEXP=:VVTKZINLEXP,"
                + "VVTLAND=:VVTLAND,"
                + "VVTPLZ=:VVTPLZ,"
                + "VVTKUNDNRL=:VVTKUNDNRL,"
                + "VVTADRSLL=:VVTADRSLL,"
                + "VVTLIEFSCH=:VVTLIEFSCH,"
                + "VVTLIEFSCHPOS=:VVTLIEFSCHPOS,"
                + "VVTKUNDNRR=:VVTKUNDNRR,"
                + "VVTADRSLR=:VVTADRSLR,"
                + "VVTRENR=:VVTRENR,"
                + "VVTPFRENR=:VVTPFRENR,"
                + "VVTME=:VVTME,"
                + "VVTANZSTK=:VVTANZSTK,"
                + "VVTMTR=:VVTMTR,"
                + "VVTKG=:VVTKG,"
                + "VVTQM=:VVTQM,"
                + "VVTRUECKANZSTK=:VVTRUECKANZSTK,"
                + "VVTRUECKMTR=:VVTRUECKMTR,"
                + "VVTRUECKKG=:VVTRUECKKG,"
                + "VVTRUECKQM=:VVTRUECKQM,"
                + "VVTANZVP=:VVTANZVP,"
                + "VVTLB1=:VVTLB1,"
                + "VVTLB2=:VVTLB2,"
                + "VVTLB3=:VVTLB3,"
                + "VVTLB4=:VVTLB4,"
                + "VVTLB5=:VVTLB5,"
                + "VVTLB6=:VVTLB6,"
                + "VVTZAHLBED=:VVTZAHLBED,"
                + "VVTVALUTA=:VVTVALUTA,"
                + "VVTVALDAT=:VVTVALDAT,"
                + "VVTEKON=:VVTEKON,"
                + "VVTLIEFBED=:VVTLIEFBED,"
                + "VVTLANDU=:VVTLANDU,"
                + "VVTPLZU=:VVTPLZU,"
                + "VVTORTU=:VVTORTU,"
                + "VVTBZU=:VVTBZU,"
                + "VVTBZBEZU=:VVTBZBEZU,"
                + "VVTCOUNTYU=:VVTCOUNTYU,"
                + "VVTCITYU=:VVTCITYU,"
                + "VVTVERSART=:VVTVERSART,"
                + "VVTVERPART=:VVTVERPART,"
                + "VVTLIEFSCHGRP=:VVTLIEFSCHGRP,"
                + "VVTSTKPA=:VVTSTKPA,"
                + "VVTSPED=:VVTSPED,"
                + "VVTPRKZ=:VVTPRKZ,"
                + "VVTDRKZ=:VVTDRKZ,"
                + "VVTDRDAT=:VVTDRDAT,"
                + "VVTAFOLGEV=:VVTAFOLGEV,"
                + "VVTVB=:VVTVB,"
                + "VVTORT=:VVTORT,"
                + "VVTBZ=:VVTBZ,"
                + "VVTBZBEZ=:VVTBZBEZ,"
                + "VVTCOUNTY=:VVTCOUNTY,"
                + "VVTCITY=:VVTCITY,"
                + "VVTREGRP=:VVTREGRP,"
                + "VVTKDVKL=:VVTKDVKL,"
                + "VVTANAME1=:VVTANAME1,"
                + "VVTANAME2=:VVTANAME2,"
                + "VVTASTRASSE1=:VVTASTRASSE1,"
                + "VVTASTRASSE2=:VVTASTRASSE2,"
                + "VVTALAND=:VVTALAND,"
                + "VVTAPLZ=:VVTAPLZ,"
                + "VVTAORT=:VVTAORT,"
                + "VVTABZ=:VVTABZ,"
                + "VVTABZBEZ=:VVTABZBEZ,"
                + "VVTACOUNTY=:VVTACOUNTY,"
                + "VVTACITY=:VVTACITY,"
                + "VVTKZVVERP=:VVTKZVVERP,"
                + "VVTPRIO=:VVTPRIO,"
                + "VVTKUNDLO=:VVTKUNDLO,"
                + "VVTKUNDLB=:VVTKUNDLB,"
                + "VVTKUNDLP=:VVTKUNDLP,"
                + "VVTKDBEZKZ=:VVTKDBEZKZ,"
                + "VVTREPOS=:VVTREPOS,"
                + "VVTVERS=:VVTVERS,"
                + "VVTPARTIE=:VVTPARTIE,"
                + "VVTPARTIEKZ=:VVTPARTIEKZ,"
                + "VVTRESTKZ=:VVTRESTKZ,"
                + "VVTFORT=:VVTFORT,"
                + "VVTKDAUFTNR=:VVTKDAUFTNR,"
                + "VVTKDAUFDAT=:VVTKDAUFDAT,"
                + "VVTPOSTYP=:VVTPOSTYP,"
                + "VVTKUNDNR=:VVTKUNDNR,"
                + "VVTWERK=:VVTWERK,"
                + "VVTABT=:VVTABT,"
                + "VVTWAKZ=:VVTWAKZ,"
                + "VVTART=:VVTART,"
                + "VVTVAR=:VVTVAR,"
                + "VVTFARBE=:VVTFARBE,"
                + "VVTDESS=:VVTDESS,"
                + "VVTCOL=:VVTCOL,"
                + "VVTBESCH=:VVTBESCH,"
                + "VVTGROE=:VVTGROE,"
                + "VVTAUFM=:VVTAUFM,"
                + "VVTSETKZ=:VVTSETKZ,"
                + "VVTLOHNKD=:VVTLOHNKD,"
                + "VVTKOLL=:VVTKOLL,"
                + "VVTSANZSTK=:VVTSANZSTK,"
                + "VVTROHMTR=:VVTROHMTR,"
                + "VVTBRUTTO=:VVTBRUTTO,"
                + "VVTNETTO=:VVTNETTO,"
                + "VVTVERDERB=:VVTVERDERB,"
                + "VVTFOLGEMTR=:VVTFOLGEMTR,"
                + "VVTSOLLTEIL=:VVTSOLLTEIL,"
                + "VVTGEBNR=:VVTGEBNR,"
                + "VVTPROGRP=:VVTPROGRP,"
                + "VVTPLFDAT=:VVTPLFDAT,"
                + "VVTFBENID=:VVTFBENID,"
                + "VVTFDAT=:VVTFDAT,"
                + "VVTFZEIT=:VVTFZEIT,"
                + "VVTVBDAT=:VVTVBDAT,"
                + "VVTLIEFTERM=:VVTLIEFTERM,"
                + "VVTEILAUS=:VVTEILAUS,"
                + "VVTFRNETTO=:VVTFRNETTO,"
                + "VVTHUELTYP=:VVTHUELTYP,"
                + "VVTHUELGEW=:VVTHUELGEW,"
                + "VVTSPULEN=:VVTSPULEN,"
                + "VVTNETKG=:VVTNETKG,"
                + "VVTFEUCHTEI=:VVTFEUCHTEI,"
                + "VVTFEUCHTES=:VVTFEUCHTES,"
                + "VVTHGEWABZ=:VVTHGEWABZ,"
                + "VVTANZPA=:VVTANZPA,"
                + "VVTTARA=:VVTTARA,"
                + "VVTBRTGEW=:VVTBRTGEW,"
                + "VVTPACKTYP=:VVTPACKTYP,"
                + "VVTKREDLIM=:VVTKREDLIM,"
                + "VVTSWING=:VVTSWING,"
                + "VVTRAITING=:VVTRAITING,"
                + "VVTVERSICH1=:VVTVERSICH1,"
                + "VVTVERSICH2=:VVTVERSICH2,"
                + "VVTVERSICH3=:VVTVERSICH3,"
                + "VVTVERSICH4=:VVTVERSICH4,"
                + "VVTVERSICH5=:VVTVERSICH5,"
                + "VVTVERSICH21=:VVTVERSICH21,"
                + "VVTVERSICH22=:VVTVERSICH22,"
                + "VVTVERSICH23=:VVTVERSICH23,"
                + "VVTVERSICH24=:VVTVERSICH24,"
                + "VVTVERSICH25=:VVTVERSICH25,"
                + "VVTKREDBIS=:VVTKREDBIS,"
                + "VVTKREDVON=:VVTKREDVON,"
                + "VVTLUEBKZ=:VVTLUEBKZ,"
                + "VVTFKNVS=:VVTFKNVS,"
                + "VVTFKSPTD=:VVTFKSPTD,"
                + "VVTFKSPRD=:VVTFKSPRD,"
                + "VVTROHGEW=:VVTROHGEW,"
                + "VVTFERGEW=:VVTFERGEW,"
                + "VVTZUSTAND=:VVTZUSTAND,"
                + "VVTARTGRP=:VVTARTGRP,"
                + "VVTARTABW=:VVTARTABW,"
                + "VVTAPOS=:VVTAPOS,"
                + "VVTAUFMSL=:VVTAUFMSL,"
                + "VVTZENSUR=:VVTZENSUR,"
                + "VVTPOSEXT=:VVTPOSEXT,"
                + "VVTKZZUTEI=:VVTKZZUTEI,"
                + "VVTAKKREDNR=:VVTAKKREDNR,"
                + "VVTFILLER1=:VVTFILLER1"
                + " WHERE  "
                + "  VVTMANDANT=:VVTMANDANT AND VVTLIEFSCH=:VVTLIEFSCH AND VVTLIEFSCHPOS=:VVTLIEFSCHPOS";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("VVTMANDANT", OracleType.NVarChar).Value = dwData["VVTMANDANT"].ToString();
            or1.Parameters.Add("VVTAUFTYP", OracleType.NVarChar).Value = dwData["VVTAUFTYP"].ToString();
            or1.Parameters.Add("VVTAUFKRS", OracleType.NVarChar).Value = dwData["VVTAUFKRS"].ToString();
            or1.Parameters.Add("VVTAUFLFD", OracleType.NVarChar).Value = dwData["VVTAUFLFD"].ToString();
            or1.Parameters.Add("VVTAUFPOS", OracleType.NVarChar).Value = dwData["VVTAUFPOS"].ToString();
            or1.Parameters.Add("VVTTEILNR", OracleType.NVarChar).Value = dwData["VVTTEILNR"].ToString();
            or1.Parameters.Add("VVTLOVON", OracleType.NVarChar).Value = dwData["VVTLOVON"].ToString();
            or1.Parameters.Add("VVTLOAN", OracleType.NVarChar).Value = dwData["VVTLOAN"].ToString();
            or1.Parameters.Add("VVTTEILNRAN", OracleType.NVarChar).Value = dwData["VVTTEILNRAN"].ToString();
            or1.Parameters.Add("VVTABHAENGIG", OracleType.NVarChar).Value = dwData["VVTABHAENGIG"].ToString();
            or1.Parameters.Add("VVTLOABH1", OracleType.NVarChar).Value = dwData["VVTLOABH1"].ToString();
            or1.Parameters.Add("VVTLOABH2", OracleType.NVarChar).Value = dwData["VVTLOABH2"].ToString();
            or1.Parameters.Add("VVTPRODST", OracleType.NVarChar).Value = dwData["VVTPRODST"].ToString();
            or1.Parameters.Add("VVTKZINLEXP", OracleType.NVarChar).Value = dwData["VVTKZINLEXP"].ToString();
            or1.Parameters.Add("VVTLAND", OracleType.NVarChar).Value = dwData["VVTLAND"].ToString();
            or1.Parameters.Add("VVTPLZ", OracleType.NVarChar).Value = dwData["VVTPLZ"].ToString();
            or1.Parameters.Add("VVTKUNDNRL", OracleType.NVarChar).Value = dwData["VVTKUNDNRL"].ToString();
            or1.Parameters.Add("VVTADRSLL", OracleType.NVarChar).Value = dwData["VVTADRSLL"].ToString();
            or1.Parameters.Add("VVTLIEFSCH", OracleType.NVarChar).Value = dwData["VVTLIEFSCH"].ToString();
            or1.Parameters.Add("VVTLIEFSCHPOS", OracleType.NVarChar).Value = dwData["VVTLIEFSCHPOS"].ToString();
            or1.Parameters.Add("VVTKUNDNRR", OracleType.NVarChar).Value = dwData["VVTKUNDNRR"].ToString();
            or1.Parameters.Add("VVTADRSLR", OracleType.NVarChar).Value = dwData["VVTADRSLR"].ToString();
            or1.Parameters.Add("VVTRENR", OracleType.NVarChar).Value = dwData["VVTRENR"].ToString();
            or1.Parameters.Add("VVTPFRENR", OracleType.NVarChar).Value = dwData["VVTPFRENR"].ToString();
            or1.Parameters.Add("VVTME", OracleType.NVarChar).Value = dwData["VVTME"].ToString();
            or1.Parameters.Add("VVTANZSTK", OracleType.NVarChar).Value = dwData["VVTANZSTK"].ToString();
            or1.Parameters.Add("VVTMTR", OracleType.NVarChar).Value = dwData["VVTMTR"].ToString();
            or1.Parameters.Add("VVTKG", OracleType.NVarChar).Value = dwData["VVTKG"].ToString();
            or1.Parameters.Add("VVTQM", OracleType.NVarChar).Value = dwData["VVTQM"].ToString();
            or1.Parameters.Add("VVTRUECKANZSTK", OracleType.NVarChar).Value = dwData["VVTRUECKANZSTK"].ToString();
            or1.Parameters.Add("VVTRUECKMTR", OracleType.NVarChar).Value = dwData["VVTRUECKMTR"].ToString();
            or1.Parameters.Add("VVTRUECKKG", OracleType.NVarChar).Value = dwData["VVTRUECKKG"].ToString();
            or1.Parameters.Add("VVTRUECKQM", OracleType.NVarChar).Value = dwData["VVTRUECKQM"].ToString();
            or1.Parameters.Add("VVTANZVP", OracleType.NVarChar).Value = dwData["VVTANZVP"].ToString();
            or1.Parameters.Add("VVTLB1", OracleType.NVarChar).Value = dwData["VVTLB1"].ToString();
            or1.Parameters.Add("VVTLB2", OracleType.NVarChar).Value = dwData["VVTLB2"].ToString();
            or1.Parameters.Add("VVTLB3", OracleType.NVarChar).Value = dwData["VVTLB3"].ToString();
            or1.Parameters.Add("VVTLB4", OracleType.NVarChar).Value = dwData["VVTLB4"].ToString();
            or1.Parameters.Add("VVTLB5", OracleType.NVarChar).Value = dwData["VVTLB5"].ToString();
            or1.Parameters.Add("VVTLB6", OracleType.NVarChar).Value = dwData["VVTLB6"].ToString();
            or1.Parameters.Add("VVTZAHLBED", OracleType.NVarChar).Value = dwData["VVTZAHLBED"].ToString();
            or1.Parameters.Add("VVTVALUTA", OracleType.NVarChar).Value = dwData["VVTVALUTA"].ToString();
            or1.Parameters.Add("VVTVALDAT", OracleType.NVarChar).Value = dwData["VVTVALDAT"].ToString();
            or1.Parameters.Add("VVTEKON", OracleType.NVarChar).Value = dwData["VVTEKON"].ToString();
            or1.Parameters.Add("VVTLIEFBED", OracleType.NVarChar).Value = dwData["VVTLIEFBED"].ToString();
            or1.Parameters.Add("VVTLANDU", OracleType.NVarChar).Value = dwData["VVTLANDU"].ToString();
            or1.Parameters.Add("VVTPLZU", OracleType.NVarChar).Value = dwData["VVTPLZU"].ToString();
            or1.Parameters.Add("VVTORTU", OracleType.NVarChar).Value = dwData["VVTORTU"].ToString();
            or1.Parameters.Add("VVTBZU", OracleType.NVarChar).Value = dwData["VVTBZU"].ToString();
            or1.Parameters.Add("VVTBZBEZU", OracleType.NVarChar).Value = dwData["VVTBZBEZU"].ToString();
            or1.Parameters.Add("VVTCOUNTYU", OracleType.NVarChar).Value = dwData["VVTCOUNTYU"].ToString();
            or1.Parameters.Add("VVTCITYU", OracleType.NVarChar).Value = dwData["VVTCITYU"].ToString();
            or1.Parameters.Add("VVTVERSART", OracleType.NVarChar).Value = dwData["VVTVERSART"].ToString();
            or1.Parameters.Add("VVTVERPART", OracleType.NVarChar).Value = dwData["VVTVERPART"].ToString();
            or1.Parameters.Add("VVTLIEFSCHGRP", OracleType.NVarChar).Value = dwData["VVTLIEFSCHGRP"].ToString();
            or1.Parameters.Add("VVTSTKPA", OracleType.NVarChar).Value = dwData["VVTSTKPA"].ToString();
            or1.Parameters.Add("VVTSPED", OracleType.NVarChar).Value = dwData["VVTSPED"].ToString();
            or1.Parameters.Add("VVTPRKZ", OracleType.NVarChar).Value = dwData["VVTPRKZ"].ToString();
            or1.Parameters.Add("VVTDRKZ", OracleType.NVarChar).Value = dwData["VVTDRKZ"].ToString();
            or1.Parameters.Add("VVTDRDAT", OracleType.NVarChar).Value = dwData["VVTDRDAT"].ToString();
            or1.Parameters.Add("VVTAFOLGEV", OracleType.NVarChar).Value = dwData["VVTAFOLGEV"].ToString();
            or1.Parameters.Add("VVTVB", OracleType.NVarChar).Value = dwData["VVTVB"].ToString();
            or1.Parameters.Add("VVTORT", OracleType.NVarChar).Value = dwData["VVTORT"].ToString();
            or1.Parameters.Add("VVTBZ", OracleType.NVarChar).Value = dwData["VVTBZ"].ToString();
            or1.Parameters.Add("VVTBZBEZ", OracleType.NVarChar).Value = dwData["VVTBZBEZ"].ToString();
            or1.Parameters.Add("VVTCOUNTY", OracleType.NVarChar).Value = dwData["VVTCOUNTY"].ToString();
            or1.Parameters.Add("VVTCITY", OracleType.NVarChar).Value = dwData["VVTCITY"].ToString();
            or1.Parameters.Add("VVTREGRP", OracleType.NVarChar).Value = dwData["VVTREGRP"].ToString();
            or1.Parameters.Add("VVTKDVKL", OracleType.NVarChar).Value = dwData["VVTKDVKL"].ToString();
            or1.Parameters.Add("VVTANAME1", OracleType.NVarChar).Value = dwData["VVTANAME1"].ToString();
            or1.Parameters.Add("VVTANAME2", OracleType.NVarChar).Value = dwData["VVTANAME2"].ToString();
            or1.Parameters.Add("VVTASTRASSE1", OracleType.NVarChar).Value = dwData["VVTASTRASSE1"].ToString();
            or1.Parameters.Add("VVTASTRASSE2", OracleType.NVarChar).Value = dwData["VVTASTRASSE2"].ToString();
            or1.Parameters.Add("VVTALAND", OracleType.NVarChar).Value = dwData["VVTALAND"].ToString();
            or1.Parameters.Add("VVTAPLZ", OracleType.NVarChar).Value = dwData["VVTAPLZ"].ToString();
            or1.Parameters.Add("VVTAORT", OracleType.NVarChar).Value = dwData["VVTAORT"].ToString();
            or1.Parameters.Add("VVTABZ", OracleType.NVarChar).Value = dwData["VVTABZ"].ToString();
            or1.Parameters.Add("VVTABZBEZ", OracleType.NVarChar).Value = dwData["VVTABZBEZ"].ToString();
            or1.Parameters.Add("VVTACOUNTY", OracleType.NVarChar).Value = dwData["VVTACOUNTY"].ToString();
            or1.Parameters.Add("VVTACITY", OracleType.NVarChar).Value = dwData["VVTACITY"].ToString();
            or1.Parameters.Add("VVTKZVVERP", OracleType.NVarChar).Value = dwData["VVTKZVVERP"].ToString();
            or1.Parameters.Add("VVTPRIO", OracleType.NVarChar).Value = dwData["VVTPRIO"].ToString();
            or1.Parameters.Add("VVTKUNDLO", OracleType.NVarChar).Value = dwData["VVTKUNDLO"].ToString();
            or1.Parameters.Add("VVTKUNDLB", OracleType.NVarChar).Value = dwData["VVTKUNDLB"].ToString();
            or1.Parameters.Add("VVTKUNDLP", OracleType.NVarChar).Value = dwData["VVTKUNDLP"].ToString();
            or1.Parameters.Add("VVTKDBEZKZ", OracleType.NVarChar).Value = dwData["VVTKDBEZKZ"].ToString();
            or1.Parameters.Add("VVTREPOS", OracleType.NVarChar).Value = dwData["VVTREPOS"].ToString();
            or1.Parameters.Add("VVTVERS", OracleType.NVarChar).Value = dwData["VVTVERS"].ToString();
            or1.Parameters.Add("VVTPARTIE", OracleType.NVarChar).Value = dwData["VVTPARTIE"].ToString();
            or1.Parameters.Add("VVTPARTIEKZ", OracleType.NVarChar).Value = dwData["VVTPARTIEKZ"].ToString();
            or1.Parameters.Add("VVTRESTKZ", OracleType.NVarChar).Value = dwData["VVTRESTKZ"].ToString();
            or1.Parameters.Add("VVTFORT", OracleType.NVarChar).Value = dwData["VVTFORT"].ToString();
            or1.Parameters.Add("VVTKDAUFTNR", OracleType.NVarChar).Value = dwData["VVTKDAUFTNR"].ToString();
            or1.Parameters.Add("VVTKDAUFDAT", OracleType.NVarChar).Value = dwData["VVTKDAUFDAT"].ToString();
            or1.Parameters.Add("VVTPOSTYP", OracleType.NVarChar).Value = dwData["VVTPOSTYP"].ToString();
            or1.Parameters.Add("VVTKUNDNR", OracleType.NVarChar).Value = dwData["VVTKUNDNR"].ToString();
            or1.Parameters.Add("VVTWERK", OracleType.NVarChar).Value = dwData["VVTWERK"].ToString();
            or1.Parameters.Add("VVTABT", OracleType.NVarChar).Value = dwData["VVTABT"].ToString();
            or1.Parameters.Add("VVTWAKZ", OracleType.NVarChar).Value = dwData["VVTWAKZ"].ToString();
            or1.Parameters.Add("VVTART", OracleType.NVarChar).Value = dwData["VVTART"].ToString();
            or1.Parameters.Add("VVTVAR", OracleType.NVarChar).Value = dwData["VVTVAR"].ToString();
            or1.Parameters.Add("VVTFARBE", OracleType.NVarChar).Value = dwData["VVTFARBE"].ToString();
            or1.Parameters.Add("VVTDESS", OracleType.NVarChar).Value = dwData["VVTDESS"].ToString();
            or1.Parameters.Add("VVTCOL", OracleType.NVarChar).Value = dwData["VVTCOL"].ToString();
            or1.Parameters.Add("VVTBESCH", OracleType.NVarChar).Value = dwData["VVTBESCH"].ToString();
            or1.Parameters.Add("VVTGROE", OracleType.NVarChar).Value = dwData["VVTGROE"].ToString();
            or1.Parameters.Add("VVTAUFM", OracleType.NVarChar).Value = dwData["VVTAUFM"].ToString();
            or1.Parameters.Add("VVTSETKZ", OracleType.NVarChar).Value = dwData["VVTSETKZ"].ToString();
            or1.Parameters.Add("VVTLOHNKD", OracleType.NVarChar).Value = dwData["VVTLOHNKD"].ToString();
            or1.Parameters.Add("VVTKOLL", OracleType.NVarChar).Value = dwData["VVTKOLL"].ToString();
            or1.Parameters.Add("VVTSANZSTK", OracleType.NVarChar).Value = dwData["VVTSANZSTK"].ToString();
            or1.Parameters.Add("VVTROHMTR", OracleType.NVarChar).Value = dwData["VVTROHMTR"].ToString();
            or1.Parameters.Add("VVTBRUTTO", OracleType.NVarChar).Value = dwData["VVTBRUTTO"].ToString();
            or1.Parameters.Add("VVTNETTO", OracleType.NVarChar).Value = dwData["VVTNETTO"].ToString();
            or1.Parameters.Add("VVTVERDERB", OracleType.NVarChar).Value = dwData["VVTVERDERB"].ToString();
            or1.Parameters.Add("VVTFOLGEMTR", OracleType.NVarChar).Value = dwData["VVTFOLGEMTR"].ToString();
            or1.Parameters.Add("VVTSOLLTEIL", OracleType.NVarChar).Value = dwData["VVTSOLLTEIL"].ToString();
            or1.Parameters.Add("VVTGEBNR", OracleType.NVarChar).Value = dwData["VVTGEBNR"].ToString();
            or1.Parameters.Add("VVTPROGRP", OracleType.NVarChar).Value = dwData["VVTPROGRP"].ToString();
            or1.Parameters.Add("VVTPLFDAT", OracleType.NVarChar).Value = dwData["VVTPLFDAT"].ToString();
            or1.Parameters.Add("VVTFBENID", OracleType.NVarChar).Value = dwData["VVTFBENID"].ToString();
            or1.Parameters.Add("VVTFDAT", OracleType.NVarChar).Value = dwData["VVTFDAT"].ToString();
            or1.Parameters.Add("VVTFZEIT", OracleType.NVarChar).Value = dwData["VVTFZEIT"].ToString();
            or1.Parameters.Add("VVTVBDAT", OracleType.NVarChar).Value = dwData["VVTVBDAT"].ToString();
            or1.Parameters.Add("VVTLIEFTERM", OracleType.NVarChar).Value = dwData["VVTLIEFTERM"].ToString();
            or1.Parameters.Add("VVTEILAUS", OracleType.NVarChar).Value = dwData["VVTEILAUS"].ToString();
            or1.Parameters.Add("VVTFRNETTO", OracleType.NVarChar).Value = dwData["VVTFRNETTO"].ToString();
            or1.Parameters.Add("VVTHUELTYP", OracleType.NVarChar).Value = dwData["VVTHUELTYP"].ToString();
            or1.Parameters.Add("VVTHUELGEW", OracleType.NVarChar).Value = dwData["VVTHUELGEW"].ToString();
            or1.Parameters.Add("VVTSPULEN", OracleType.NVarChar).Value = dwData["VVTSPULEN"].ToString();
            or1.Parameters.Add("VVTNETKG", OracleType.NVarChar).Value = dwData["VVTNETKG"].ToString();
            or1.Parameters.Add("VVTFEUCHTEI", OracleType.NVarChar).Value = dwData["VVTFEUCHTEI"].ToString();
            or1.Parameters.Add("VVTFEUCHTES", OracleType.NVarChar).Value = dwData["VVTFEUCHTES"].ToString();
            or1.Parameters.Add("VVTHGEWABZ", OracleType.NVarChar).Value = dwData["VVTHGEWABZ"].ToString();
            or1.Parameters.Add("VVTANZPA", OracleType.NVarChar).Value = dwData["VVTANZPA"].ToString();
            or1.Parameters.Add("VVTTARA", OracleType.NVarChar).Value = dwData["VVTTARA"].ToString();
            or1.Parameters.Add("VVTBRTGEW", OracleType.NVarChar).Value = dwData["VVTBRTGEW"].ToString();
            or1.Parameters.Add("VVTPACKTYP", OracleType.NVarChar).Value = dwData["VVTPACKTYP"].ToString();
            or1.Parameters.Add("VVTKREDLIM", OracleType.NVarChar).Value = dwData["VVTKREDLIM"].ToString();
            or1.Parameters.Add("VVTSWING", OracleType.NVarChar).Value = dwData["VVTSWING"].ToString();
            or1.Parameters.Add("VVTRAITING", OracleType.NVarChar).Value = dwData["VVTRAITING"].ToString();
            or1.Parameters.Add("VVTVERSICH1", OracleType.NVarChar).Value = dwData["VVTVERSICH1"].ToString();
            or1.Parameters.Add("VVTVERSICH2", OracleType.NVarChar).Value = dwData["VVTVERSICH2"].ToString();
            or1.Parameters.Add("VVTVERSICH3", OracleType.NVarChar).Value = dwData["VVTVERSICH3"].ToString();
            or1.Parameters.Add("VVTVERSICH4", OracleType.NVarChar).Value = dwData["VVTVERSICH4"].ToString();
            or1.Parameters.Add("VVTVERSICH5", OracleType.NVarChar).Value = dwData["VVTVERSICH5"].ToString();
            or1.Parameters.Add("VVTVERSICH21", OracleType.NVarChar).Value = dwData["VVTVERSICH21"].ToString();
            or1.Parameters.Add("VVTVERSICH22", OracleType.NVarChar).Value = dwData["VVTVERSICH22"].ToString();
            or1.Parameters.Add("VVTVERSICH23", OracleType.NVarChar).Value = dwData["VVTVERSICH23"].ToString();
            or1.Parameters.Add("VVTVERSICH24", OracleType.NVarChar).Value = dwData["VVTVERSICH24"].ToString();
            or1.Parameters.Add("VVTVERSICH25", OracleType.NVarChar).Value = dwData["VVTVERSICH25"].ToString();
            or1.Parameters.Add("VVTKREDBIS", OracleType.NVarChar).Value = dwData["VVTKREDBIS"].ToString();
            or1.Parameters.Add("VVTKREDVON", OracleType.NVarChar).Value = dwData["VVTKREDVON"].ToString();
            or1.Parameters.Add("VVTLUEBKZ", OracleType.NVarChar).Value = dwData["VVTLUEBKZ"].ToString();
            or1.Parameters.Add("VVTFKNVS", OracleType.NVarChar).Value = dwData["VVTFKNVS"].ToString();
            or1.Parameters.Add("VVTFKSPTD", OracleType.NVarChar).Value = dwData["VVTFKSPTD"].ToString();
            or1.Parameters.Add("VVTFKSPRD", OracleType.NVarChar).Value = dwData["VVTFKSPRD"].ToString();
            or1.Parameters.Add("VVTROHGEW", OracleType.NVarChar).Value = dwData["VVTROHGEW"].ToString();
            or1.Parameters.Add("VVTFERGEW", OracleType.NVarChar).Value = dwData["VVTFERGEW"].ToString();
            or1.Parameters.Add("VVTZUSTAND", OracleType.NVarChar).Value = dwData["VVTZUSTAND"].ToString();
            or1.Parameters.Add("VVTARTGRP", OracleType.NVarChar).Value = dwData["VVTARTGRP"].ToString();
            or1.Parameters.Add("VVTARTABW", OracleType.NVarChar).Value = dwData["VVTARTABW"].ToString();
            or1.Parameters.Add("VVTAPOS", OracleType.NVarChar).Value = dwData["VVTAPOS"].ToString();
            or1.Parameters.Add("VVTAUFMSL", OracleType.NVarChar).Value = dwData["VVTAUFMSL"].ToString();
            or1.Parameters.Add("VVTZENSUR", OracleType.NVarChar).Value = dwData["VVTZENSUR"].ToString();
            or1.Parameters.Add("VVTPOSEXT", OracleType.NVarChar).Value = dwData["VVTPOSEXT"].ToString();
            or1.Parameters.Add("VVTKZZUTEI", OracleType.NVarChar).Value = dwData["VVTKZZUTEI"].ToString();
            or1.Parameters.Add("VVTAKKREDNR", OracleType.NVarChar).Value = dwData["VVTAKKREDNR"].ToString();
            or1.Parameters.Add("VVTFILLER1", OracleType.NVarChar).Value = dwData["VVTFILLER1"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateVVPACK(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = "UPDATE VVPACK SET "
                + "VVPMANDANT=:VVPMANDANT,"
                + "VVPLIEFSCH=:VVPLIEFSCH,"
                + "VVPPACKNR=:VVPPACKNR,"
                + "VVPAENDZL=:VVPAENDZL,"
                + "VVPAENDBEN=:VVPAENDBEN,"
                + "VVPAENDDAT=:VVPAENDDAT,"
                + "VVPUEBLIEFSCH=:VVPUEBLIEFSCH,"
                + "VVPINPACKNR=:VVPINPACKNR,"
                + "VVPPADNR=:VVPPADNR,"
                + "VVPPACKTYP=:VVPPACKTYP,"
                + "VVPBRUTTO=:VVPBRUTTO,"
                + "VVPNETTO=:VVPNETTO,"
                + "VVPTARA=:VVPTARA,"
                + "VVPWERT=:VVPWERT,"
                + "VVPFRACHTBE=:VVPFRACHTBE,"
                + "VVPZUSCHLAG=:VVPZUSCHLAG,"
                + "VVPFRNETTO=:VVPFRNETTO,"
                + "VVPNEBENKO=:VVPNEBENKO,"
                + "VVPWAEHRSLN=:VVPWAEHRSLN,"
                + "VVPLIEFNR=:VVPLIEFNR,"
                + "VVPRENR=:VVPRENR,"
                + "VVPREPOS=:VVPREPOS,"
                + "VVPREDAT=:VVPREDAT,"
                + "VVPTPMA=:VVPTPMA,"
                + "VVPTPMNR=:VVPTPMNR,"
                + "VVPPORTO=:VVPPORTO,"
                + "VVPRAUFKRS=:VVPRAUFKRS,"
                + "VVPRAUFLFD=:VVPRAUFLFD,"
                + "VVPRAUFPOS=:VVPRAUFPOS,"
                + "VVPTEILNR=:VVPTEILNR,"
                + "VVPVOLUMEN=:VVPVOLUMEN,"
                + "VVPLAENGE=:VVPLAENGE,"
                + "VVPBREITE=:VVPBREITE,"
                + "VVPHOEHE=:VVPHOEHE,"
                + "VVPKZMANUELL=:VVPKZMANUELL,"
                + "VVPHUELGEW=:VVPHUELGEW,"
                + "VVPHANGEW=:VVPHANGEW,"
                + "VVPSPULEN=:VVPSPULEN,"
                + "VVPPKDNR=:VVPPKDNR,"
                + "VVPGEWGEW=:VVPGEWGEW,"
                + "VVPENDE=:VVPENDE,"
                + "VVPSHIPM=:VVPSHIPM,"
                + "VVPAUTOPN=:VVPAUTOPN,"
                + "VVPSERVICE=:VVPSERVICE,"
                + "VVPOHNEBST=:VVPOHNEBST,"
                + "VVPRAMPE=:VVPRAMPE,"
                + "VVPFILLER=:VVPFILLER"
                + " WHERE  "
                + "  VVTMANDANT=:VVTMANDANT AND VVTLIEFSCH=:VVTLIEFSCH AND VVTLIEFSCHPOS=:VVTLIEFSCHPOS";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("VVPMANDANT", OracleType.NVarChar).Value = dwData["VVPMANDANT"].ToString();
            or1.Parameters.Add("VVPLIEFSCH", OracleType.NVarChar).Value = dwData["VVPLIEFSCH"].ToString();
            or1.Parameters.Add("VVPPACKNR", OracleType.NVarChar).Value = dwData["VVPPACKNR"].ToString();
            or1.Parameters.Add("VVPAENDZL", OracleType.NVarChar).Value = dwData["VVPAENDZL"].ToString();
            or1.Parameters.Add("VVPAENDBEN", OracleType.NVarChar).Value = dwData["VVPAENDBEN"].ToString();
            or1.Parameters.Add("VVPAENDDAT", OracleType.NVarChar).Value = dwData["VVPAENDDAT"].ToString();
            or1.Parameters.Add("VVPUEBLIEFSCH", OracleType.NVarChar).Value = dwData["VVPUEBLIEFSCH"].ToString();
            or1.Parameters.Add("VVPINPACKNR", OracleType.NVarChar).Value = dwData["VVPINPACKNR"].ToString();
            or1.Parameters.Add("VVPPADNR", OracleType.NVarChar).Value = dwData["VVPPADNR"].ToString();
            or1.Parameters.Add("VVPPACKTYP", OracleType.NVarChar).Value = dwData["VVPPACKTYP"].ToString();
            or1.Parameters.Add("VVPBRUTTO", OracleType.NVarChar).Value = dwData["VVPBRUTTO"].ToString();
            or1.Parameters.Add("VVPNETTO", OracleType.NVarChar).Value = dwData["VVPNETTO"].ToString();
            or1.Parameters.Add("VVPTARA", OracleType.NVarChar).Value = dwData["VVPTARA"].ToString();
            or1.Parameters.Add("VVPWERT", OracleType.NVarChar).Value = dwData["VVPWERT"].ToString();
            or1.Parameters.Add("VVPFRACHTBE", OracleType.NVarChar).Value = dwData["VVPFRACHTBE"].ToString();
            or1.Parameters.Add("VVPZUSCHLAG", OracleType.NVarChar).Value = dwData["VVPZUSCHLAG"].ToString();
            or1.Parameters.Add("VVPFRNETTO", OracleType.NVarChar).Value = dwData["VVPFRNETTO"].ToString();
            or1.Parameters.Add("VVPNEBENKO", OracleType.NVarChar).Value = dwData["VVPNEBENKO"].ToString();
            or1.Parameters.Add("VVPWAEHRSLN", OracleType.NVarChar).Value = dwData["VVPWAEHRSLN"].ToString();
            or1.Parameters.Add("VVPLIEFNR", OracleType.NVarChar).Value = dwData["VVPLIEFNR"].ToString();
            or1.Parameters.Add("VVPRENR", OracleType.NVarChar).Value = dwData["VVPRENR"].ToString();
            or1.Parameters.Add("VVPREPOS", OracleType.NVarChar).Value = dwData["VVPREPOS"].ToString();
            or1.Parameters.Add("VVPREDAT", OracleType.NVarChar).Value = dwData["VVPREDAT"].ToString();
            or1.Parameters.Add("VVPTPMA", OracleType.NVarChar).Value = dwData["VVPTPMA"].ToString();
            or1.Parameters.Add("VVPTPMNR", OracleType.NVarChar).Value = dwData["VVPTPMNR"].ToString();
            or1.Parameters.Add("VVPPORTO", OracleType.NVarChar).Value = dwData["VVPPORTO"].ToString();
            or1.Parameters.Add("VVPRAUFKRS", OracleType.NVarChar).Value = dwData["VVPRAUFKRS"].ToString();
            or1.Parameters.Add("VVPRAUFLFD", OracleType.NVarChar).Value = dwData["VVPRAUFLFD"].ToString();
            or1.Parameters.Add("VVPRAUFPOS", OracleType.NVarChar).Value = dwData["VVPRAUFPOS"].ToString();
            or1.Parameters.Add("VVPTEILNR", OracleType.NVarChar).Value = dwData["VVPTEILNR"].ToString();
            or1.Parameters.Add("VVPVOLUMEN", OracleType.NVarChar).Value = dwData["VVPVOLUMEN"].ToString();
            or1.Parameters.Add("VVPLAENGE", OracleType.NVarChar).Value = dwData["VVPLAENGE"].ToString();
            or1.Parameters.Add("VVPBREITE", OracleType.NVarChar).Value = dwData["VVPBREITE"].ToString();
            or1.Parameters.Add("VVPHOEHE", OracleType.NVarChar).Value = dwData["VVPHOEHE"].ToString();
            or1.Parameters.Add("VVPKZMANUELL", OracleType.NVarChar).Value = dwData["VVPKZMANUELL"].ToString();
            or1.Parameters.Add("VVPHUELGEW", OracleType.NVarChar).Value = dwData["VVPHUELGEW"].ToString();
            or1.Parameters.Add("VVPHANGEW", OracleType.NVarChar).Value = dwData["VVPHANGEW"].ToString();
            or1.Parameters.Add("VVPSPULEN", OracleType.NVarChar).Value = dwData["VVPSPULEN"].ToString();
            or1.Parameters.Add("VVPPKDNR", OracleType.NVarChar).Value = dwData["VVPPKDNR"].ToString();
            or1.Parameters.Add("VVPGEWGEW", OracleType.NVarChar).Value = dwData["VVPGEWGEW"].ToString();
            or1.Parameters.Add("VVPENDE", OracleType.NVarChar).Value = dwData["VVPENDE"].ToString();
            or1.Parameters.Add("VVPSHIPM", OracleType.NVarChar).Value = dwData["VVPSHIPM"].ToString();
            or1.Parameters.Add("VVPAUTOPN", OracleType.NVarChar).Value = dwData["VVPAUTOPN"].ToString();
            or1.Parameters.Add("VVPSERVICE", OracleType.NVarChar).Value = dwData["VVPSERVICE"].ToString();
            or1.Parameters.Add("VVPOHNEBST", OracleType.NVarChar).Value = dwData["VVPOHNEBST"].ToString();
            or1.Parameters.Add("VVPRAMPE", OracleType.NVarChar).Value = dwData["VVPRAMPE"].ToString();
            or1.Parameters.Add("VVPFILLER", OracleType.NVarChar).Value = dwData["VVPFILLER"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        #endregion
        #region======X==============
        public void UpdateICC_XDECK(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = " UPDATE ICC_XDECK SET "
                + "CONTROL=:CONTROL,"
                 + "FART=:FART,"
                + "FVAR=:FVAR,"
                + "FCOLOR=:FCOLOR,"
                + "FASIZE=:FASIZE,"
                + "TQTY=:TQTY,"
                + "MTYPE=:MTYPE,"
                + "ENDDATE=:ENDDATE,"
                + "ART=:ART,"
                + "VAR=:VAR,"
                + "COLOR=:COLOR,"
                + "ASIZE=:ASIZE,"
                + "UM=:UM,"
                + "CDES=:CDES,"
                + "ARTDES=:ARTDES,"
                + "QTYSTD=:QTYSTD,"
                + "QTYPLAN=:QTYPLAN,"
                + "QTYACT=:QTYACT,"
                + "PRSTD=:PRSTD,"
                + "PREK=:PREK,"
                + "PRPLAN=:PRPLAN,"
                + "VQTYSTDPRSTD=:VQTYSTDPRSTD,"
                + "VQTYSTDPREK=:VQTYSTDPREK,"
                + "VQTYSTDPRPLAN=:VQTYSTDPRPLAN,"
                + "VQTYPLANPRSTD=:VQTYPLANPRSTD,"
                + "VQTYPLANPREK=:VQTYPLANPREK,"
                + "VQTYPLANPRPLAN=:VQTYPLANPRPLAN,"
                + "VQTYACTPRSTD=:VQTYACTPRSTD,"
                + "VQTYACTPREK=:VQTYACTPREK,"
                + "VQTYACTPRPLAN=:VQTYACTPRPLAN,"
                + "REQ=:REQ,"
                + "SELLER=:SELLER,"
                + "SELLERNAME=:SELLERNAME,"
                + "EKPAUF=:EKPAUF,"
                + "REMARK=:REMARK"
                + " WHERE  "
                + "  MANDANT=:MANDANT AND KRS=:KRS AND LFD=:LFD AND POS=:POS AND UPOS=:UPOS AND MTYPE=:MTYPE";
            #endregion

            #region====Parameters====

            or1.Parameters.Add("MANDANT", OracleType.NVarChar).Value = dwData["MANDANT"].ToString();
            or1.Parameters.Add("CONTROL", OracleType.NVarChar).Value = dwData["CONTROL"].ToString();
            or1.Parameters.Add("FART", OracleType.NVarChar).Value = dwData["FART"].ToString();
            or1.Parameters.Add("FVAR", OracleType.NVarChar).Value = dwData["FVAR"].ToString();
            or1.Parameters.Add("FCOLOR", OracleType.NVarChar).Value = dwData["FCOLOR"].ToString();
            or1.Parameters.Add("FASIZE", OracleType.NVarChar).Value = dwData["FASIZE"].ToString();
            or1.Parameters.Add("KRS", OracleType.NVarChar).Value = dwData["KRS"].ToString();
            or1.Parameters.Add("LFD", OracleType.NVarChar).Value = dwData["LFD"].ToString();
            or1.Parameters.Add("POS", OracleType.NVarChar).Value = dwData["POS"].ToString();
            or1.Parameters.Add("TQTY", OracleType.NVarChar).Value = dwData["TQTY"].ToString();
            or1.Parameters.Add("UPOS", OracleType.NVarChar).Value = dwData["UPOS"].ToString();
            or1.Parameters.Add("MTYPE", OracleType.NVarChar).Value = dwData["MTYPE"].ToString();
            or1.Parameters.Add("ENDDATE", OracleType.NVarChar).Value = dwData["ENDDATE"].ToString();
            or1.Parameters.Add("ART", OracleType.NVarChar).Value = dwData["ART"].ToString();
            or1.Parameters.Add("VAR", OracleType.NVarChar).Value = dwData["VAR"].ToString();
            or1.Parameters.Add("COLOR", OracleType.NVarChar).Value = dwData["COLOR"].ToString();
            or1.Parameters.Add("ASIZE", OracleType.NVarChar).Value = dwData["ASIZE"].ToString();
            or1.Parameters.Add("UM", OracleType.NVarChar).Value = dwData["UM"].ToString();
            or1.Parameters.Add("CDES", OracleType.NVarChar).Value = dwData["CDES"].ToString();
            or1.Parameters.Add("ARTDES", OracleType.NVarChar).Value = dwData["ARTDES"].ToString();
            or1.Parameters.Add("QTYSTD", OracleType.NVarChar).Value = dwData["QTYSTD"].ToString();
            or1.Parameters.Add("QTYPLAN", OracleType.NVarChar).Value = dwData["QTYPLAN"].ToString();
            or1.Parameters.Add("QTYACT", OracleType.NVarChar).Value = dwData["QTYACT"].ToString();
            or1.Parameters.Add("PRSTD", OracleType.NVarChar).Value = dwData["PRSTD"].ToString();
            or1.Parameters.Add("PREK", OracleType.NVarChar).Value = dwData["PREK"].ToString();
            or1.Parameters.Add("PRPLAN", OracleType.NVarChar).Value = dwData["PRPLAN"].ToString();
            or1.Parameters.Add("VQTYSTDPRSTD", OracleType.NVarChar).Value = dwData["VQTYSTDPRSTD"].ToString();
            or1.Parameters.Add("VQTYSTDPREK", OracleType.NVarChar).Value = dwData["VQTYSTDPREK"].ToString();
            or1.Parameters.Add("VQTYSTDPRPLAN", OracleType.NVarChar).Value = dwData["VQTYSTDPRPLAN"].ToString();
            or1.Parameters.Add("VQTYPLANPRSTD", OracleType.NVarChar).Value = dwData["VQTYPLANPRSTD"].ToString();
            or1.Parameters.Add("VQTYPLANPREK", OracleType.NVarChar).Value = dwData["VQTYPLANPREK"].ToString();
            or1.Parameters.Add("VQTYPLANPRPLAN", OracleType.NVarChar).Value = dwData["VQTYPLANPRPLAN"].ToString();
            or1.Parameters.Add("VQTYACTPRSTD", OracleType.NVarChar).Value = dwData["VQTYACTPRSTD"].ToString();
            or1.Parameters.Add("VQTYACTPREK", OracleType.NVarChar).Value = dwData["VQTYACTPREK"].ToString();
            or1.Parameters.Add("VQTYACTPRPLAN", OracleType.NVarChar).Value = dwData["VQTYACTPRPLAN"].ToString();
            or1.Parameters.Add("REQ", OracleType.NVarChar).Value = dwData["REQ"].ToString();
            or1.Parameters.Add("SELLER", OracleType.NVarChar).Value = dwData["SELLER"].ToString();
            or1.Parameters.Add("SELLERNAME", OracleType.NVarChar).Value = dwData["SELLERNAME"].ToString();
            or1.Parameters.Add("REMARK", OracleType.NVarChar).Value = dwData["REMARK"].ToString();
            or1.Parameters.Add("EKPAUF", OracleType.NVarChar).Value = dwData["EKPAUF"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        #endregion
        #region===ICC============
        //ICC_FOLDERS;ICC_MENUDEF; ICC_FUNCTIONS
        public void UpdateICC_FOLDERS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = " UPDATE ICC_FOLDERS SET "
                + "COMPANY=:COMPANY, "
                + "ROOT=:ROOT, "
                + "SUB=:SUB  "
                + " WHERE  "
                + "  MANDANT=:MANDANT AND ROWNID=:ROWNID";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("MANDANT", OracleType.NVarChar).Value = dwData["MANDANT"].ToString();
            or1.Parameters.Add("ROWNID", OracleType.NVarChar).Value = dwData["ROWNID"].ToString();
            or1.Parameters.Add("COMPANY", OracleType.NVarChar).Value = dwData["COMPANY"].ToString();
            or1.Parameters.Add("ROOT", OracleType.NVarChar).Value = dwData["ROOT"].ToString();
            or1.Parameters.Add("SUB", OracleType.NVarChar).Value = dwData["SUB"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateICC_MENUDEF(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = " UPDATE ICC_MENUDEF SET "
+ "COMPANY=:COMPANY,"
+ "USERID=:USERID,"
+ "PROCESS=:PROCESS,"
+ "MENUITEM=:MENUITEM,"
+ "MENUID=:MENUID,"
+ "FATHER=:FATHER,"
+ "HEADER=:HEADER,"
+ "TAG=:TAG,"
+ "ICON=:ICON,"
+ "LARGEICON=:LARGEICON,"
+ "JOB=:JOB,"
+ "TIMER=:TIMER,"
+ "SCHEDULETYPE=:SCHEDULETYPE,"
+ "FREQUENCY=:FREQUENCY,"
+ "TIME=:TIME "
                + " WHERE  "
                + "  MANDANT=:MANDANT AND ROWNID=:ROWNID";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("MANDANT", OracleType.NVarChar).Value = dwData["MANDANT"].ToString();
            or1.Parameters.Add("ROWNID", OracleType.NVarChar).Value = dwData["ROWNID"].ToString();
            or1.Parameters.Add("COMPANY", OracleType.NVarChar).Value = dwData["COMPANY"].ToString();
            or1.Parameters.Add("USERID", OracleType.NVarChar).Value = dwData["USERID"].ToString();
            or1.Parameters.Add("PROCESS", OracleType.NVarChar).Value = dwData["PROCESS"].ToString();
            or1.Parameters.Add("MENUITEM", OracleType.NVarChar).Value = dwData["MENUITEM"].ToString();
            or1.Parameters.Add("MENUID", OracleType.NVarChar).Value = dwData["MENUID"].ToString();
            or1.Parameters.Add("FATHER", OracleType.NVarChar).Value = dwData["FATHER"].ToString();
            or1.Parameters.Add("HEADER", OracleType.NVarChar).Value = dwData["HEADER"].ToString();
            or1.Parameters.Add("TAG", OracleType.NVarChar).Value = dwData["TAG"].ToString();
            or1.Parameters.Add("ICON", OracleType.NVarChar).Value = dwData["ICON"].ToString();
            or1.Parameters.Add("LARGEICON", OracleType.NVarChar).Value = dwData["LARGEICON"].ToString();
            or1.Parameters.Add("JOB", OracleType.NVarChar).Value = dwData["JOB"].ToString();
            or1.Parameters.Add("TIMER", OracleType.NVarChar).Value = dwData["TIMER"].ToString();
            or1.Parameters.Add("SCHEDULETYPE", OracleType.NVarChar).Value = dwData["SCHEDULETYPE"].ToString();
            or1.Parameters.Add("FREQUENCY", OracleType.NVarChar).Value = dwData["FREQUENCY"].ToString();
            or1.Parameters.Add("TIME", OracleType.NVarChar).Value = dwData["TIME"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        public void UpdateICC_FUNCTIONS(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();

            #region====Command====
            or1.CommandText = " UPDATE ICC_FUNCTIONS SET "
                + "TYPE=:TYPE,"
                + "NAMESPACE=:NAMESPACE,"
                + "FULLNAME=:FULLNAME,"
                + "FILENAME=:FILENAME,"
        + "DESCRIPTION=:DESCRIPTION"
                + " WHERE  "
                + "  MANDANT=:MANDANT AND ROWNID=:ROWNID ";
            #endregion

            #region====Parameters====
            or1.Parameters.Add("MANDANT", OracleType.NVarChar).Value = dwData["MANDANT"].ToString();
            or1.Parameters.Add("ROWNID", OracleType.NVarChar).Value = dwData["ROWNID"].ToString();
            or1.Parameters.Add("TYPE", OracleType.NVarChar).Value = dwData["TYPE"].ToString();
            or1.Parameters.Add("NAMESPACE", OracleType.NVarChar).Value = dwData["NAMESPACE"].ToString();
            or1.Parameters.Add("FULLNAME", OracleType.NVarChar).Value = dwData["FULLNAME"].ToString();
            or1.Parameters.Add("FILENAME", OracleType.NVarChar).Value = dwData["FILENAME"].ToString();
            or1.Parameters.Add("DESCRIPTION", OracleType.NVarChar).Value = dwData["DESCRIPTION"].ToString();
            #endregion

            Connect2Proxy(or1);
        }
        #endregion

    }
}

